Topic: juicebox for Wordpress random browser incompatibility - known issue?

I am using the Wordpress juicebox plugin. I am having trouble with Juice box displaying on some browsers and it seem totally random.

I get the following error message on IE 8 and 9, and Chrome. But  other times it is okay. In Firefox, the gallery tried to load but I do not get a message.

Juicebox Error: Config XML file not found.

Here is an example page:

http://www.clientssite.co.uk/wp/aaa/

I have spend hours trying to sort this issue but with no luck. I have tried deactivating plugins, clearing browser caches regularly - everything that is advised on your support forum. Sometimes it works on one browser, but not another. Very frustrating

Is this a known issue with Juicebox? 

PS I have bought the pro version but I have resorted to the free version to see if I can get that working first.

Re: juicebox for Wordpress random browser incompatibility - known issue?

Is this a known issue with Juicebox?

No.

Viewing your gallery's XML file directly in a browser results in the following error:

XML Parsing Error: XML or text declaration not at start of entity
Location: http://www.clientssite.co.uk/wp/wp-content/plugins/wp-juicebox/config.php?gallery_id=4
Line Number 2, Column 1:<?xml version="1.0"?>
^

WP-Juicebox creates the XML file (dynamically) using DOM techniques and the XML declaration should be at the very top of the document. (There should not be a blank line before it.)
I notice that on your main page (http://www.clientssite.co.uk/wp/aaa/), there is also a blank line before the Doctype Declaration (which should also be at the top of the document).
It looks like your web host may be inserting blank lines into the documents when they are hosted on your web server which is breaking the gallery.
Check with your web host to see if the blank lines at the top of your documents are being introduced by them and, if so, how they can be removed.

Re: juicebox for Wordpress random browser incompatibility - known issue?

Thank you for your comprehensive reply. I have now fixed the error and Juicebox is working fine now (although it took me a while!)

Re: juicebox for Wordpress random browser incompatibility - known issue?

mattybrown wrote:

Thank you for your comprehensive reply. I have now fixed the error and Juicebox is working fine now (although it took me a while!)

I just checked out http://www.clientssite.co.uk/wp/aaa/ -- I get curious, regarding what other users are doing with Juicebox -- and in Firefox that site just hangs (the spinner just spins), i.e., does not show the first image. In Opera, Chrome, IE, and Safari (all the latest versions for Windows), the image area has this message: "Juicebox Error: Config XML file not found."

Regards,

Bill

Re: juicebox for Wordpress random browser incompatibility - known issue?

@wspollack

The original poster may be working on their site.
The original problem (of a blank line before the XML declaration in the gallery's XML file) still seems to exist but perhaps the original poster is aware of this and now knows how to fix it.