Reputation: 306
Prestashop suddenly gives an http 500 error. I turned on error log and got this:
"Fatal error: Out of memory (allocated 709623808) (tried to allocate 130968 bytes) in /var/www/vhosts/44/252639/webspace/httpdocs/shop.mywebsite.com/classes/Configuration.php on line 206".
I double checked the Configuration.php
on line 206 and it's just a standard prestashop file, nothing weird in it. After all it's an "Out of memory" error so maybe I should increase memory.
phpinfo()
shows memory_limit 1024M
, which is already pretty much, but maybe I should try 2048M. I tried to create a new custom php.ini but that did not work, because (according to phpinfo) the loaded ini file is searched in this directory: /opt/alt/php56/etc
.
My hosting provider does not allow me to edit it, it's read only.
What could I do to solve the problem ?
I did not make a backup yet.
Upvotes: 2
Views: 1311
Reputation: 306
I fixed it. It had nothing to do with not having enough memory or whatever. Someone created a product and that caused errors, I don't know what exactly but for everyone in the future:
Hope it will work.
Upvotes: 1