dealbasher Posted January 16, 2014 Share Posted January 16, 2014 I am trying to add a new catagory to my prestashop and i keep getting this error Property Category->description is not valid. If someone can help me with this it would be great Thank you Jerry Link to comment Share on other sites More sharing options...
dealbasher Posted January 16, 2014 Author Share Posted January 16, 2014 Is there anyone that can help me with this problem Link to comment Share on other sites More sharing options...
vekia Posted January 16, 2014 Share Posted January 16, 2014 hello you use some contents in description field? if so, can you show it here? Link to comment Share on other sites More sharing options...
dealbasher Posted January 16, 2014 Author Share Posted January 16, 2014 I have 2 scree shots the i will load. and no matter how many words i put into the discription box it does the same thing. Link to comment Share on other sites More sharing options...
DevNet Posted January 16, 2014 Share Posted January 16, 2014 Hi, Is your description field is look like : 'description' => array('type' => self::TYPE_HTML, 'lang' => true, 'validate' => 'isString'), in your class ? Regards 1 Link to comment Share on other sites More sharing options...
dealbasher Posted January 16, 2014 Author Share Posted January 16, 2014 I can not find it Link to comment Share on other sites More sharing options...
vekia Posted January 17, 2014 Share Posted January 17, 2014 have you changed something before in validate.php class? 1 Link to comment Share on other sites More sharing options...
dealbasher Posted January 17, 2014 Author Share Posted January 17, 2014 I do not think so where do i find that at Link to comment Share on other sites More sharing options...
dealbasher Posted January 17, 2014 Author Share Posted January 17, 2014 I guess it was something to do with Firefox because it works great with IE and Chrome. Sorry for the trouble.Ill use IE I guess Link to comment Share on other sites More sharing options...
DevNet Posted January 17, 2014 Share Posted January 17, 2014 This is probably due to a problem Javasript / tinyMCE component . 1 Link to comment Share on other sites More sharing options...
customUK Posted February 2, 2014 Share Posted February 2, 2014 Same problem here. Just upgraded to 1.5.6.2 now cannot add short descriptions and category descriptions without ->description is not validerrors popping up. How do we disable the validation checking ? Link to comment Share on other sites More sharing options...
vekia Posted February 2, 2014 Share Posted February 2, 2014 what version you've got before update? Link to comment Share on other sites More sharing options...
customUK Posted February 3, 2014 Share Posted February 3, 2014 1.5.6.1 Link to comment Share on other sites More sharing options...
vekia Posted February 4, 2014 Share Posted February 4, 2014 ok thank you, so it doesnt work even if you use simple text in description? or it's related to code, that you're trying to use in desc field? Link to comment Share on other sites More sharing options...
register25 Posted March 15, 2014 Share Posted March 15, 2014 Have the same problem after update from 1.5.4.1. to 1.5.6.2. it doesnt matter or use simple text or html. But i have found that not all categories is affected. Some categories i can edit some not. Maybe someone have found solution? best regards R25 Link to comment Share on other sites More sharing options...
register25 Posted March 15, 2014 Share Posted March 15, 2014 I do not know or it is solution but it works for me: In validate.php i have commented these two lines which Vekia recommended to comment in this link: http://mypresta.eu/en/art/developer/prestashop-product-page-full-rich-editor.html#validate_class_change These lines: 1 2 //if (preg_match('/<[ \t\n]*script/ims', $html) || preg_match('/('.$events.')[ \t\n]*=/ims', $html) || preg_match('/.*script\:/ims', $html)) //return false; Hope it helps for others too. Thanks 1 Link to comment Share on other sites More sharing options...
DanielP Posted March 19, 2014 Share Posted March 19, 2014 (edited) I do not know or it is solution but it works for me: In validate.php i have commented these two lines which Vekia recommended to comment in this link: http://mypresta.eu/en/art/developer/prestashop-product-page-full-rich-editor.html#validate_class_change These lines: 1 2 //if (preg_match('/<[ \t\n]*script/ims', $html) || preg_match('/('.$events.')[ \t\n]*=/ims', $html) || preg_match('/.*script\:/ims', $html)) //return false; Hope it helps for others too. Thanks Many thanks, it worked for me too in prestashop 1.6 , problem : Description is not valid or El campo description no es válido. Edited March 19, 2014 by DanielP (see edit history) Link to comment Share on other sites More sharing options...
a-low Posted April 3, 2014 Share Posted April 3, 2014 I had the same problem. I figured out that there was a space at the end of the line. When I removed the space the problem was solved. Link to comment Share on other sites More sharing options...
GPS ARAB Posted December 16, 2015 Share Posted December 16, 2015 The solution I've found here! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now