phpbb3 error 406 when login to administration control panel

I installed phpbb3 today. It’s a forum cms then freely to download and use. Also it has lots of skin to try. You can get the source from and the tutorial to install it too.

I run all these steps and manage to install phpbb to my website here. But when trying to edit the administration control panel, I got this error

Not Acceptable
An appropriate representation of the requested resource /forum/adm/index.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

So I was curious because te forum/adm/index.php is there but then search in google and I realize the mistake too. It is the /forum/adm/index.php location problem. the index.php in adm folder looked to the root location. In fact I didn’t install phpbb in the root folder, but as a subdomain. So it locates in a folder inside the public_html folder. This you can see in cpanel file manager.

So as suggested I edit forum/adm/index.php and change a line :

$phpbb_root_path = (defined(‘PHPBB_ROOT_PATH’)) ? PHPBB_ROOT_PATH : ‘./../’;


$phpbb_root_path = (defined(‘PHPBB_ROOT_PATH’)) ? PHPBB_ROOT_PATH : ‘../’;

And try it one more time, now you can access to Administration Control Panel.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.