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

Parse error when creating new albums


Reply


4 Posts   618 Views

Avatar
Scorpiankh

Community Member, 60 Posts

12 July 2010 at 1:20pm

I've got the ImageGallery module installed and working fine, except that when I add an album i get:

Parse error: parse error in C:\Windows\Temp\silverstripe-cacheC--wamp-www-Ethereal-silverstripe-v2.3.4\.cacheC..wamp.www.Ethereal.silverstripe-v2.3.4.image_gallery.templates.Layout.ImageGalleryPage.ss on line 321

any help on where to find whats causing the problem and how to fix it would be great
thanks

Avatar
UncleCheese

Forum Moderator, 4096 Posts

12 July 2010 at 1:57pm

use ?showtemplate=1 to find out where the error is

Avatar
Scorpiankh

Community Member, 60 Posts

12 July 2010 at 2:18pm

Thanks.
I did that and when it brings up that template there is no line 321, it ends with:

319 <!-- end template C:/wamp/www/Ethereal/silverstripe-v2.3.4/image_gallery/templates/Layout/ImageGalleryPage.ss -->
320 SSVIEWER;

I'm not sure what this might mean

Avatar
Scorpiankh

Community Member, 60 Posts

12 July 2010 at 2:36pm

nevermind, problem solved ... I was playing with ImageGalleryPage.ss last night and deleted some lines .. forgot to revert it back to how it was before I saved out for the night.