Jump to:

7938 Posts in 1541 Topics by 945 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Image Gallery Module - stopped working suddenly

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: 1339 Views
  • Anaya
    Avatar
    Community Member
    42 Posts

    Image Gallery Module - stopped working suddenly Link to this post

    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.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Module - stopped working suddenly Link to this post

    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.

  • Anaya
    Avatar
    Community Member
    42 Posts

    Re: Image Gallery Module - stopped working suddenly Link to this post

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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Module - stopped working suddenly Link to this post

    Which lightbox are you using?

  • Anaya
    Avatar
    Community Member
    42 Posts

    Re: Image Gallery Module - stopped working suddenly Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Module - stopped working suddenly Link to this post

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

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