Support » Networking WordPress » blogs.dir empty

  • Resolved richbate

    (@richbate)


    Hello there,

    I’m having some bother with multisite. using wp 3.0.4, theme tanzaku.
    my site http://dmblogs.ncl.ac.uk takes feeds from all of our students.

    the problem is on all other sites.
    when I upload an image, it says it has completed but only shows a broken jpeg.

    my folder /var/www/wp-content/blogs.dir is empty…
    I’ve tried all sorts of permissions and owners (currently at 777 www-data:root) to no avail.

    any ideas?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Where does it think it uploaded the image to? Check the dabatase and see where it thinks it went.

    If it’s failing to upload, it SHOULD throw an error.

    Thanks for the reply!

    it ‘thinks’ the image is in http://dmblogs.ncl.ac.uk/courseblog/files/2011/01/test.jpg
    I’ve had a look around mysql, but can’t find any mention of the file.

    no error thrown up sadly, I prefer those!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    The folder files redirects to your blogs dir 🙂

    Go to Admin -> Super Admin -> Sites and click EDIT for courseblog

    Look for “Upload Url Path”

    What is it?

    Hi,

    upload url path is empty!
    upload path is “wp-content/blogs.dir/17/files”

    permissions are
    drwxrwxrwx 4 root www-data 4096

    thanks for your time

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Hmm.

    The folders ARE getting created: http://dmblogs.ncl.ac.uk/wp-content/blogs.dir/17/files/2011/01/

    I would try making the Upload URL path the same as the upload path just for grins and giggles.

    curiouser and curiouser..

    now I’ve got

    upload url = wp-content/blogs.dir/17/files
    upload url path = wp-content/blogs.dir/17/files
    file upload path = http://dmblogs.ncl.ac.uk/willduggan/files

    still broken.
    as you rightly say, the folders and images (thumbs too) are being created http://dmblogs.ncl.ac.uk/wp-content/blogs.dir/17/files/2011/01/

    it’s strange that these aren’t created by the system.. can’t find much help on the above paths on the forums either.
    every search does seem to bring up answer from you tho Ipstenu. thanks for giving up so much of your time!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    I’m a busy body… but really I’ve never seen this one before. It’s fascinating!

    And I’m gonna put this out there and run for cover.

    How much would you lose if you scrapped this and started over? I mean, something is wildly wrong. Way wrong, and I can’t tell if its a borked install or a weird server setup.

    I wouldn’t lose too much starting again.
    only got multisite up and running properly yesterday.

    I’ve learned a lot in the last few months, but not everything, so my money’s on a botched install.

    I’ll pop back up soon if V2.0 fails in the same way!

    Thanks again

    re-install fixed the issue.

    it looks like it was a permissions problem. folder owned by root during set up.
    Thanks for your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘blogs.dir empty’ is closed to new replies.