darckfrizzi Posted January 2, 2019 Share Posted January 2, 2019 Good morning and happy new year guys, I have a problem with a site! If I search for a product, it returns Error 500. Activating debugging mode tells me this: Whoops, looks like something went wrong. 1/1OutOfMemoryException in DbPDO.php line 187:Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in DbPDO.php line 187 Going to my hosting reading the error log I see that every search brings me these errors: Wed, 02 Jan 2019 15:03:11 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /web/htdocs/www.sinozi.com/home/classes/db/DbPDO.php on line 187: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:11 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /web/htdocs/www.sinozi.com/home/vendor/symfony/symfony/src/Symfony/Component/Debug/Exception/OutOfMemoryException.php on line 1: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:07 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /web/htdocs/www.sinozi.com/home/classes/db/DbPDO.php on line 187: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:07 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /web/htdocs/www.sinozi.com/home/vendor/symfony/symfony/src/Symfony/Component/Debug/Exception/OutOfMemoryException.php on line 1: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:07 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /web/htdocs/www.sinozi.com/home/classes/db/DbPDO.php on line 187: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:07 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /web/htdocs/www.sinozi.com/home/vendor/symfony/symfony/src/Symfony/Component/Debug/Exception/OutOfMemoryException.php on line 1: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Can you give me a hand? Do I have to contact the host? Or can I do it myself by customizing the PHP.INI file? (even if I practically have everything at its max) Link to comment Share on other sites More sharing options...
joseantgv Posted January 3, 2019 Share Posted January 3, 2019 (edited) 16 hours ago, darckfrizzi said: Good morning and happy new year guys, I have a problem with a site! If I search for a product, it returns Error 500. Activating debugging mode tells me this: Whoops, looks like something went wrong. 1/1OutOfMemoryException in DbPDO.php line 187:Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in DbPDO.php line 187 Going to my hosting reading the error log I see that every search brings me these errors: Wed, 02 Jan 2019 15:03:11 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /web/htdocs/www.sinozi.com/home/classes/db/DbPDO.php on line 187: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:11 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /web/htdocs/www.sinozi.com/home/vendor/symfony/symfony/src/Symfony/Component/Debug/Exception/OutOfMemoryException.php on line 1: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:07 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /web/htdocs/www.sinozi.com/home/classes/db/DbPDO.php on line 187: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:07 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /web/htdocs/www.sinozi.com/home/vendor/symfony/symfony/src/Symfony/Component/Debug/Exception/OutOfMemoryException.php on line 1: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:07 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /web/htdocs/www.sinozi.com/home/classes/db/DbPDO.php on line 187: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Wed, 02 Jan 2019 15:03:07 GMT [error] [client 2.227.223.245] - www.sinozi.com - AH01215: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /web/htdocs/www.sinozi.com/home/vendor/symfony/symfony/src/Symfony/Component/Debug/Exception/OutOfMemoryException.php on line 1: /web/htdocs/www.sinozi.com/home/index.php, referer https://www.sinozi.com/ Can you give me a hand? Do I have to contact the host? Or can I do it myself by customizing the PHP.INI file? (even if I practically have everything at its max) Could you disable non PrestaShop modules and retry? There is an option at "Advanced parameters -> Performance". Edited January 3, 2019 by joseantgv (see edit history) Link to comment Share on other sites More sharing options...
darckfrizzi Posted January 3, 2019 Author Share Posted January 3, 2019 I had already tried disabling everything, also removing the cache, cleaning etc. But keep giving me error 500 (I think it's a server problem :() 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