Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » imagegallery module bug?

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 897 Views
  • vert1go
    Avatar
    Community Member
    2 Posts

    imagegallery module bug? Link to this post

    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: http://pastebin.com/gbPPYvAp (I replaced the actual website with [ url ]).

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

    Cheers!

  • mattclegg
    Avatar
    Community Member
    56 Posts
  • vert1go
    Avatar
    Community Member
    2 Posts

    Re: imagegallery module bug? Link to this post

    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 :/

  • mattclegg
    Avatar
    Community Member
    56 Posts

    Re: imagegallery module bug? Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: imagegallery module bug? Link to this post

    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

    897 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.