IdeaSpaceVR / IdeaSpace

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

Preview not working on XAMPP on Windows #46

Closed mkopar closed 7 years ago

mkopar commented 7 years ago

I tried to create space with IdeaSpaceVR and on preview got:

image

I think the issue lies here:

image

but unfortunately I don't know how to fix this issue.

weddingdj commented 7 years ago

On the first screenshot there is an unknown character in the path, after /themes. Please verify that the path and directory name /themes/vr-view-360-image is correct in your IdeaSpaceVR installation.

The second screenshot just says that some themes are active and others are not, depending if you activated them on the Themes page in the web interface.

mkopar commented 7 years ago

I know it's unknown character in the path, but I think that is because of the backslash character in the isvr_themes table:

image

If I change 'themes\vr-view-360-image' to 'themes/vr-view-360-image' by hand in the database the preview starts working, but after that application stops working when I wanted to edit the space.

weddingdj commented 7 years ago

I see. I fixed it in master. This line should fix your issue:

https://github.com/IdeaSpaceVR/IdeaSpace/blob/master/app/Http/Controllers/Admin/ThemesController.php#L49

Please let me know.

weddingdj commented 7 years ago

You also have to delete the contents of the table isvr_themes, then go to the Themes admin page in the web interface again and the tables will be filled with themes/.