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.

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   2307 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?