Forums

getting 500 Internal Server Error after up to 3.0 (3 posts)

  1. bujanga
    Member
    Posted 1 year ago #

    I upgraded my test site to 3.0 and am now intermittently getting the HTTP response '500 Internal Server Error'. Once this happens, I am not able to access WP until apache is restarted. This is typically due to a mis-configured server but I have not made any changes to its configuration. I am also unable to cause this response except randomly. Is anyone else seeing this?

    My log files do not show any errors related to this. Version information is: Apache/2.2.14 (FreeBSD) mod_ssl/2.2.14 OpenSSL/0.9.8e DAV/2 PHP/5.3.2 with Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.0

    ____________________________________

    APACHE CONFIG FILE

    # NPEXCHANGE.ORG

    <Directory /path/to/site/web>
    Order allow,deny
    Allow from all
    AllowOverride FileInfo Options
    </Directory>

    <VirtualHost 65.23.153.86>
    ServerName npexchange.org
    ServerAlias *.npexchange.org
    ServerAdmin npexchange@gruffgoat.com
    DocumentRoot /path/to/site/web
    </VirtualHost>

    # end NPEXCHANGE.ORG
    ____________________________________

    .HTACCESS FILE

    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    #RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.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>

    ____________________________________

    Gary Dalton

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems?

    - resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    - resetting the permalinks back to the the default setting and renaming your WordPress .htaccess file?

  3. bujanga
    Member
    Posted 1 year ago #

    I'll provision a separate server to try those items on Monday. I had to disable the test on my server.

    Weird thing is that it is causing all WP installations to reply with a 500 error BUT other non-WP installations are not affected.

    Was hoping for a quick 'I know what it is'. Thanks for your reply.

Topic Closed

This topic has been closed to new replies.

About this Topic