Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Problems when rendering Gallery pages

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1457 Views
  • Mych
    Avatar
    Community Member
    1 Post

    Problems when rendering Gallery pages Link to this post

    I have the following lines.... repeated several times
    Notice: Undefined index: start in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 381

    Notice: Undefined variable: group in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 330

    Notice: Trying to get property of non-object in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 330

    Notice: Undefined variable: group in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 330

    Notice: Trying to get property of non-object in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 330

    Notice: Undefined variable: params in /home/fhlinux160/m/my.url.co.ukk/user/htdocs/gallery/code/GalleryPage.php on line 332

    Notice: Undefined variable: group in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 330

    Notice: Trying to get property of non-object in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 330

    Notice: Undefined variable: group in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 330

    Notice: Trying to get property of non-object in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 330

    Notice: Undefined variable: params in /home/fhlinux160/m/my.url.co.uk/user/htdocs/gallery/code/GalleryPage.php on line 332

    Before the page finally renders ok..... what is causing this?

    Thanks

  • Dennis
    Avatar
    Community Member
    7 Posts

    Re: Problems when rendering Gallery pages Link to this post

    I've run into the same problem. The gallery page loads, but produces 50 or 60 of these:

    Notice: Undefined variable: group in C:\wamp\www\SS\gallery\code\GalleryPage.php on line 330

    Notice: Trying to get property of non-object in C:\wamp\www\SS\gallery\code\GalleryPage.php on line 330

    Notice: Undefined variable: params in C:\wamp\www\SS\gallery\code\GalleryPage.php on line 332

    This behavior started after I attempted (unsuccessfully) to upload from the local file system. Before that it was not able to display any images. After the upload failed, I manually moved the files into place and they began showing up with these errors.

    Pointers appreciated

    UPDATE: found the GalleryPage2.php posted by Saimo and it appears to have resolved the rendering problem.

    Now on to the 'Files & Images' cms won't load/render problem...

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