IdeaSpaceVR / IdeaSpace

:sunglasses: Create interactive 3D and VR web experiences for desktop, mobile & VR devices.
MIT License
419 stars 118 forks source link

IdeaSpace 360 Photo Tour - navigation to spheres not working #49

Closed nafem closed 6 years ago

nafem commented 6 years ago

It is possible to create a navigation hotspot to another sphere but they don't appear in the viewer. And when edited they cause an error:

VM1862:1 Uncaught SyntaxError: Unexpected token ] in JSON at position 0

Which I think is emanating from: at HTMLDivElement. (field_position_add_edit.js:87)

IdeaSpace 1.0.4 Photo Tour 1.1 Chrome 62

weddingdj commented 6 years ago

Which IdeaSpaceVR version are you using? Which Photo Tour version are you using? Which web browser?

It looks like the value in the .positions-info were not set. It should look like that:

screen shot 2017-10-17 at 10 59 46

nafem commented 6 years ago

Updated original post with versions

weddingdj commented 6 years ago

It could be that there is something wrong with the IdeaSpaceVR installation path... is there an index.php in your path?

Do you see js errors already in your console when you are on the photo sphere edit page?

When you set the hotspots it writes the values into this hidden input field, but this is not being done in your case. To be precise: it is writing the values when you click the green insert button, after attaching at least one hotspot.

nafem commented 6 years ago

I have the mod_rewrite working correctly so index.php is not in the path.

I just created a separate Space using the same image and same links and it works fine, but the previous version is still creating errors. I will do some further testing and close if I can't reproduce the error again.

nafem commented 6 years ago

It seems it was a one off. Closing