Miqueloco Posted July 4, 2016 Share Posted July 4, 2016 I know it's a ver old topic, but i haven't found any answer which helps me. I got this: Everything it's okay. Even I have configured another software with this account and it works. Protocols and ports have been proven in all favours. I'm over. Link to comment Share on other sites More sharing options...
Miqueloco Posted July 7, 2016 Author Share Posted July 7, 2016 It has been solved. I post here in cas someone is crying in a forest with what was my problem. PHP version has many to do with AdminController and its use of 'variable functions', which in mine are used like this: if (!Validate::$field['validation']($value)) For those who doesn't know, like me, this syntax it means that we want to call the function named like the string stored in $field['validation'] So, if the string is, for instance "isGenericName", the code above is the same as: if (!Validate::isGenericName($value)) This syntax gave problems to me, so I managed to fix it changing it for this: $f = 'Validate::'.$field['validation']; if (!$f($value)) Hope it helps, blessings. Link to comment Share on other sites More sharing options...
shokinro Posted July 7, 2016 Share Posted July 7, 2016 thanks for sharing the information. but I do not see this piece of code !Validate::$field['validation']($value) in any file of default PrestaShop. is this comes from 3rd party module override and what is the version of your Prestashop? Link to comment Share on other sites More sharing options...
Miqueloco Posted September 9, 2016 Author Share Posted September 9, 2016 It's 1.5.6.1 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