Jump to content

[Solved] Got an error in CMS pages in version 1.4.11 i havn't seen before


Recommended Posts

When I try to add an iframe link from f.x youtube or soundcloud on a CMS page in 1.4.11, I get this error:

 

"the field content (English (English)) is invalid."

 

 

Havn't experienced this in 1.4.9 and 1.4.10. Have anyone else experienced this in 1.4.11? And if so, is there a solution to it?

 

Regards

Edited by Izraelviz (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

o problema esta na pasta classes

 

Product.php

linha 249

 

de:

 

'description' => 'isCleanHtml', 'description_short' => 'isCleanHtml',

 

'available_now' => 'isGenericName', 'available_later' => 'IsGenericName');

 

para:

 

'description' => 'isString', 'description_short' => 'isString', 'available_now'

 

=> 'isGenericName', 'available_later' => 'IsGenericName');

 

CMS.php

linha 41

 

de:

 

protected $fieldsValidateLang = array('meta_description' => 'isGenericName',

 

'meta_keywords' => 'isGenericName', 'meta_title' => 'isGenericName',

 

'link_rewrite' => 'isLinkRewrite', 'content' => 'isCleanHtml');

 

para:

 

protected $fieldsValidateLang = array('meta_description' => 'isGenericName',

 

'meta_keywords' => 'isGenericName', 'meta_title' => 'isGenericName',

 

'link_rewrite' => 'isLinkRewrite', 'content' => 'isString');

Edited by naatz (see edit history)
  • Like 3
Link to comment
Share on other sites

  • 4 months later...

o problema esta na pasta classes

 

Product.php

linha 249

 

de:

 

'description' => 'isCleanHtml', 'description_short' => 'isCleanHtml',

 

'available_now' => 'isGenericName', 'available_later' => 'IsGenericName');

 

para:

 

'description' => 'isString', 'description_short' => 'isString', 'available_now'

 

=> 'isGenericName', 'available_later' => 'IsGenericName');

 

CMS.php

linha 41

 

de:

 

protected $fieldsValidateLang = array('meta_description' => 'isGenericName',

 

'meta_keywords' => 'isGenericName', 'meta_title' => 'isGenericName',

 

'link_rewrite' => 'isLinkRewrite', 'content' => 'isCleanHtml');

 

para:

 

protected $fieldsValidateLang = array('meta_description' => 'isGenericName',

 

'meta_keywords' => 'isGenericName', 'meta_title' => 'isGenericName',

 

'link_rewrite' => 'isLinkRewrite', 'content' => 'isString');

Thankyou!

 

you save me!!!

Link to comment
Share on other sites

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...