Bug tracker
Unable to access ACP after upgrade to 3.0.6 - 403 You do not have permission ... (fix completed in vcs)
I finally found that editing adm/index.php and changing:
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';
to
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : '../';
Will fix the issue.
I did some searching on the forum after noticing a user in the irc channel with my same problem and found viewtopic.php?f=46&t=1859985 among a couple of other threads.
Typo
Comments / History
@ Typos: thank you for the instructions. now I can login as admin.
I went ahead and tried a fresh install to see if this problem had anything to do with the forum I upgraded and its doing the same exact thing and the same work around fixed it.
Again......
I have confirmed this problem and the temp fix I found on both an update from 3.0.5 to 3.0.6 and on a fresh, brand new 3.0.6 install.
Typo
Hope it helps.
they returned with this comment
"This is working correctly now. One of the scripts to access the control panel was triggering the php security module. I've disabled this for your account."
My ACP now functions correctly... it looks like Mod_Security (??) might be the culprit...
This just in from my ISP
[Thu Nov 19 10:15:52 2009] [error] [client xxxxxxxxx] ModSecurity: Access denied with code 403 (phase 2). Pattern match "(?:\\x5c|(?:%(?:c(?:0%(?:9v|af)|1%1c)|2(?:5(?:2f|5c)|f)|u221[56]|1u|5c)|\\/))(?:%(?:u2024|2e)|\\.){2}(?:\\x5c|(?:%(?:c(?:0%(?:9v|af)|1%1c)|2(?:5(?:2f|5c)|f)|u221[56]|1u|5c)|\\/))" at REQUEST_URI. [file "/usr/local/apache/conf/modsecurity.d/10_asl_rules.conf"] [line "112"] [id "340007"] [rev "18"] [msg "Generic Path Recursion denied"] [severity "CRITICAL"] [hostname "xxxxxxxxxxxx"] [uri "/phpBBxx/adm/index.php"] [unique_id "SwVhKM-SaUwAADtHRG8AAAAR"]
Can you please explain how the same line of code that works in 3.0.5 and 3.0.6 but causes an error in ONLY in 3.0.6 is not a 3.0.6 bug and could you also explain how its possible that one version causes the error and the other doesn't?
Thanks a ton.
Typo