Edit mode sporadically not loading [Episerver 7.1.2]
Vote:
Hi, if anybody has an idea how to approach to this situation.
PROBLEM: Edit mode doesn't load from time to time. Sometimes it takes 4 or 5 reloads of the page and tree loads. Sometimes it just doesn't want to load and I switch to old edit mode.
ERROR:
1) When I navigate to the edit mode, this what Chrome's console outputs
GET http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/jquery.js 404 (Not Found) dojo.js:15 Error {src: "dojoLoader", info: Array[2]} dojo.js:15 Uncaught ReferenceError: Drag is not defined klippy.js
2) Edit mode doesn't load, top bar with Edit / Admin / Reports... stays visible.
3) I click Edit link. Tree, toolbar and rest of the edit mode doesn't load again. The top bar collapses.
Console outputs
GET http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/jquery.js 404 (Not Found) dojo.js:15 Error {src: "dojoLoader", info: Array[2]} dojo.js:15 Error: scriptError at _f (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:436) at HTMLScriptElement.<anonymous> (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:17711) widgets.js:2 Error: scriptError at _f (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:436) at HTMLScriptElement.<anonymous> (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:17711) widgets.js:2 Error: scriptError at _f (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:436) at HTMLScriptElement.<anonymous> (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:17711) widgets.js:2
And it goes on and on.
THE HACK:
Looking at this [http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/jquery.js] got me to check for this file. It is not on the location. Checked the same in other project, also didn't find it within /dtk. I went one level up and found EPiJQuery.js. Copied it to /dtk under name jquery.js. Whole edit mode now loads and console outputs no errors!!!
QUESTION(s):
What was wrong with this instance of Alloy MVC? I saw this not only on this project but on those below 7.1.2 as well. Why is jquery.js missing from Shell 2.1.90? Is the one I renamed the correct one needed there?
EPISERVER VERSION: I have AlloyTech MVC example upgraded to 7.1.2.
This is the status of modules installed:
EPiServer 7.1.2 EPiServer 7.1 with the latest fixes. EPiServer Add-On Store Platform 2.1.90 Core components for the Add-on store EPiServer-Platform EPiServer Add-On Store UI 2.1.90 The Add-on store user interface EPiServer-UI EPiServer Edit UI - Client side debug support 2.1.82 Provides uncompressed debug versions of client side javascript files for the EPiServer CMS and Platform UI. EPiServer Edit UI 2.1.82 Used for updating EPiServer 7 CMS Edit user interface EPiServer-UI EPiServer UI Platform 2.1.90 Core components for the user interface EPiServer-Platform Self-Optimizing Block 1.1.1 Used for multivariate testing of blocks in EPiServer CMS EPiServer-Blocks
Hi, if anybody has an idea how to approach to this situation.
PROBLEM: Edit mode doesn't load from time to time. Sometimes it takes 4 or 5 reloads of the page and tree loads. Sometimes it just doesn't want to load and I switch to old edit mode.
ERROR:
1) When I navigate to the edit mode, this what Chrome's console outputs
GET http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/jquery.js 404 (Not Found) dojo.js:15
Error {src: "dojoLoader", info: Array[2]}
dojo.js:15
Uncaught ReferenceError: Drag is not defined klippy.js
2) Edit mode doesn't load, top bar with Edit / Admin / Reports... stays visible.
3) I click Edit link. Tree, toolbar and rest of the edit mode doesn't load again. The top bar collapses.
Console outputs
GET http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/jquery.js 404 (Not Found) dojo.js:15
Error {src: "dojoLoader", info: Array[2]} dojo.js:15
Error: scriptError
at _f (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:436)
at HTMLScriptElement.<anonymous> (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:17711) widgets.js:2
Error: scriptError
at _f (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:436)
at HTMLScriptElement.<anonymous> (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:17711) widgets.js:2
Error: scriptError
at _f (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:436)
at HTMLScriptElement.<anonymous> (http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/dojo/dojo.js:15:17711) widgets.js:2
And it goes on and on.
THE HACK:
Looking at this [http://localhost:37009/episerver/Shell/2.1.90/ClientResources/dtk/jquery.js] got me to check for this file. It is not on the location. Checked the same in other project, also didn't find it within /dtk. I went one level up and found EPiJQuery.js. Copied it to /dtk under name jquery.js. Whole edit mode now loads and console outputs no errors!!!
QUESTION(s):
What was wrong with this instance of Alloy MVC? I saw this not only on this project but on those below 7.1.2 as well. Why is jquery.js missing from Shell 2.1.90? Is the one I renamed the correct one needed there?
EPISERVER VERSION: I have AlloyTech MVC example upgraded to 7.1.2.
This is the status of modules installed:
EPiServer 7.1.2 EPiServer 7.1 with the latest fixes.
EPiServer Add-On Store Platform 2.1.90 Core components for the Add-on store EPiServer-Platform
EPiServer Add-On Store UI 2.1.90 The Add-on store user interface EPiServer-UI
EPiServer Edit UI - Client side debug support 2.1.82 Provides uncompressed debug versions of client side javascript files for the EPiServer CMS and Platform UI.
EPiServer Edit UI 2.1.82 Used for updating EPiServer 7 CMS Edit user interface EPiServer-UI
EPiServer UI Platform 2.1.90 Core components for the user interface EPiServer-Platform
Self-Optimizing Block 1.1.1 Used for multivariate testing of blocks in EPiServer CMS EPiServer-Blocks