WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] multisite sub sites image upload error (3 posts)

  1. Joel Black
    Member
    Posted 2 years ago #

    I recently moved a multisite from qponqutie.com to thecouponcutie.com. A few minor issues but it seems now the sub sites can't upload images. The main site can, but the sub sites such as atlanta.thecouponcutie.com can't.

    At first, I would get this error:

    Unable to create directory /var/www/vhosts/qponqutie.com/httpdocs/wp-content/blogs.dir/4/files/2011/09. Is its parent directory writable by the server?

    So then I created the directory and got this error:

    The uploaded file could not be moved to /var/www/vhosts/qponqutie.com/httpdocs/wp-content/blogs.dir/8/files/2011/09.

    (these are 2 different sub-sites, but after I created the directory on the first, I couldn't recreate the error to copy and paste so I set up another sub-site)

    I tried chmod 777 on blogs.dir, didn't work. Im on a Linux server and Plesk control panel. I have the default htaccess file that WordPress told me to add:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    Any help would be greatly appreciated.

  2. I tried chmod 777 on blogs.dir, didn't work.

    Did you make sure permissions filtered all the way down?

  3. Joel Black
    Member
    Posted 2 years ago #

    Well, you did it again! That fixed the issue. I thought I had done that, but obviously I didn't do it well enough. Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic