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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

upgrading image gallery from 2.3 to 2.4

Go to End



Community Member, 89 Posts

21 March 2011 at 12:25pm

Edited: 21/03/2011 12:26pm


i have a running site (ss2.3.2/imagegallery 2.3) where i have customized the image gallery module. i didn't actually touch the module files itself, but worked with dataobjectdecorators and overwrites.

now i was trying to port my code to the new silverstripe/image gallery. with a fresh install of the modules and cms it was quite easy. but now i tried to use my actual db.

first, i upgraded the cms. that was quite a nobrainer. worked the first time. the site was running with no errors.
then i copied all my custom files, incl. site, theme and image gallery, dataobjectmanager,uploadify. but as soon as i tried to open a gallery page, i got errors:

Fatal error: Class 'ImageUploadField' not found in D:\***\image_gallery\code\ImageGalleryAlbum.php on line 27

is it my code or are the versions of image gallery not compatible?