MyBB Community Forums
[Rejected] 403/404 Errors on changing between template groups to edit in ACP - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Rejected (https://community.mybb.com/forum-184.html)
+----- Thread: [Rejected] 403/404 Errors on changing between template groups to edit in ACP (/thread-219921.html)



403/404 Errors on changing between template groups to edit in ACP - linguist - 2018-09-25

I get errors 403/404 when I am editing templates in ACP and move between template groups because a parameter wrongly gets carried over. 

How to reproduce: 
  1. Go to Admin CP > Templates & Style
  2. Expand one template group 
  3. (optional) click on one of the listed templates as if you want to edit it, save it to return to listing
  4. Click on another template group to expand it
  5. --> error
The URL in the browser (tested on latest Firefox and Chrome) looks like this: 

[site]/[acp path]/index.php?module=style-templates&sid=20&expand=2|7#group_7


as you can see, i opened template group 2 first, then tried to open group 7 and get an error. 

This started happening a few weeks ago while I still used 1.8.17 and keeps happening after upgrading to 1.8.19. I didn't change cookie settings or server side caching rules (on an apache/nginx) in the meantime.


RE: 403/404 Errors on changing between template groups to edit in ACP - s3_gunzel - 2018-09-25

Which one do you get?

403 Forbidden or 404 Not Found? They’re two different errors.


RE: 403/404 Errors on changing between template groups to edit in ACP - linguist - 2018-09-25

I know that it's different. On the surface it's usually  a 403 - forbidden but stating that access to a directory be forbidden which does not even exist, so occasionally i do get a 404 - not found, too. 
   


RE: 403/404 Errors on changing between template groups to edit in ACP - Ashley1 - 2018-09-25

This can't be a bug. I have never had these errors in the ACP, and can't replicate them even now.


RE: 403/404 Errors on changing between template groups to edit in ACP - linguist - 2018-09-25

Oh ... ok. Thank you for testing that. Now I have to assume it is a local problem, maybe with the firewall settings.

P.S.: It was a firewall rule banning request strings containing the pipe symbol |
case closed