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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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



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.