SaaS CMS has officially launched! Learn more now.

CMS 'All Properties' (On-Page Editing) mode is not opening . Giving JS error "Unexpected token"


Hi There,

After upgrading CMS to 10.8 from 7.5 , everything is working fine except CMS edit mode is not loading. When we are trying to  open "All Properties" (edit-mode) for updating any content  from CMS , it is not loading and giving some JS errors:

 Uncaught SyntaxError: Unexpected token <      epi.cms.contentediting.editors.selectioneditor.js:1 >
 Uncaught SyntaxError: Unexpected token <      epi.cms.contentediting.editors.contentareaeditor.js:1 >

Dec 13, 2017 15:34

Is this on every pagetype? every page? Do you have any custom property?


Dec 13, 2017 16:00

Yes it is happening for every page and PageType

Dec 13, 2017 16:04

Can you look in developer tools in Chrome and see if there are any 500's coming back from any requests in the network tab?

Dec 13, 2017 16:46

Checked developer tools and no 500 is coming for any request.

Dec 13, 2017 16:48

It looks like HTML is being returned instead of JS which could be causing the error. Is the site properly licenced too? 

Edited, Dec 13, 2017 16:55
<p>Yes everything is fine from license side.</p>
Dec 13, 2017 17:06

Can you try manually opening some of the requests that are served for the UI? Any issues should be visible when you view the contents.

Dec 13, 2017 17:11

I have upgraded to version 11. All pages are fine but on one custom page i am not able to view All Properties mode. It is seemed like clicked but still showing block mode.

Mar 22, 2019 16:31

What properties are on your model? Can you paste the code?

Mar 25, 2019 19:04
* 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.