Got To URL > Mobile Device problem

Q&A about the latest versions
Post Reply
fbm247
Posts: 12
Joined: Tue Mar 23, 2010 11:10 pm

Hi Everyone,

I have recently been getting back into Virtual Tours and the first project I took on was for a multi scene tour with HTML5.

I have practically got everything working except for the following error on mobile devices (ipad and iphone) when clicking on links which use a go to url action. "error: Network_ERR: XMLHttpRequest Exception 101" This error does not happen when using a desktop browser and the tour works as intended.

Here is a quick summary, along with 2 links and I have also attached the skin file.

The URL is a full URL path and is hosted on a remote web server. I have narrowed the problem down a little bit to the point I can get it working without putting the "www" in the URL when you load the webpage as well as not putting it in the go to URL action URL. Please see 2 below samples of the same link but with and without the www. I have also tried both targets _self and _blank with the same problem occurring.

This works on every desktop browser I have tested but the links in the drop down menu don’t work on an iPad
http://www.foxhangers.co.uk/virtualtour ... orama.html

Now try this URL, which is the same but without the www. This one appears to work fine on the iPad
http://foxhangers.co.uk/virtualtours/ar ... orama.html

I have tried combinations of using and not using www but the problem is I don't know what a website visitor will type into the browser so I can't determine if they will need it to have www or not in the go to URL path.

Has anyone else had a similar problem or can you see any faults in my skin file?

I have attached the skin file for you to take a look at in case you can see anything glaringly obvious, to be honest I’m a bit rusty in general on the skin templates as it’s been a couple years since I was heavily creating these on a regular basis so any help would be much appreciated. You will find the Go To URL Actions on the menu_button_x rectangles where x is replaced for each button in the menu with a,b,c,d,e,f,g,h

These buttons should open the next scene inside the existing template so not sure if it's best to use go to url or open next panorama for this.

Any help would be very much appreciated.

PS. I just edited this post as I have just noticed the www. link is not working on desktops either now, I must have had a cache issue when testing this the other day. The error I now get on desktop browser is

"Error:[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www.foxhangers.co.uk/virtualtour ... _player.js :: pano2vrPlayer/b.readConfigUrl :: line 94" data: no]"

Thanks in advance
Attachments
Artic Tour Menu.ggsk
(14.17 KiB) Downloaded 151 times
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Richard,
Looking at your URL I think I need to understand your file structure on your server.
Are all the XML files in the same folder or are they all in different folders?
If different, why?

Ideally you would have one folder, default name output.
Then have all your different xml files in there along with the player, js files and HTML page.

Then you would link directly to the xml file, example: Panorama.xml, not the full URL you are using now.

Which version do you have Pano2VR or Pano2VR Pro?
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
fbm247
Posts: 12
Joined: Tue Mar 23, 2010 11:10 pm

Hi Hopki,

I am using Pano2VR version 4.1.0, I think it's the standard version not pro.

There is no reason why I link to the XML files in different folders other than probably a bad habit.

I will try and upload a new edition in the next 1-2 hours with your suggested alterations.

Many Thanks
fbm247
Posts: 12
Joined: Tue Mar 23, 2010 11:10 pm

Hopki,

You are a legend and a life saver, changing your suggestions has fixed the problem and all tours are now in a single folder on the server. Here is the final result which works with or without www on both desktops and mobiles devices

http://www.foxhangers.co.uk/virtualtour ... ctic1.html

Thank you so much for this.
Post Reply