Script loading issue

Will

New member
Hi,

I have tried using your plugin with the latest version of WordPress and attempted to use the demo that is supplied. The plugin will not load anything and there is an error in the console. It should be noted, I have censored the URL from the console log as it is not a live site. Could you advise on how to resolve this issue?

Many thanks,
Will.

Code:
VM5056:1 INFO Powered by WebRotate 360 © ~ v3.6 (build 3.6.2.110)
first:1 GET https://[CENSORED]/test/first 404 (Not Found)
Image (async)
WR360.cL.Load @ VM5056:1
WR360.ImageRotator.dq @ VM5056:1
WR360.ImageRotator.im @ VM5056:1
WR360.ImageRotator.nd @ VM5056:1
success @ VM5056:1
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
y @ jquery.js?ver=1.12.4:4
c @ jquery.js?ver=1.12.4:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
WR360.ImageRotator.kO @ VM5056:1
WR360.ImageRotator.jy @ VM5056:1
WR360.ImageRotator.gN @ VM5056:1
WR360.ImageRotator.runImageRotator @ VM5056:1
(anonymous) @ VM5056:1
each @ jquery.js?ver=1.12.4:2
each @ jquery.js?ver=1.12.4:2
WR360.bs.cD @ VM5056:1
(anonymous) @ VM5056:1
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
ready @ jquery.js?ver=1.12.4:2
K @ jquery.js?ver=1.12.4:2
VM5056:1 ERR Preloader IO ERROR: https://[CENSORED]/test/first
 

WebSupport

Active member
Hi Will,

This won't be enough to see what exactly happened unfortunately. We can gess that the viewer xml file is not loaded (config parameter in your shortcode).

- Can you share your shortcode?
- Do you know how to access the Network tab in your browser and filter by XHR to see the request that gets the xml?
 

Will

New member
Hi,

So, the shortcode I'm using is copied from your documentation and is using the URL mentioned there to load the demo version.

Code:
[wr360embed name="view1" width="100%" height="500px" config="/wp-content/plugins/webrotate-360-product-viewer/360_assets/sampleshoe/config.xml"]
As for any XML requests, the only one that I found was requesting this URL: https://[CENSORED]/wp-content/plugins/webrotate-360-product-viewer/license.lic. This responds (as you may know) with this: "This is a dummy to speed up viewer loading."

Many thanks,
Will.
 

WebSupport

Active member
Is your wp-content folder located in the root of https://[CENSORED] or is there another folder in this "censored" path?

If there's another folder there (happens often with local testing), the relative URL of the xml file in the config parameter of the shortcode will be different, e.g:

Code:
/my-actual-folder-with-wordpress-install/wp-content/plugins/webrotate-360-product-viewer/360_assets/sampleshoe/config.xml

Or you may try to use a full (absolute) URL instead, i.e:

Code:
https://[CENSORED]/wp-content/plugins/webrotate-360-product-viewer/360_assets/sampleshoe/config.xml

PS: it's good to paste this absolute URL in your browser address bar to double check it can be actually loaded by the browser.
 

Will

New member
Hi,

I think I have fixed the path issue, I used ABSPATH. But, the demo content still is not showing. It's just a blank page with no errors in the console. I'm at a loss here.

Will.
 

WebSupport

Active member
Hmm... is there any way you could send us the html content of the entire page with the issue to support at webrotate360 dot com or attach here as a file?
 
Top