MyBB Community Forums

Full Version: Error 406 in AdminCP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I installed Mybb successfully and then logged into the Admin Control Panel, however everytime I went to any option such as "add new forum" or "templates" I got the following:

Quote:Not Acceptable

An appropriate representation of the requested resource /admin/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.
Apache Server at medsols.com Port 80

I ended up deleting the installation because I changed my mind and wanted it on a different domain, after doing the second installation I remember that I needed to chmod all those files to allow PHP to access them. I did that as per the installation guide, but still get that error in the Admin Control Panel.

What does the error mean? The same thing has happened on 2 different installations. The only thing I can think of is to re download the setup file.

Is there something I've missed?

Thanks
Does this happen on most admin pages?
Have you tried different browsers?
Can we have an URL and a test admin account (if possible)?
It seems to happen for all the pages in the sidebar on the left.

www.medsols.com/admin

Actually after checking, I get the same error when I try to create a new user or even edit my account to change my password. Unfortunately I use a "universal password" so I'd be rather stupid to post the password to my account here.

I'm using Firefox, the same thing happens in Internet Explorer.
Could be mod_security, see sticky thread, but a 406 is a pretty unusual error...
Well 406 is the "not acceptable" error and is mentioned in that mod_security wiki.
Therefore it probably does have something to do with it.

Quote:Confirm that mod_security is installed on your server

To confirm that the mod_security module is installed on your server, open your PHP Info page (there is one in your forum's Admin CP). Scroll down and find the heading "Loaded Modules" and see if "mod_security" is in the list.

The Solution - MyBB 1.4.x and newer

The htaccess.txt that comes with the MyBB package disables mod_security by default. If you haven't already, rename the htaccess.txt file to ".htaccess"

I can't load the PHP info page because it gives me that error, is there another way I can check that it is installed?

I renamed my htacess file, so it is now .htaccess but that hasn't changed anything.

I couldn't find the error log in the root directory, but I found the one in Cpanel, I'll post it as it mentions all the errors I'm getting.

Quote:Error Log
Last 300 Error Log Messages in reverse order:

[Mon Mar 08 18:58:16 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php?module=tools
[Mon Mar 08 18:52:52 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php?module=tools
[Mon Mar 08 18:51:32 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php?module=tools
[Mon Mar 08 18:50:34 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php?module=tools
[Mon Mar 08 18:49:04 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 18:49:04 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 18:49:02 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 18:49:02 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 18:48:58 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 18:48:58 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/admin/\\
[Mon Mar 08 14:35:50 2010] [error] [client 87.69.46.109] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 14:35:50 2010] [error] [client 87.69.46.109] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 14:35:47 2010] [error] [client 87.69.46.109] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 14:35:47 2010] [error] [client 87.69.46.109] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 14:13:34 2010] [error] [client 66.249.67.219] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 14:13:34 2010] [error] [client 66.249.67.219] File does not exist: /usr/home/kesava/public_html/robots.txt
[Mon Mar 08 14:13:34 2010] [error] [client 66.249.68.236] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 14:13:34 2010] [error] [client 66.249.68.236] File does not exist: /usr/home/kesava/public_html/robots.txt
[Mon Mar 08 13:10:14 2010] [error] [client 67.195.111.221] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 13:10:14 2010] [error] [client 67.195.111.221] File does not exist: /usr/home/kesava/public_html/pill_page.php
[Mon Mar 08 10:12:07 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://www.medsols.com/admin/index.php
[Mon Mar 08 10:12:04 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 10:12:04 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 10:10:45 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 10:10:45 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 10:10:26 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://www.medsols.com/admin/index.php?module=user
[Mon Mar 08 10:08:47 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://www.medsols.com/admin/index.php?module=user
[Mon Mar 08 10:05:16 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://www.medsols.com/admin/index.php
[Mon Mar 08 10:04:07 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://www.medsols.com/admin/index.php?module=user
[Mon Mar 08 10:03:51 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://www.medsols.com/admin/index.php?module=user
[Mon Mar 08 10:03:28 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 10:03:28 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 10:03:28 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 10:03:28 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 10:01:43 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php
[Mon Mar 08 10:01:35 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php
[Mon Mar 08 09:15:01 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php
[Mon Mar 08 09:11:49 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php
[Mon Mar 08 09:03:29 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php
[Mon Mar 08 09:03:16 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/406.shtml, referer: http://medsols.com/admin/index.php
[Mon Mar 08 09:01:10 2010] [error] [client 77.88.30.247] File does not exist: /usr/home/kesava/public_html/406.shtml
[Mon Mar 08 08:59:29 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 08:59:29 2010] [error] [client 59.161.133.32] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 07:32:39 2010] [error] [client 67.195.111.221] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 07:32:39 2010] [error] [client 67.195.111.221] File does not exist: /usr/home/kesava/public_html/robots.txt
[Mon Mar 08 05:33:12 2010] [error] [client 115.117.171.95] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 05:33:12 2010] [error] [client 115.117.171.95] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Mon Mar 08 05:33:11 2010] [error] [client 115.117.171.95] File does not exist: /usr/home/kesava/public_html/404.shtml
[Mon Mar 08 05:33:11 2010] [error] [client 115.117.171.95] File does not exist: /usr/home/kesava/public_html/favicon.ico
[Sun Mar 07 22:38:22 2010] [error] [client 67.195.111.221] File does not exist: /usr/home/kesava/public_html/404.shtml
[Sun Mar 07 22:38:22 2010] [error] [client 67.195.111.221] File does not exist: /usr/home/kesava/public_html/shoppingcart.php
[Sun Mar 07 22:38:22 2010] [error] [client 67.195.111.221] File does not exist: /usr/home/kesava/public_html/404.shtml
[Sun Mar 07 22:38:22 2010] [error] [client 67.195.111.221] File does not exist: /usr/home/kesava/public_html/robots.txt
[Sun Mar 07 20:48:27 2010] [error] [client 66.249.67.219] File does not exist: /usr/home/kesava/public_html/404.shtml
[Sun Mar 07 20:48:27 2010] [error] [client 66.249.67.219] File does not exist: /usr/home/kesava/public_html/index2.php
[Sun Mar 07 19:33:40 2010] [error] [client 77.88.30.247] File does not exist: /usr/home/kesava/public_html/406.shtml
[Sun Mar 07 16:53:24 2010] [error] [client 66.249.68.236] client denied by server configuration: /usr/home/kesava/public_html/.htaccess
[Sun Mar 07 16:53:24 2010] [error] [client 66.249.68.236] File does not exist: /usr/home/kesava/public_html/404.shtml
[Sun Mar 07 16:53:24 2010] [error] [client 66.249.68.236] File does not exist: /usr/home/kesava/public_html/robots.txt
[Sun Mar 07 16:53:23 2010] [error] [client 66.249.67.219] client denied by server configuration: /usr/home/kesava/public_html/.htaccess
[Sun Mar 07 16:53:23 2010] [error] [client 66.249.67.219] File does not exist: /usr/home/kesava/public_html/404.shtml
[Sun Mar 07 16:53:23 2010] [error] [client 66.249.67.219] File does not exist: /usr/home/kesava/public_html/robots.txt
[Sun Mar 07 10:06:13 2010] [error] [client 77.88.30.247] File does not exist: /usr/home/kesava/public_html/406.shtml
[Sun Mar 07 09:58:09 2010] [error] [client 121.245.91.247] client denied by server configuration: /usr/home/kesava/public_html/.htaccess
[Sun Mar 07 01:24:14 2010] [error] [client 66.249.68.236] File does not exist: /usr/home/kesava/public_html/404.shtml
[Sun Mar 07 01:24:14 2010] [error] [client 66.249.68.236] File does not exist: /usr/home/kesava/public_html/robots.txt
[Sat Mar 06 21:33:31 2010] [error] [client 77.88.30.247] File does not exist: /usr/home/kesava/public_html/406.shtml
Looks like you did something, I see the normal admin login:

Please enter your username and password to continue
(2010-03-09, 01:39 AM)Gene_RI Wrote: [ -> ]Looks like you did something, I see the normal admin login:

Please enter your username and password to continue

There was never a problem logging in. However once I log in I get an error message when I try to go to certain pages.
(2010-03-09, 02:20 AM)Kesava Wrote: [ -> ]... There was never a problem logging in. However once I log in I get an error message when I try to go to certain pages.
oops, my bad, I should have read it more thoroughly.
Who is your website hosted with?
Create a new user with admin permissions, PM the login details to Polar bear or another support team member, they'll assist you.

Good luck.

Regards,
George.
Pages: 1 2