Jump to content

Recommended Posts

  • 3 weeks later...
  • 1 month later...

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

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

  • Like 1
Link to comment
Share on other sites

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 by DanielP (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...