Support » Networking WordPress » 500 Error on Media Uploads

  • Resolved thecorkboard


    I did my WPmu 2.9.2 upgrades to 3.0 and everything seemed to be just fine. But as I go to upload new media I’m experiencing this:

    • Via the media uploader, the file is uploaded to the server – I confirmed this
    • The file is in the Media Library and links to the appropriate part of the server
    • When directly access (file url put into browser), the browser returns a 500 server error

    It’s a little perplexing. I’m assuming it has to do with the .htaccess rewrites I did (, but I don’t really think that’s it….

    Any help or suggestions?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Here’s the .htaccess file in case you’re curious:

    RewriteEngine On
    RewriteBase /
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-inlcudes/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

    or… OR I could learn to spell correctly.

    wp-inlcudes/ms-files.php?file=$2 [L]

    I’m pretty sure includes isn’t spelled like that….

    I fixed it. Thanks!


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘500 Error on Media Uploads’ is closed to new replies.