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

Parse error when creating new albums


Go to End


4 Posts   856 Views

Avatar
Scorpiankh

Community Member, 63 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, 4102 Posts

12 July 2010 at 1:57pm

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

Avatar
Scorpiankh

Community Member, 63 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, 63 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.