prestashopmediarete Posted June 9, 2015 Share Posted June 9, 2015 Hello, I have a big problem creating a new catalog price rule. When i click in "Add new catalog price rule" Prestashop crasches returning a blank page. In the Apache error-log i found this error: [Mon Jun 08 16:40:03 2015] [error] [client 95.253.205.120] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 71 bytes) in /home/www/xyz.net/htdocs/classes/db/Db.php on line 516, referer: http://www.xyz.net/admin_xyz/index.php?controller=AdminSpecificPriceRule&token=fa952ee58e5b75e9767750973ef334ff Look that the memory limit is 512MB, i try to set memory limit up to 640MB but I got the same error [Tue Jun 09 09:59:01 2015] [error] [client 95.241.133.33] PHP Fatal error: Allowed memory size of 671088640 bytes exhausted (tried to allocate 262144 bytes) in /home/www/xyz.net/htdocs/classes/db/Db.php on line 516, referer: http://www.xyz.net/admin_xyz/index.php?controller=AdminSpecificPriceRule&token=3a457b92b2a76b9143f7004001f7476c I can not further increase memory limit. This is a default Prestashop feature, anyone knows if there is a bug fix? Prestashop version 1.6.0.9 Number of products: 8400~ Link to comment Share on other sites More sharing options...
prestashopmediarete Posted June 9, 2015 Author Share Posted June 9, 2015 The problem was in the "feature condition" in fact Prestashop tryied to allocate about 900.000~ record (yes I have many features) and it die in fatal error. I commented the feature condition in the AdminSpecificPriceRuleController.php and now it works perfectly. Problem solved 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