ERROR: remove - unknown array item - eventKrpanoLoadedEvts  

This forum is fully dedicated to Panotour / Panotour Pro bug reports as well as feature discussion.
no avatar
swisspano
Member
 
Posts: 15
Joined: Sun Aug 21, 2011 8:10 pm

ERROR: remove - unknown array item - eventKrpanoLoadedEvts

by swisspano » Fri Nov 15, 2013 7:14 pm

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?

User avatar
benji33
Kolor Team
 
Posts: 2807
Joined: Tue Apr 09, 2013 10:59 am
Location: France

Re: ERROR: remove - unknown array item - eventKrpanoLoadedEv

by benji33 » Mon Nov 18, 2013 1:53 pm

Hi,

Is it possible to make a test ?

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

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


Thanks.

no avatar
swisspano
Member
 
Posts: 15
Joined: Sun Aug 21, 2011 8:10 pm

Re: ERROR: remove - unknown array item - eventKrpanoLoadedEv

by swisspano » Mon Nov 18, 2013 7:36 pm

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?

User avatar
benji33
Kolor Team
 
Posts: 2807
Joined: Tue Apr 09, 2013 10:59 am
Location: France

Re: ERROR: remove - unknown array item - eventKrpanoLoadedEv

by benji33 » Tue Nov 19, 2013 9:19 am

Can you try and report me the result of this code to replace into the main XML ?

Code: Select all
  <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>

no avatar
swisspano
Member
 
Posts: 15
Joined: Sun Aug 21, 2011 8:10 pm

Re: ERROR: remove - unknown array item - eventKrpanoLoadedEv

by swisspano » Tue Nov 19, 2013 7:29 pm

With the new code I get the following error message:

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

User avatar
benji33
Kolor Team
 
Posts: 2807
Joined: Tue Apr 09, 2013 10:59 am
Location: France

Re: ERROR: remove - unknown array item - eventKrpanoLoadedEv

by benji33 » Wed Nov 20, 2013 9:02 am

Sorry It's my fault cade is :
Code: Select all
<events name="eventKrpanoLoadedEvts" onxmlcomplete="eventKrpanoLoadedAction();" keep="true" />
  <action name="eventKrpanoLoadedAction">
    set(events[eventKrpanoLoadedEvts].name, null);
    js(eventKrpanoLoaded());
  </action>

no avatar
swisspano
Member
 
Posts: 15
Joined: Sun Aug 21, 2011 8:10 pm

Re: ERROR: remove - unknown array item - eventKrpanoLoadedEv

by swisspano » Wed Nov 20, 2013 6:59 pm

With the new code everything works correct.

Thanks a lot for your support Benjamin!

User avatar
benji33
Kolor Team
 
Posts: 2807
Joined: Tue Apr 09, 2013 10:59 am
Location: France

Re: ERROR: remove - unknown array item - eventKrpanoLoadedEv

by benji33 » Thu Nov 21, 2013 10:57 am

Good.

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


Return to Panotour bugs & discussion

Who is online

Users browsing this forum: No registered users and 2 guests