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

imagegallery module bug?


Reply

5 Posts   951 Views

Avatar
vert1go

18 September 2010 at 8:15am (Last edited: 18 September 2010 8:19am), Community Member, 2 Posts

Hi everyone,
first of all, I'm not that experienced with silverstripe - hope that's alright :)

My problem:

I set Silverstripe up and installed "image_gallery", "dataobject_manager" and "swfupload". Works fine so far.

When I try to access an image gallery, I recieve an error message: Website Error, There has been an error,
The website server has not been able to respond to your request.

In the dev-mode it reads like this: [url]http://pastebin.com/gbPPYvAp[/url] (I replaced the actual website with [ url ]).

Any suggestions? I don't really know how to proceed.

Cheers!

Avatar
mattclegg

20 September 2010 at 11:29am Community Member, 56 Posts

Taking a quick look at the error I think you need to go to [url]/dev/build to let Silverstripe know that you have installed a module.

Can you post on here if that works for you?

Avatar
vert1go

20 September 2010 at 9:45pm Community Member, 2 Posts

Hey Matt,
thanks for your reply!

I already did the Database build several times. It successfully completes every time but leaves me with the same error. So it doesn't seem to be related.

A friend suggested that I have to dig into the code of the module because there seems to be something wrong with the SQL-Query (ImageGalleryPage.php:337). I skimmed through some of the php files but wasn't able to fix anything... (= not enough coding experience).

But it seems to be an internal module code-issue, right? Maybe I should try another module :/

Avatar
mattclegg

21 September 2010 at 10:31pm Community Member, 56 Posts

looking at the code it looks like you need to create an album before it will work correctly. I know you have just installed the module so just wanted to check if this was the problem

Avatar
UncleCheese

25 September 2010 at 4:27am 4085 Posts

Make sure your site is in dev mode so you can find out what the error is. "There has been an error" isn't really helpful!

Also, I encourage you to use Uploadify instead of SWFUpload with ImageGallery and DOM..

http://www.leftandmain.com/silverstripe-modules/2010/08/26/uploadify/

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com