The MU forums have moved to WordPress.org

HTTP 406 -- missing admin file is there (8 posts)

  1. Tradobank
    Member
    Posted 14 years ago #

    Just installed 2.84

    I get these errors when trying to edit a blog's setup:

    Firefox: An appropriate representation of the requested resource /reports/wp-admin/wpmu-edit.php could not be found on this server.

    IE: HTTP 406

    So I checked and the file IS THERE. I deleted it and uploaded it again, but I still get the error. The file is 19.42 kb.

    Any clues?

  2. rohan_kapoor
    Member
    Posted 14 years ago #

    Check your permissions. Try setting it to 755

  3. Tradobank
    Member
    Posted 14 years ago #

    Thanks, tried that, but still no go.

    Also, I installed MU on two different domains and it's the same problem with both.

    I just searched for "wpmu-edit.php" and it seems like others had this problem 2 years ago and a year ago, and there are references to making changes in tables.

    Seems like I shouldn't be the only person to have this problem if everybody's tables aren't set up right.

  4. SteveAtty
    Member
    Posted 14 years ago #

    Have you got mod_security enabled?

    If so have you got the following in your .htaccess file:

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

  5. Tradobank
    Member
    Posted 14 years ago #

    I don't know whether mod_security is enabled, have a managed server and have to ask support.

    This is my htaccess:

    RewriteEngine On
    RewriteBase /reports/

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    ANd I just looked at my error log and this is all I get:

    File does not exist: /home/liars/public_html/406.shtml, referer: http://liarsandcheats.info/reports/wp-admin/wpmu-blogs.php?action=editblog&id=2

    Is there anything else to check in Cpanel?

  6. SteveAtty
    Member
    Posted 14 years ago #

    The 406.shtml is a file that mod_security is trying to display, so it looks very much like a mod_security issue.

  7. Tradobank
    Member
    Posted 14 years ago #

    Thanks, I opened a support ticket for my server and will update here.

  8. Tradobank
    Member
    Posted 14 years ago #

    Thanks all for your help, it was a server issue and they fixed it.

About this Topic

  • Started 14 years ago by Tradobank
  • Latest reply from Tradobank