• Resolved thecorkboard

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

    Any help or suggestions?

    Thanks,
    ~Kyle~

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter thecorkboard

    (@thecorkboard)

    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
    </Files>
    </IfModule>
    Thread Starter thecorkboard

    (@thecorkboard)

    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!

    ~Kyle~

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