I am new to umbraco, currently working on version 3.0.5. I got this error "System.Xml.XmlException: ']]>' is not allowed in character data" when I try to publish the changes from the backend. Tried to update the database column and get the changes on the site but does not work.
Take a look at the umbracolog table and see which node is causing the problem. Then take a look at that node in the backend looks like you have some content that is being seen as invalid xml. Is this for english content or another language?
@Ismail - Yes, I could figure out the node from the log and looked for the node in the "contentXml" table which stores the xml content for the node in the xml data type column. The Xml content is used for english language content to display the product(eg. chair - code, model, colour, height, length) specification table which is read using the XSLT format.
@Jan - I am trying to update a sub-child element of the node set, even if I try to update any content on the backoffice of Umbraco and click 'Publish', I get the above error. This happens when I tried to update the content. We are using TinyMceEditor to edit the content.
Could not figure out the illegal character or the issue since working a week on it.
I have tried the following text "An ideal wheelchair for home or hospital use features 8" front castors, 24" quick release pneumatic rear wheels, folds for easy storage, swing-away detachable footrests, durable steel construction and removable flip back full length arms. OSD Standard is available with accessories including elevating legrests, solid rear tyres and oxygen bottle carrier." in the following window.
Ok...does the problem still persist if you remove the " characters? (I would be surprised if those characters is causing it though - But worth the try).
Yes, I did try removing the " characters but still the same. The "Save" but also does not save the changes when I remove the " character and click "Save", the content is not changed. When I try to publish the same error.
I would like to check the logic behind the "Save" and "Save & Publish" buttons, could you please let me know the location of the logic. I found that the buttons are placed in a Placeholder called "plc" as shown below:
I'm afraid I have no more hints since it's about 7 years since I last worked on a Umbraco 3 solution. So I can't really remember what to do when seeing errors like this unfortunately.
umbraco 3.0.5 error when published the content
I am new to umbraco, currently working on version 3.0.5. I got this error "System.Xml.XmlException: ']]>' is not allowed in character data" when I try to publish the changes from the backend. Tried to update the database column and get the changes on the site but does not work.
Please help me on how I could solve the issue.
Ashu,
Take a look at the umbracolog table and see which node is causing the problem. Then take a look at that node in the backend looks like you have some content that is being seen as invalid xml. Is this for english content or another language?
Regards
Ismail
Hi Ashu and welcome to our :)
Wow, that's a really old version of Umbraco you're working on. But let's see if we can figure this out anyway.
What is the content you're trying to publish containing? And is the error shown in the backoffice or do you see it on the frontend of the website?
Do you do any custom API integrations or does this error happen after a content update? It might be an illegal character that is doing it.
/Jan
Hi Guys,
Thank you for getting back to me.
@Ismail - Yes, I could figure out the node from the log and looked for the node in the "contentXml" table which stores the xml content for the node in the xml data type column. The Xml content is used for english language content to display the product(eg. chair - code, model, colour, height, length) specification table which is read using the XSLT format.
@Jan - I am trying to update a sub-child element of the node set, even if I try to update any content on the backoffice of Umbraco and click 'Publish', I get the above error. This happens when I tried to update the content. We are using TinyMceEditor to edit the content.
Could not figure out the illegal character or the issue since working a week on it.
-Ashu
Hi Ashu
Could you copy/paste some of the text that you have entered in the rich text editor?
/Jan
Hi Jan,
I have tried the following text "An ideal wheelchair for home or hospital use features 8" front castors, 24" quick release pneumatic rear wheels, folds for easy storage, swing-away detachable footrests, durable steel construction and removable flip back full length arms. OSD Standard is available with accessories including elevating legrests, solid rear tyres and oxygen bottle carrier." in the following window.
Hi Ashu
Ok...does the problem still persist if you remove the " characters? (I would be surprised if those characters is causing it though - But worth the try).
/Jan
Yes, I did try removing the " characters but still the same. The "Save" but also does not save the changes when I remove the " character and click "Save", the content is not changed. When I try to publish the same error.
I would like to check the logic behind the "Save" and "Save & Publish" buttons, could you please let me know the location of the logic. I found that the buttons are placed in a Placeholder called "plc" as shown below:
<asp:PlaceHolder id="plc" Runat="server"></asp:PlaceHolder>
Please let me know the logic behind the buttons or the logic behind the "plc" placeholder.
Thank you.
Hi Ashu
I'm afraid I have no more hints since it's about 7 years since I last worked on a Umbraco 3 solution. So I can't really remember what to do when seeing errors like this unfortunately.
/Jan
is working on a reply...