Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > javascript error after upgrading View modes: 
User avatar
Member
Member
lior - 11/10/2010 1:04:52 AM
   
javascript error after upgrading
Hi,

I've got a module under our project that adds a query-string to css and JavaScript files to make the ability to update them without changing their name, every time the server recycles a new query-string is generated to allow updates under our CDN. This works exactly like the dummy query-string in Drupal.

This causes JavaScript errors on navigation in the templates, webparts, tree documents and more, then it prevents me from applying my selection, submitting and other stuff under our admin.

This is the error I get on all browsers:

Sys.ScriptLoadFailedException: The script 'http://www.mysite.com/CMSScripts/Dialogs/DialogHelper.js' failed to load. Check for: Inaccessible path. Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings. Missing call to Sys.Application.notifyScriptLoaded().
[Break on this error] throw Sys._ScriptLoader._e...ta.scriptsFailed.multipleCallbacks);

If i remove the module this error doesn't happen, this did not occur on my old version 3.1a, my current version is 5.5.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/11/2010 8:11:19 AM
   
RE:javascript error after upgrading
Hello,

Could you please let me know what module you are trying to add? Please supply also a link to the homepage of the project.
Could you please also try to access the DialogHelper file directly by accessing the mentioned url in your browser (http://www.mysite.com/CMSScripts/Dialogs/DialogHelper.js)?

Best regards,
Boris Pocatko

User avatar
Member
Member
lior - 11/11/2010 9:18:47 AM
   
RE:javascript error after upgrading
My website is http://www.conduit.com , I can access the DialogHelper through my browser.
The thing that causes the error causes because the module that exists in my project change my reference to the file in the source code from:
http://www.conduit.com/CMSScripts/Dialogs/DialogHelper.js
to:
http://www.conduit.com/CMSScripts/Dialogs/DialogHelper.js?ver=141074717

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/15/2010 6:11:22 AM
   
RE:javascript error after upgrading
Helo,

If you are able to access the mentioned file through your browser, then definitely there is a problem with your custom module. You can either try to debug it by yourself, or you can send us the project folder backup together with the database backup to support@kentico.com. Please include a short description on how to reproduce the issue.

Best regards,
Boris Pocatko