electric-2000 Posted December 27, 2013 Share Posted December 27, 2013 Recently upgraded to 1.5.6.1. Tried to update CMS content and got this error. [PrestaShopException] Property CMS->content is not valid at line 878 in file classes/ObjectModel.php Any ideas? Thanks Link to comment Share on other sites More sharing options...
vekia Posted December 28, 2013 Share Posted December 28, 2013 hello you use some iframes or scripts inside content? the same problem appears for just simple "text" ? Link to comment Share on other sites More sharing options...
meubleet Posted December 29, 2013 Share Posted December 29, 2013 Bonjour, J'ai le même message sur cette version 1.5.6.1, pour une simple tentative d'enregistrement d'un CMS (de tous même) après ouverture, même sans rien ajouter ni retrancher, et a fortiori en ajoutant du texte ou n'importe quoi d'autre ! J'ai essayé de désinstaller puis de réinstaller le block CMS (une astuce qui avait déjà marché pour une autre anomalie d'un module) mais ça ne change rien. Sorry, this is in english... Approximative translation : I have the same message for this version 1.5.6.1, just trying saving my cms without no change, or with basics changes (text) ; I uninstalled the module and install again, with no succes, same error message. (I have selected accept the iframe in preferences, but no change) Please if you have solution, thank you by advance. Rémi Link to comment Share on other sites More sharing options...
vekia Posted December 29, 2013 Share Posted December 29, 2013 maybe this solution: http://www.prestashop.com/forums/topic/298392-solved-i-cant-update-my-cms-page-or-create-a-new-one/ (similar problem) Link to comment Share on other sites More sharing options...
meubleet Posted December 29, 2013 Share Posted December 29, 2013 Hello, Thank you for you answer. I open the BDD in ps_cms the field "indexation" exists with Type value : TINYINT (1), attribut value : unsigned, NULL value : oui, DEFAUT value : 1... It seems not to be the solution to my particular problem... Perhaps an other idea ?! Rémi Link to comment Share on other sites More sharing options...
electric-2000 Posted December 29, 2013 Author Share Posted December 29, 2013 (edited) After reading a bunch of threads on the issue, I finally got ours working. 1. Turned on “Allow iframes on html fields ” under Preferences>General 2. After inserting images or videos in CMS, I clicked on “Edit HTML Source” and I found some bad code that was automatically inserted by the Page Content window. Once I stripped down the code everything worked. I used Dreamweaver to check the HTML and pasted it into the HTML editor. Hope this helps! Edited December 29, 2013 by electric-2000 (see edit history) Link to comment Share on other sites More sharing options...
meubleet Posted December 29, 2013 Share Posted December 29, 2013 Hello, Just in this new CMS you can not write javascript code. It was here for 3 years and now it is no more authorised to put javascript in the CMS pages. I delete javascript code and now it is ok. By my side problem is solved. thank you for your help. Bye. Rémi Link to comment Share on other sites More sharing options...
Recommended Posts