Copy link to clipboard
Copied
My project runs fine when I test it on my personal web host; however, when we upload it to the corporate site we receive the following error message. Can anyone suggest why this is happening and how I might correct it?
When I searched the forums for the "swfobject is undefined" error, I found a few messages that suggest that the standard.js file is not present in the directory. I have verified that the file is present. However, it has been renamed to standard.js.htm. I tested running the project from my host with the standard.js.htm file and it runs fine.
I'd really appreciate any help you can give me.
Thanks!
Dan
1 Correct answer
Yes, the file is present. Here's a screen grab of the directory the server admin sent me. Any other ideas? Thanks.
Copy link to clipboard
Copied
Did you also upload the standard.js file along with the HTM and SWF that Captivate creates at publish? If not, that's why you are seeing this error.
If you DID upload the standard.js, check that it did not get deleted before it reached the server. Make sure it is present on the web server. If you cannot see the folder on the web server, get your server admin person to confirm the standard.js is there. Sometimes the web server will delete js files or refuse to serve them.
Copy link to clipboard
Copied
Yes, the file is present. Here's a screen grab of the directory the server admin sent me. Any other ideas? Thanks.
Copy link to clipboard
Copied
The filename of the JS file is wrong. It's got .htm added at the end of it. It should be just standard.js
Copy link to clipboard
Copied
Thanks, Rod. I *thought* I had successfully tested with the htm extension in place; so I didn't think that was the issue. But now I'm thinking I must not have cleared my cache before testing.
In any event, it's working! Thanks again.
Dan

