Topic: xml not found on selective i-devices

Hi,
I hope someone can help me with this. It appears that I have SV Gallery which views fine on some iphones (4+5) and ipad (not the latest one but the one before) but not on other iphones and ipad (air). It shows xml not found when they try to view the gallery. Could it be down to the individual device settings? And if so what can they do to see it?
I also asked the users of those devices to empty the browser cache...
Any suggestion would be very welcome!!!
Patricia

Re: xml not found on selective i-devices

It sounds like you might have hardcoded a certain domain or subdomain in your gallery's embedding code but that certain users are trying to access your gallery using a different URL.
For example, if you have a baseURL which is set to http://www.example.com, then your gallery will display only when you access your web page using the www subdomain (ie. http://www.example.com will work whereas http://example.com will not).
Check your gallery's embedding code and if you use absolute paths, change them to relative paths instead.
If you continue to experience difficulties, please post the URL to your gallery so that I can take a look and help further.

Steven Speirs
SimpleViewer Support Team.

Re: xml not found on selective i-devices

Thanks Steven, it think you got it! I changed the path and it seems to work... but a couple of people still need to do some testing for me. It seems this is a recent development with the latest software update of i-devices. Will report back once I'm 100% certain.  lol

Re: xml not found on selective i-devices

The problem stems from the fact that all gallery files for the Mobile Player (the HTML version of the gallery used on mobile devices) must be on the same domain or subdomain as the web page containing the gallery's JavaScript embedding code due to the same-origin policy.
The only way around this (other than to not use absolute paths within your gallery's embedding code) would be to implement a Cross-Origin Resource Sharing (CORS) solution.
If you wanted to try a CORS solution (which would not be necessary if you just use relative paths within your gallery's embedding code), then you could add the following line of code to the .htaccess file (an Apache web server is required) in the root directory of the domain which currently hosts your gallery.

Header add Access-Control-Allow-Origin "*"
Steven Speirs
SimpleViewer Support Team.