Image-stitching and virtual tour solutions My account Updates
It is currently Sun Aug 31, 2014 7:37 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Nov 15, 2013 7:14 pm 
Offline
Member

Joined: Sun Aug 21, 2011 8:10 pm
Posts: 15
Since Update to PTP 2.0 Beta 3 and Beta 4 I get always the following message:

ERROR: remove - unknown array item - eventKrpanoLoadedEvts

This message does only appear if I open my tour online on my windows desktop browsers (Firefox, Safari, IE). The message does not appear if I watch the tour on my mobile devices or offline on my desktop.

http://www.appenzellerlinks.ch/Appenzellerland/Panoramatour/Kugelpanorama-Tour-Alpstein.htm

Any ideas?


Top
 Profile  
 
PostPosted: Mon Nov 18, 2013 1:53 pm 
Offline
Member
User avatar

Joined: Tue Apr 09, 2013 10:59 am
Posts: 2148
Location: France
Hi,

Is it possible to make a test ?

Into the Alpsteintour.xml file, change the 2 last lines :
Code:
<events name="eventKrpanoLoadedEvts" onxmlcomplete="events.removearrayitem(eventKrpanoLoadedEvts);eventKrpanoLoadedAction();" keep="true"/>
<action name="eventKrpanoLoadedAction">js(eventKrpanoLoaded());</action>

By these ones :
Code:
<events name="eventKrpanoLoadedEvts" onxmlcomplete="eventKrpanoLoadedAction();" keep="true"/>
<action name="eventKrpanoLoadedAction">events.removearrayitem(eventKrpanoLoadedEvts);js(eventKrpanoLoaded());</action>


Thanks.

_________________
Benjamin
http://www.kolor.com


Top
 Profile  
 
PostPosted: Mon Nov 18, 2013 7:36 pm 
Offline
Member

Joined: Sun Aug 21, 2011 8:10 pm
Posts: 15
Hi Benjamin

Thank you for your reply.

I changed the last 2 lines as suggested by you. But it didn't help.

Any other ideas?


Top
 Profile  
 
PostPosted: Tue Nov 19, 2013 9:19 am 
Offline
Member
User avatar

Joined: Tue Apr 09, 2013 10:59 am
Posts: 2148
Location: France
Can you try and report me the result of this code to replace into the main XML ?

Code:
  <events name="eventKrpanoLoadedEvts" onxmlcomplete="eventKrpanoLoadedAction();" keep="true" />
  <action name="eventKrpanoLoadedAction"{% if secure %} secure="true" {%endif%}>
    <!-- events.removearrayitem(eventKrpanoLoadedEvts); -->
    set(events[eventKrpanoLoadedEvts].name, null);
    js(eventKrpanoLoaded());
  </action>

_________________
Benjamin
http://www.kolor.com


Top
 Profile  
 
PostPosted: Tue Nov 19, 2013 7:29 pm 
Offline
Member

Joined: Sun Aug 21, 2011 8:10 pm
Posts: 15
With the new code I get the following error message:

FATAL: Alpsteintourdata/Alpsteintour.xml - XML parser error: element is malformed (#1090)


Top
 Profile  
 
PostPosted: Wed Nov 20, 2013 9:02 am 
Offline
Member
User avatar

Joined: Tue Apr 09, 2013 10:59 am
Posts: 2148
Location: France
Sorry It's my fault cade is :
Code:
<events name="eventKrpanoLoadedEvts" onxmlcomplete="eventKrpanoLoadedAction();" keep="true" />
  <action name="eventKrpanoLoadedAction">
    set(events[eventKrpanoLoadedEvts].name, null);
    js(eventKrpanoLoaded());
  </action>

_________________
Benjamin
http://www.kolor.com


Top
 Profile  
 
PostPosted: Wed Nov 20, 2013 6:59 pm 
Offline
Member

Joined: Sun Aug 21, 2011 8:10 pm
Posts: 15
With the new code everything works correct.

Thanks a lot for your support Benjamin!


Top
 Profile  
 
PostPosted: Thu Nov 21, 2013 10:57 am 
Offline
Member
User avatar

Joined: Tue Apr 09, 2013 10:59 am
Posts: 2148
Location: France
Good.

Is it possible to send me the .kpt file of your project for internal tests ?
Here or in private message. Thanks a lot.

_________________
Benjamin
http://www.kolor.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group