Hello, since a couple of days the out edit mode is blank. Admin works fine and the site istelf works fine. We have not deployed a new version in the last month. Everything works fine in our test and development enviorment.
The client complains about a dojo.js error.
Uncaught SyntaxError: Unexpected token <>widgets.js:2 Uncaught TypeError: Cannot read property 'ok' of undefined at widgets.js:2 at _c8 (dojo.js:15) at _36 (dojo.js:15) at _36 (dojo.js:15) at _36 (dojo.js:15) at _36 (dojo.js:15) at _36 (dojo.js:15) at _36 (dojo.js:15) at dojo.js:15 at _37 (dojo.js:15)(anonymous) @ widgets.js:2_c8 @ dojo.js:15_36 @ dojo.js:15_36 @ dojo.js:15_36 @ dojo.js:15_36 @ dojo.js:15_36 @ dojo.js:15_36 @ dojo.js:15(anonymous) @ dojo.js:15_37 @ dojo.js:15_7c @ dojo.js:15_f0 @ dojo.js:15_10a @ dojo.js:159VM843 global:1 Uncaught SyntaxError: Unexpected token <>>>
The license is ok and we don't have any modules/plugins installed except the standard episerver ones.
Do you have Web Accessibility Checker VS extension installed? Try disabling it.
The problem is in production. No VS installed there and I don't have any problems in development.
Sometimes restarting IIS helps.
Restared the site and app pool. That did not help. Can try with a complete IIS restart.
I would suggest installing EPiServer.CMS.UI.Sources from nuget and add
<clientResources debug="true" />
inside the <episerver.framework> node in web.config
That way you will get uncompressed files and hopefully you will see something with a little more meaning after a deploy to production
We have multiple languages installed on the site and some scripts was calling the shell with the language in the url ie ".../Shell/10.8.0.0/ClientResources/EPi/cms/nls/en-xy/episerver.cms.js".
Since this language was not in use anymore we made a rewrite rule on it to go to another language. This works fine on the site itself since yhe js files there does not have any culture in the source url. But this messed up the edit mode.
Thanks for your help.