I am developing a web application which allows users to dynamically select images to be displayed in a JB slideshow that users have uploaded throughout the year. Image file names, titles, captions, and other info is stored in a MySQL db. Therefore, I dynamically create the needed config.xml file. I know enough PHP to get along, and I was kind of surprised this all worked. However, I sometimes get the Config XML file not found error and it has absolutely nothing to do with a pathing problem.
I have found that an "&" in the image title stored in the db that when placed in the config file's <title> tags cause the error. The same holds true with the galleryTitle parameter in the script: new juicebox( {galleryTitle: . . . });
I cannot find any documentation about what characters are allowed or NOT allowed in the <title> tags and/or the galleryTitle parameter and/or any other tags or parameters. (One issue was inserting a "—" character into a title string with a PHP script.)
This caused a lot of hair pulling because the cause of the problem had nothing to do with the error message, and forum searches did not help me.
Ideally I would like to see documentation helping me or any other user with this issue. At the very least, I would hope to warn other users trying to do something similar.
Assistance or help?
Thanks,
Bill