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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Problems with the Gallery module

Go to End

3 Posts   1980 Views


Community Member, 8 Posts

12 September 2008 at 12:00pm

When I try to install the Gallery module I get this error (After I create a gallery page, upload some images into the correct gallery folder, then try to view the page in the main site):

XML Parsing Error: junk after document element
Location: http://localhost/silverstripe/gallery/
Line Number 2, Column 1:<b>Notice</b>: Undefined index: start in <b>C:\wamp\www\silverstripe\gallery\code\GalleryPage.php</b>; on line <b>381</b><br />

I just downloaded the Gallery module, put the "Gallery" folder in my root silverstripe directory, then ran /db/build. Then I went into the CMS and created a Gallery Page, and uploaded some images. Im running the latest version of Silverstripe and only just downloaded the Gallery module, so it should be the latest version too.

Any ideas?


Community Member, 8 Posts

16 September 2008 at 6:27pm

Bump. :-)


Community Member, 9 Posts

14 November 2008 at 7:29pm

Try removing the <?xml> tag from the html document?