Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

DOM or ImageGallery NIGHTMARE!


Go to End


969 Views

Avatar
pcbender

Community Member, 20 Posts

13 April 2012 at 10:01am

Client is administering their SS site in production. Parent page has 6 ImageGallery child pages. Client relocates the parent page in the CMS tree. Now all the images in all the albums (more than 300 total) are displaying the broken image icon in the CMS and the galleries are hosed on the frontend. After cracking open the database there are records in the ImageGalleryItem table, but the corresponding records in the File table ARE NOT THERE!

Needless to say, I have one very pissed-off client with little confidence in my "World-Class" web application. I've traced the code into the File class, where it seems to think that the image on the file system does not exist (it does), while trying to copy the image so it deletes the File table entry??? Makes zero sense, so I'm asking Uncle Cheese or any other gurus for assistance.

Any help would be very much appreciated.

PC