Topic: Config XML not found

I've been using Juicebox Pro for many years and have hundreds of galleries on my website (http://www.edpeet.com/).

No changes have been made to my website in several months, but suddenly Juicebox fails with the message "Juicebox Error: Config file not found." in place of where the Juicebox gallery should be.

I've searched this forum for this error, but I'm already doing everything that is mentioned in the fixes. Besides, like I mentioned, I haven't changed anything on my website in months.

All of my galleries are one level deeper that where the gallery should display; i.e. they are all in a subdirectory "gallery".

An example of my embedded code is shown below.

One weird thing is that Edge shows the gallery on my home page, but won't show any other galleries. Chrome and Firefox don't show any galleries. My default browser is Chrome.

I believe that all the web browsers recently updated. Could they have done something to prevent them from finding config.xml?  I've looked in quite a few of my "gallery" directories and they all contain config.xml.

One other thing: I used to have a login to juicebox.net, but it doesn't recognize my login anymore. I tried "resetting my password", by no email was received. Could this have something to do with the problem? I know that my free support has expired, but I'll be glad to pay for additional support.

An example of my embedded code is:
<div class=juicebox>
<!--START JUICEBOX EMBED-->
    <script src="gallery/jbcore/juicebox.js"></script>
    <script>
  new juicebox({
    baseUrl : 'gallery/',
    containerId : 'juicebox-container',
    galleryWidth : '900',
    galleryHeight : '600',
    backgroundColor: '#000000'
  });
  </script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
</div>

Thanks for your help.
Ed

Re: Config XML not found

I should be able to see your gallery's 'config.xml' file here: http://www.edpeet.com/gallery/config.xml
However, going directly to that location in a browser results in the message "Your request was blocked by the Web Application Firewall".
You should be able to view the 'config.xml' file like in this demo gallery: https://juicebox.net/demos/lite/full/config.xml

It looks like something on your web server is blocking access to your gallery XML files and this is causing your problem.
This makes sense as, if you have changed nothing on your website but the galleries now no longer function, then this suggests that something must have changed on your web server to cause the problem (as none of the gallery code itself will have changed).

Please check in with your web host and ask them to allow XML files (at least your gallery XML files) through your Web Application Firewall.
This should resolve your problem.

One other thing: I used to have a login to juicebox.net, but it doesn't recognize my login anymore. I tried "resetting my password", by no email was received. Could this have something to do with the problem?

If you have trouble with an old forum account, please email me at steven@juicebox.net (with a note of your forum username) and I can sort you out with a temporary password so that you can log in (and then change the password without needing an email confirmation).
Incidentally, any problems with your forum account would have no effect on your website. This is a completely separate issue.

Re: Config XML not found

Thanks, Steven.  I'll contact my web host.

I appreciate the quick response.

Ed

Re: Config XML not found

Just to let you know what happened:
I contacted my web host, Earthlink.
They said that I need to rename all the config.xml files and use the parameter "configUrl newname.xml" in the Juicebox embedded code. I tried this and it works. I don't understand why suddenly "config.xml" is not acceptable, nor why this just happened. I've reached out again to Earthlink support and asked these questions.
But I can at least get my Juicebox galleries back online. I have 170 galleries on my website, so it will take some time.
Thanks
Ed

Re: Config XML not found

I'm glad you're making progress but it seems very strange that your web host does not allow you to have any files named 'config.xml' on your server or that you can't simply make an exception for files named as such in the security module that it appears your are being forced to use (otherwise, I guess you could just have switched it off).

Re: Config XML not found

Another update: Earthlink just sent me this message:

<start of message>
We have reviewed the issue, and it is related to a recent security enhancement implemented across all hosting environments to improve overall website protection, including your account.
As part of this update, certain file names such as “config.xml” are now restricted by the system, as they are commonly associated with sensitive configuration files. For security reasons, access to files with these names may be blocked, even if the content itself is valid.
This explains why the images do not display when using the name “config.xml,” but work correctly once the file is renamed (for example, to “home.xml”).
To resolve this, we recommend renaming the affected files to a different name that does not include “config.”
<end of message>

It would have been nice if they had warned my first.
Thanks
Ed

Re: Config XML not found

I'm sorry to hear that. It seems like a very aggressive security policy they have in place and it's unfortunate that they do not allow you to make decisions about the security on your own web site.
At least you know the root of the problem and can work around it (although I realize there is no quick and easy solution, other than to perhaps change your web host to one which gives you more freedom).