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 Module - stopped working suddenly


Reply

6 Posts   1356 Views

Avatar
Anaya

1 October 2009 at 10:49pm Community Member, 42 Posts

Hey Guys,

I installed Image gallery module properly. Was working fine.
Was adding more images in album, after saving and publishing, got an error message - The website cannot display the page (Error 500)
If I remove all the photos from album, then that album page displays properly.
Has anyone exprienced this issue before? Do i need to install gallery module again?
SS version - 2.3.3 and have got latest gallery module(SVN 280)..

Need your advice..Today site is going to launch!!!!

Regards
Anaya.

Avatar
UncleCheese

2 October 2009 at 1:24am 4085 Posts

Is it a Silverstripe error or an Apache error? 500 doesn't sound good.

Make sure you're in dev mode and you have your error reporting cranked up so you can get readable errors.

Avatar
Anaya

2 October 2009 at 3:12am (Last edited: 2 October 2009 3:24am), Community Member, 42 Posts

Hi Unclecheese,

After your suggestion and changing to dev mode, I have got following errors, when I click on Album link..
Dont undestand what does itmean and how can I solve it ???

None of these templates can be found: .ss
Line 175 of SSViewer.php
SSViewer->__construct(Array)
Line 763 of ViewableData.php
ViewableData->renderWith(Array)
Line 295 of ImageGalleryPage.php
ImageGalleryPage->GalleryLayout()

call_user_func_array(Array,Array)
Line 525 of Object.php
Object->__call(GalleryLayout,Array)

ImageGalleryPage_Controller->GalleryLayout()

call_user_func_array(Array,Array)
Line 408 of ViewableData.php
ViewableData->XML_val(GalleryLayout,,1)
Line 162 of .cache.home.sites.website url_html.newsite.image_gallery.templates.Layout.ImageGalleryPage_album.ss
include(/tmp/silverstripe-cache-home-sites-website url_html-newsite/.cache.home.sites.website url_html.newsite.image_gallery.templates.Layout.ImageGalleryPage_album.ss)
Line 354 of SSViewer.php
SSViewer->process(ImageGalleryPage_Controller)
Line 346 of SSViewer.php
SSViewer->process(ImageGalleryPage_Controller)
Line 175 of Controller.php
Controller->handleAction(HTTPRequest)
Line 129 of RequestHandler.php
RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
Controller->handleRequest(HTTPRequest)
Line 29 of ModelAsController.php
ModelAsController->handleRequest(HTTPRequest)
Line 277 of Director.php
Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
Director::direct(/photo-galleries/album/Sports-Day-Album-1/)
Line 118 of main.php

Regards
Anaya...

Avatar
UncleCheese

2 October 2009 at 3:29am 4085 Posts

Which lightbox are you using?

Avatar
Anaya

2 October 2009 at 3:33am Community Member, 42 Posts

When album pages were working, I was using Shadowbox..
But as it wont work in IE 8, I changed that to PrettyPhoto option.
And after that only it stopped working..u think its becoz of that??????

Regards

Avatar
UncleCheese

2 October 2009 at 4:08am 4085 Posts

The error you're getting is showing that there is no layout template defined for the lightbox you're using, so yes, that is causing the error. I remember a few revs ago there were some bugs with prettyphoto, so make sure you're on the latest version (292).