Try our conversational search powered by Generative AI!

Upgrade 7 to 7.5 dojo scripterror in edit mode

Vote:
 

Hi,

I'm currently upgrading a site from 7 to 7.5 (an upwards) and are facing some issues regarding Dojo in edit mode.

Admin area, the site in general and everything else seem to work fine. But I get the below error message from dojo when entering edit mode and I have no clue currently what I'm missing.

I've checked so that my appdata base path is correct etc. and all seem fine. Been comparing with another working 7.5 site with the same version and still can't see where things are going wrong.

Appreciating some help if this is recognized, can't find anything related to this on google.

Error: scriptError (dojo.js (line 15))

_f()

req.injectUrl/_10a<()>

(Above error is appearing and nothing is rendered in edit mode because of this)

Thanks in advance

Viktor

#146926
Mar 31, 2016 9:55
Vote:
 

Hi,

You could try to turn on debugging scripts. then the error message and callstack should be displayed in more friendly way. You could do this by adding clientResources debug=true setting to config file:

<episerver.framework>
    <clientResources debug="true" /> 

And do you have any custom dojo widgets added to your solution?

You could try to turn off them temporary and check if the error still occurs.

#146929
Mar 31, 2016 10:28
Vote:
 

Hi,

Thanks, were actually just looking in to that!

No I don't have any custom dojo widgets I'm afraid.

Thanks for quick input.

#146930
Mar 31, 2016 10:33
Vote:
 

A proof that the smallest piece of text can mess with your brain.

After activating the client side debug and looking around it finally brought my attention to the language files.

A little line of text was outside of it's <></> and made the whole edit ui go boom.

This is solved, thank's for assistance!

Br,

Viktor

#146949
Mar 31, 2016 14:55
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.