Thank you for providing the URL to your gallery via email.
It looks like the data for your gallery's XML file is being generated correctly so all the correct files are in place and not corrupt.
However, the problem seems to be that the XML declaration in the dynamically generated XML file (the <?xml version="1.0" encoding="UTF-8"?> line) is not at the very top of the document. There is a blank line before the XML declaration which should not be there and this is very likely to be the cause of the problem.
I cannot be certain but I suspect this may be a bug in the version of PHP which is installed on your web server.
(What version of PHP is installed on your web server and has your web host recently upgraded the version of PHP or changed any PHP settings?)
Please try the following suggestion which should hopefully solve your problem:
Open the module's 'juicebox/includes/JuiceboxGallery.inc' file in a plain text editor and change line 171 from:
return $dom->saveXML();... to:
return $dom->saveXML($juicebox);Please note that the line number above refers to the recommended release of the module (dated 2014-Jan-28) which is available from this web page.