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, biapar, Willr, Ingo, swaiba, simon_w

Image Gallery not working in 2.3.4, bug?

Go to End

31 Posts   5138 Views


20 January 2010 at 12:00pm Community Member, 6 Posts


I have installed all related modules according to the instructions however when I click on create a new image gallery page it doesn't appear in the cms like all the other pages do. After a refresh it does appear however for me to use it I have to save it which when I click on says there's been an error while saving.

Could someone please confirm if the image gallery module does or doesn't work with silverstripe 2.3.4? If it does, what additional steps need to be taken to get it to work?



20 January 2010 at 3:32pm Community Member, 22 Posts

is a known bug...
read pls this topic

helped me: i'm add col "SortOrder" in table


20 January 2010 at 4:31pm 4085 Posts

The bug he's reporting sounds different, though. In any case, the latest rev of DOM has added 2.3.4 compliance.


21 January 2010 at 12:19pm Community Member, 6 Posts

Thank you guys for your quick reply.

I have actually read that topic but it still didn't help.

Thanks UncleCheese for the latest release, it's amazing how easy it is for the user to add images/albums and for both the developer and the user to make changes to the way the gallery is presented.

Thanks again.


30 November 2010 at 7:23am Community Member, 199 Posts

SStripeS, I'm having the exact same problem. Did you get it working? If so, what versions of image-gallery, DOM etc did you use?


2 December 2010 at 10:29am Community Member, 60 Posts

Uncle Cheese,
I need your help again.
My colleague has created a great design on SS, but this has 'broken' the Image Gallery in the DOM. What happens now i that I create an image gallery page, but it doesn't show in the menu to begin with until I refresh the Browser. Upon renaming the page, it get an 'error saving content' in red, rather than 'saved'. A gallery folder is also not created.
How can CSS have such a wild effect on the galleries? is the link if useful

Many thanks again



31 January 2011 at 6:05pm Community Member, 60 Posts

I'm having this exact same problem, except with SS 2.4.2.

create new imagegallery page, nothing appears in the site tree menu until I refresh the page but I get firebug reporting this error message when I create the page:

500 There has been an error
base.j...6444156 (line 61)

There has been an error

When I try to save/save and publish the imagegallery page it says 'error saving content' and firebug reports this error:

500 There has been an error
base.j...6444156 (line 61)
500//There has been an error
errorMessage(msg="Error saving content", fullMessage="500//There has been an error")leftan...6444159 (line 367)
msg = "Error saving content"
fullMessage = "500//There has been an error"
onFailure(response=XMLHttpRequest { onreadystatechange=[xpconnect wrapped nsIDOMEventListener], readyState=4, more...})leftan...6444159 (line 448)
response = XMLHttpRequest { onreadystatechange=[xpconnect wrapped nsIDOMEventListener], readyState=4, more...}
header()base.j...6444156 (line 67)
processOnDemandHeaders(xml=XMLHttpRequest { onreadystatechange=[xpconnect wrapped nsIDOMEventListener], readyState=4, more...}, status=500, _ondemandComplete=function())base.j...6444156 (line 746)
xml = XMLHttpRequest { onreadystatechange=[xpconnect wrapped nsIDOMEventListener], readyState=4, more...}
status = 500
_ondemandComplete = function()
prototypeOnDemandHandler(xml=XMLHttpRequest { onreadystatechange=[xpconnect wrapped nsIDOMEventListener], readyState=4, more...}, status=500, callback=function())base.j...6444156 (line 749)
xml = XMLHttpRequest { onreadystatechange=[xpconnect wrapped nsIDOMEventListener], readyState=4, more...}
status = 500
callback = function()
header(readyState=4)base.j...6444156 (line 70)
readyState = 4
onStateChange()base.j...6444156 (line 66)
bind()base.j...6444156 (line 29)
[Break On This Error] console.error(fullMessage);}
leftan...6444159 (line 367)

Exact same thing happens if I create a new page (standard page type) and try to change the page type to imagegallery page under the behaviour tab.

I've tried removing and reinstalling the imagegallery, DOM and uploadify modules, installing different versions of them including the most recent versions and still get the same problem.

Also, at one stage I managed to get the imagegallery page to save after being created, uploaded a couple of images to the default album and THEN got the 'error saving content' message, deleted that page and tried to delete the image gallery folders from the 'files and images' tab but got another error when i clicked on the folder, and again when I tried to delete it.

Have tried reading through the errors in depth but I'm not great at debugging javascript and I'm just not seeing where the cause of the errors are.

Oddly enough, I have 2 other websites on the same server as the one experiencing this issue, both running SS2.4.2 with image gallery, DOM and uploadify and didn't have any problems at all with them, and another website on that same server running SS 2.3.4 with imagegallery, DOM and SWFupload and that HAD the same problem when I first built it, but it came right and fixed itself after reinstaling the modules.

I'm completely lost on how to fix this one .. help please :(


31 January 2011 at 6:23pm 4085 Posts

You need to get your site into dev mode and get that error. "There has been an error" isn't going to give you much to go on!

Go to Top