[resolved] 500 Error on Media Uploads (3 posts)

  1. thecorkboard
    Posted 5 years ago #

    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 (http://wpmututorials.com/how-to/upgrading-from-wpmu-to-wp-3-0/), but I don't really think that's it....

    Any help or suggestions?


  2. thecorkboard
    Posted 5 years ago #

    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
  3. thecorkboard
    Posted 5 years ago #

    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!


Topic Closed

This topic has been closed to new replies.

About this Topic