Hi, can anyone help me get the images working again?

I upgraded from drupal 4.7 to 5.3, and switched to the Image module 5.x-1.5 - and now no images load at all. They're triggering 404s in the watchdog logs.

I can upload new images fine.

Heres the issue
http://drupal.org/node/184489

Comments

tm’s picture

is you new file system the same as your old file system? the url paths are different...

mediafrenzy’s picture

Both drupal installs were using Private file system, and the images directory actual location hasn't changed.

How do you mean the url paths are different exactly? Is the /system/files/images/ path new do you mean?

tm’s picture

sorry, not between versions, but between public or private file systems. i was checking because someone else had a similar problem (old was private, new was public).

did the paths in the logs look okay? are the permissions okay (not doubting, just checking). i was looking at the release notes for the 5.1.5 release; rather specific steps, but seeming straightforward for a normal upgrade. so, i don't know. btw, did you notice that they just released 5.1.6 from the image project?

i am concerned, as i get to do this too (upgrade drupal and image), in the near future.

good luck, i will be waiting for good news.

mediafrenzy’s picture

I think everything is setup correctly - the image files/directory hasn't changed at all, and it was working fine with drupal 4.7

The file paths seem ok (but the images don't work at all).

http://www.example.com/system/files/images/689835.jpg

And yeah Drewish mentioned the latest 5.x-1.6 image module version, so I tried that, but still not working unfortunately.

tm’s picture

sorry, i am selfishly hoping this is a 4.7 > 5.x thing...

have you checked permissions? i mean is the administer > post settings "rebuild permissions" button visible? the 404 error would indicate path issues, but you are able to post new content, so it is weird.

now i am worried.

mediafrenzy’s picture

I don't seem to have a "rebuild permissions" button on that Post Settings page?

I also double checked, and the new test images that I uploaded ARE stored in the same place as my thousands of existing images, so they're all in the same place, and appear to have the same permissions.

It seems to me that it must be something in the DB tables relating to the image module, that maybe hasn't been updated successfully from 4.7 - 5.3 format?

tm’s picture

oh, boy. well, can you reference them directly by img tag? if so, then it is isolated to the node displays. if not, then i really don't know; not cognizant enough about file permissions to say anything.

ciric@drupal.org’s picture

I have the same problem updating from 4.7.6 to 5.3.

All the settings (Private access; files folder; files permissions) are the same as in the old installation, but the images are not showing.

Riccardo

tm’s picture

have you looked at the issue thread that the OP included in the topic posting? it includes symptoms and possible solutions...

also, see if you can access the image directly (via url); it may assist troubleshooting.

good luck!