#1 Bug Reports » Bug in 301 Redirect tracking » November 18, 2013 5:20pm

spud
Replies: 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.

#2 Bug Reports » Access denied to /users/profile/ » August 10, 2013 4:38pm

spud
Replies: 1

Access for "Normal User" accounts to the /users/profile page to change their password is now greeted with an "Access Denied" error. Access is available for Administrators, so I suspect it's a simple permissions failure. Unfortunately, since it's not a page or resource or module, I haven't any idea where or how permissions are set for a user to be able to edit their own account. Help?


PS: This is perhaps an artifact of the BT3->BT4 upgrade, but I haven't had enough reports of the problem to be sure when it started...

#3 Developer Help » Routed template headers » March 27, 2013 11:28am

spud
Replies: 1

I'd like to create a variation of a FormBuilder template (a routed template) that doesn't include the default header include file from all the other pages. It seems like the "default.php" of a routed template starts after the header has already been included. (The documentation gives the impression that "default.php" would be a full HTML page, but it is clearly just the middle of the HTML page.)


What is the actual order of execution of templates in the case of a routed template, and how might one swap out a different header or footer file for a specific routed template?

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.