WordPress.org

Forums

3.1RC1 unable to upload images (2 posts)

  1. Anointed
    Member
    Posted 4 years ago #

    Setup a virgin install of RC1 today. I then turned on multi-site, created a subsite, and it works pefectly.

    However, on the primary blog #1, when I try to add an image via the media manager I get the following error:

    “admin-panel.jpg” has failed to upload due to an error
    Unable to create directory home/wp-content/uploads/2010/12. Is its parent directory writable by the server?

    Should it not be trying to go to wp-content/blogs.dir/1/files/2010...?

    I noticed there is a blogs.dir/2/ but not a blogs.dir/1/

    * the /2/ is my subsite that I added to multi-site, and as I said, that site works perfectly. It is only the 'primary' site that does not work adding media.

  2. Emil Uzelac
    Theme Review Admin
    Posted 4 years ago #

    Main site (Blog) upload path should be wp-content/uploads and wp-content/blogs.dir/2/files for the very first site that you've created under your main blog.

    wp-content/blogs.dir/1 ID #1 is actually the main site. (wp-admin/ms-sites.php?action=editblog&id=1) so that's why you don't see blogs.dir/1/.

    Emil

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.