RangeError: Invalid array length and other problems

Having trouble getting started? The viewer isn't loading properly?
basest
Posts: 3
Joined: Mon Jul 20, 2020 12:41 pm
Contact:

RangeError: Invalid array length and other problems

Postby basest » Fri May 14, 2021 1:30 pm

I've been banging my head into a problem all afternoon. Full disclosure: I'm not a developer, and only have a basic understanding of code. I'm using SpotEditor v3.6.4.70, which I stepped back to after I was having the same issues with the new beta. The last time I made any 360s was about 6 months ago, and I was able to test it on my personal website before giving it to our developers who are doing their own voodoo with the files to post it on the real site. Here's one from before, that works just fine:
http://www.bassline-shift.com/RYOBI_hp/ ... Auger.html

here's the one I made today, that doesn't work at all.
http://www.bassline-shift.com/RYOBI_hp/ ... Drill.html

Each browser I've used generates a slightly different set of errors in the console, and for some reason, it can load the .js and .css files in Safari, but in Chrome and Brave, those are not found. As far as I can tell, both the working file and the non working file are set up the same way. I'm at a complete loss here.

WebSupport
Posts: 1120
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: RangeError: Invalid array length and other problems

Postby WebSupport » Fri May 14, 2021 3:43 pm

Hi there and thanks for contacting us here :)

The issue is due to missing files (scripts) in your last example:

Code: Select all

<link type="text/css" rel="stylesheet" href="imagerotator/html/css/basic.css"/>
<script type="text/javascript" src="imagerotator/html/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="imagerotator/html/js/imagerotator.js"></script>


These are missing. If you try to access any of them, it will bring the 404 error (file not found). For example:

http://www.bassline-shift.com/RYOBI_hp/ ... rotator.js

You may just need to re-upload the contents of the published folder.

basest
Posts: 3
Joined: Mon Jul 20, 2020 12:41 pm
Contact:

Re: RangeError: Invalid array length and other problems

Postby basest » Mon May 17, 2021 4:38 am

that would seem to be the case... i could see through the debug console that that was an error and when i go to the link, i also get a 404 error. However... the files are there (see the attached screenshots). I assume it's something wrong with my server/setup, but other 360 files are working correctly using the same folder structure, all within the same folder on my server.
Attachments
Screen Shot 2021-05-17 at 8.34.09 AM.png
Screen Shot 2021-05-17 at 8.34.03 AM.png

WebSupport
Posts: 1120
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: RangeError: Invalid array length and other problems

Postby WebSupport » Mon May 17, 2021 7:32 am

Yes, you may need to re-upload and may be try to upload to a different folder first.


Return to “Setup Issues and Embedding”

cron