You are not logged in.
Pages: 1
I noticed that the counter for 301 redirects was not incrementing whenever a redirected URL was hit.
There's a bug in the BigTreeCMS class file (these files really should have revision numbers in them), line 1061, which currently reads
sqlquery("UPDATE bigtree_404s SET requests = (requests + 1) WHERE = '".$f["id"]."'");
but it's missing the object of the WHERE clause. It should read
sqlquery("UPDATE bigtree_404s SET requests = (requests + 1) WHERE id = '".$f["id"]."'");
That should fix the broken counter.
Offline
Thanks spud! I've pushed the fix into 4.0-devel. Should be in the 4.0.1 release that should be out in the next two weeks or so.
Offline
Pages: 1