Jump to content

500 error during product search


darckfrizzi

Recommended Posts

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)

 

 

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

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)

 

 

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 by joseantgv (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...