Topic: One gallery not working - can't find why! [SOLVED]

Hello,

I am updating my website (from simpleviewer pro to juicebox pro). All my galleries are set up on the very same way but I have a couple (out of >15) that do not show any pictures. I compared everything with the one that work but I cannot find the mistake …

The page called Netherlands (http://collpicto.com/netherlands.shtml) does not work but the one called Aberdeen works no problem (http://collpicto.com/aberdeen.shtml).

I have checked/compared the relevant xml files almost character by character but I cannot spot any error. Images files are there, path are correct, path and name of the configs files in the html5 page are also correct ...


thanks for your help,

Bertrand Collet

Re: One gallery not working - can't find why! [SOLVED]

The problem with your 'netherlands' gallery is with the gallery's 'config.xml' file.
There is a blank line (whitespace) before the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) which breaks the XML file.
The XML declaration should be at the very top of the document with nothing (not even whitespace) before it.
If you view your http://collpicto.com/xml/netherlands.xml file directly in a browser (bypassing Juicebox), you will see that the browser detects and reports the following error:

XML Parsing Error: XML or text declaration not at start of entity
Location: http://collpicto.com/xml/netherlands.xml
Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>
^

Just remove the whitespace before the XML declaration in your gallery's 'config.xml' file and all should be well.

Re: One gallery not working - can't find why! [SOLVED]

Excellent - all sorted now.
Many thanks!
Bertrand

Re: One gallery not working - can't find why! [SOLVED]

You're welcome!
I'm glad it solved your problem.
Thanks for posting back to let me know.