WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] blogs.dir empty (10 posts)

  1. richbate
    Member
    Posted 3 years ago #

    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?

  2. 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.

  3. richbate
    Member
    Posted 3 years ago #

    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!

  4. 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?

  5. richbate
    Member
    Posted 3 years ago #

    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

  6. 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.

  7. richbate
    Member
    Posted 3 years ago #

    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!

  8. 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.

  9. richbate
    Member
    Posted 3 years ago #

    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

  10. richbate
    Member
    Posted 3 years ago #

    re-install fixed the issue.

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

Topic Closed

This topic has been closed to new replies.

About this Topic