Norwegian Rat Posted August 5, 2013 Posted August 5, 2013 (edited) 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 August 20, 2013 by Izraelviz (see edit history) Share this post Link to post Share on other sites More sharing options...
naatz Posted August 15, 2013 Posted August 15, 2013 (edited) 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 August 15, 2013 by naatz (see edit history) 3 Share this post Link to post Share on other sites More sharing options...
Norwegian Rat Posted August 20, 2013 Posted August 20, 2013 Thank you so much naatz! Your solution did the trick! High five! =) Share this post Link to post Share on other sites More sharing options...
darktower777 Posted January 16, 2014 Posted January 16, 2014 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!!! Share this post Link to post 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