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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Image Gallery Module - stopped working suddenly


Go to End


6 Posts   2044 Views

Avatar
Anaya

Community Member, 42 Posts

1 October 2009 at 10:49pm

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

Forum Moderator, 4102 Posts

2 October 2009 at 1:24am

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

Community Member, 42 Posts

2 October 2009 at 3:12am

Edited: 02/10/2009 3:24am

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

Forum Moderator, 4102 Posts

2 October 2009 at 3:29am

Which lightbox are you using?

Avatar
Anaya

Community Member, 42 Posts

2 October 2009 at 3:33am

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

Forum Moderator, 4102 Posts

2 October 2009 at 4:08am

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).