kreik Posted February 7, 2017 Share Posted February 7, 2017 Hello. My prestashop display fatal error. I did 1click update but everything worked fine just after 2 weeks i could not access back-office and front-office also did not work as it should. I checked folders permissions and also .htaccess.I am not very advance in this matter so please if you can help me somehow. Version. 1.6.1.11 Back-office error: Fatal error: Call to undefined function smarty_modifiercompiler_string_format() in /nfsmnt/hosting1_2/9/a/9aa99cb5-3e99-4853-a87f-6beb58792411/ceremonyshop.sk/web/tools/smarty/sysplugins/smarty_internal_compile_private_modifier.php on line 78 front-office: while try to add product to the cart. Impossible to add the product to the cart. textStatus: 'parsererror'errorThrown: 'SyntaxError: Unexpected token < in JSON at position 0'responseText:Fatal error: Class '' not found in /nfsmnt/hosting1_2/9/a/9aa99cb5-3e99-4853-a87f-6beb58792411/ceremonyshop.sk/web/classes/Attribute.php on line 28 error_log.txt Link to comment Share on other sites More sharing options...
kreik Posted February 7, 2017 Author Share Posted February 7, 2017 (edited) I resolved problem on front-page by replacing file Atributes.php from fresh installation but my problem on back-office still persist. And also i found that other pages doesnt work on front-page for example: http://ceremonyshop.sk/login?back=history also trow fired error but after rewrite with fresh file problem disappeared. What could cause this problem? Additional: I replaced whole folders -classes -controllers -tools And somehow everything seem to work fine. I really dont understant it how can this happen. it wasnt after update but after 2 weeks. ----------------------------- One more update. I found out that files whick cost me a problem work fine when i just coppy them from my ftp to my computer and rewrite them. What could cause this problem? CHMOD rulles are same. ---------------- Finally i resolved whole problem by setting PHP version from 5.5.21 to - 5.6.5. Edited February 10, 2017 by kreik (see edit history) 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