maganapro Posted February 8, 2019 Share Posted February 8, 2019 I'm trying to delete categories on the backoffice but i get error 500. 2019/02/08 10:52:21 [error] 18037#18037: *22 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/projects/dev/magana/online-it/htdocs/classes/db/DbQuery.php on line 199 PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /var/www/projects/dev/magana/online-it/htdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/Exception/OutOfMemoryException.php on line 1 PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 163840 bytes) in Unknown on line 0" while reading response header from upstream, client: 10.10.10.150, server: ~^(?<folder>[^.]*).ps.(?<user>[^.]*).dev.example.fr, request: "POST /admin-dev/index.php?controller=AdminCategories&id_category=128&deletecategory&token=9e98c9e335dc9dec64fa3c1d9eefcdea HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "online-it.ps.magana.dev.hexis.fr", referrer: "http://online-it.ps.magana.dev.example.fr/admin-dev/index.php?controller=AdminCategories&id_category=128&deletecategory&token=9e98c9e335dc9dec64fa3c1d9eefcdea" I increase the moery size... activate the debug mode... update and upgrade the server... edit my nginx config... Now i'm out of ideas of what is the problem... Any ideas ? Link to comment Share on other sites More sharing options...
maganapro Posted February 8, 2019 Author Share Posted February 8, 2019 To fix this I change the configuration on /admin-dev/index.php/configure/shop/seo-urls/ redirection from 302 to 301... 1 Link to comment Share on other sites More sharing options...
maganapro Posted February 11, 2019 Author Share Posted February 11, 2019 yes we can say that this thread is closed... Link to comment Share on other sites More sharing options...
maganapro Posted February 11, 2019 Author Share Posted February 11, 2019 non, actually the bug is still there.... im' unable to delete the categories. Now i'm getting : FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/projects/dev/magana/online-it/htdocs/classes/PrestaShopCollection.php on line 711 Link to comment Share on other sites More sharing options...
maganapro Posted February 11, 2019 Author Share Posted February 11, 2019 2019/02/11 10:36:12 [error] 18038#18038: *49731 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/projects/dev/magana/online-it/htdocs/classes/PrestaShopCollection.php on line 711 PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/projects/dev/magana/online-it/htdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php on line 629 PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163840 bytes) in Unknown on line 0" while reading response header from upstream, client: 10.10.10.150, server: ~^(?<folder>[^.]*).ps.(?<user>[^.]*).dev.example.fr, request: "POST /admin-dev/index.php?controller=AdminCategories&id_category=12&deletecategory&token=9e98c9e335dc9dec64fa3c1d9eefcdea HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "online-it.ps.magana.dev.example.fr", referrer: "http://online-it.ps.magana.dev.example.fr/admin-dev/index.php?controller=AdminCategories&id_category=12&deletecategory&token=9e98c9e335dc9dec64fa3c1d9eefcdea" 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