Vaupell Posted July 9, 2014 Share Posted July 9, 2014 (edited) So i keep getting these errors during payment Warning: touch() [function.touch]: Utime failed: Permission denied in /var/www/vhosts/---/httpdocs/subdomains/shop/classes/Tools.php on line 2995 Warning: touch() [function.touch]: Utime failed: Permission denied in /var/www/vhosts/---/httpdocs/subdomains/shop/classes/Tools.php on line 2995 Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /var/www/vhosts/---/httpdocs/subdomains/shop/tools/tcpdf/unicode_data.php on line 13316 While i have no idea what the function.touch error is at line 2995 i can do something about the memory issue. So i contacted my host, he told me to change it myself via the .htaccess file in the domain folder so i download the .htacces file but what do i add and where do i add it, before or after the end of presta shop or ?? and what do i add ? php_memory_limit 64mb; ? or ? Right now i did this, and it does not work.. 2 last lines of the .htaccess file.. # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again php_value memory_limit 64M Edited July 9, 2014 by Vaupell (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted July 9, 2014 Share Posted July 9, 2014 Add it at the end. And what you have there should work, but I would use 128mb 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