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.

Archive /

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

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

Problems with the Gallery module


Reply


3 Posts   1644 Views

Avatar
sh4kes

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?

Avatar
sh4kes

Community Member, 8 Posts

16 September 2008 at 6:27pm

Bump. :-)

Avatar
cshtauralrets

Community Member, 9 Posts

14 November 2008 at 7:29pm

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