• Resolved richbate

    (@richbate)


    Hello there,

    I’m having some bother with multisite. using wp 3.0.4, theme tanzaku.
    my site https://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)

    ?????? Advisor and Activist

    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.

    Thread Starter richbate

    (@richbate)

    Thanks for the reply!

    it ‘thinks’ the image is in https://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)

    ?????? Advisor and Activist

    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?

    Thread Starter richbate

    (@richbate)

    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)

    ?????? Advisor and Activist

    Hmm.

    The folders ARE getting created: https://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.

    Thread Starter richbate

    (@richbate)

    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 = https://dmblogs.ncl.ac.uk/willduggan/files

    still broken.
    as you rightly say, the folders and images (thumbs too) are being created https://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)

    ?????? Advisor and Activist

    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.

    Thread Starter richbate

    (@richbate)

    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

    Thread Starter richbate

    (@richbate)

    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.