I'am getting this error, but I don't understand why. Usually it's when the php-generated tree contains errors, but this time, it's pure html and I can view it directly without the tabs, there is no problems.
Mine must be a similar issue, my Chrome inspector is accusing jquery.js at line 6111, which has:
// Go to html and back, then peel off extra wrappers
div.innerHTML = wrap + elem + wrap;
So it looks like this could just be the error. What is jquery doing here? Is it jquery that is writing named html entities, or is taking input that I'm giving it (and that probably has named entities)? I have tried getting rid of all named entities from my site, so I don't think it's me, though there could still be a few that I'm not seeing...
Line 6111 is in the jquery.extend.clean method.
Any ideas on what exactly causes this and how to fix? And BTW I am linking to the most recent version of jquery from the google CDN. The website in question is http://consultapg33.altervista.org .
EDIT: I just discovered that there are problems when using the non-breaking space " " (which corresponds to " "). Getting rid of those seems to help a bit... I'm still getting "Encoding error" problems, I have no idea what is causing them, I'm looking into it...
EDIT 2: I just discovered that some entities need to be double encoded (maybe when within attributes?), so "&" becomes "&amp;" and " " becomes "&#160;". That took care of the "encoding error" issues.
However I still get the INVALID_STATE_ERR referred to jquery and also to ckeditor. In ckeditor.js it refers to line 54, that has exactly to do with processing nbsp's and "\xa0". So I have a hunch it may very well have to do with that...
John R. D'Orazio
Leave a comment on Lwangaman's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic