Jump to content

Place order validation fail - 500 server error, Fatal error: Allowed memory size of..


Recommended Posts

Hello,

recently we have update from 1.5.3.1 to 1.5.6, everything was ok. For some reason two days ago our customers were not able to place an order, becouse when the clicked "place order button", the Fatal server error 500 appeared in 10 seconds. When we run the DEV mode, following message appears:

 

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 523800 bytes) in /classes/shop/Shop.php on line 881

 

 

We had 1024 MB memory on VPS server, so we asked our provider to increase the memory to 2GB, unfortunatelly still the same memory error.

 

We have more than 25 000 products, 500 categories etc.

 

 

 

any idea what is going on please?

 

thank you for any advices.

 

 

Jerry

 

Link to comment
Share on other sites

Hi,

I turned ON the PROFILING and this message appeared when I click "Place the order"

 

Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 523800 bytes) in /classes/shop/Shop.php on line 881

 

 

This error appears does not matter what type of payment I choose, always the same error.

 

 

 

Unfortunatelly, when the PROFILING is ON, the homepage index.php can not be loaded. When I turn on the DEV mod also, this message appears:

 

 Undefined index: s (/config/smartyfront.config.inc.php, line 44)

 

 

This 1.5.6 installation is two weeks old, based on 1-click update module.

 

 

thank you for any advice.

Jerry

Link to comment
Share on other sites

I doubt Mysql has anything to do with it.

 

The profiling report should shed some light on what is taking so much Ram, however, when you turm on that mode, every little PHP notice is stopping the page from loading.

 

You should address any error that comes up when profiling is on, and then paste the output here

Link to comment
Share on other sites

  • 4 weeks later...

Hi,

finally I made the complete system reinstall and everthing works fine now. There was some script or what, consuming so much memory, I have no idea what has happend.

 

anyway, thank you for your advices.

 

Jerry

 

Hola, tengo el mismo problema con prestashop 1.5.6.2 (también actualizado por 1 Click Upgrade). Al momento de confirmar el pedido se queda en la URL http://www.floreriaangel.cl/local/module/bankwire/validation

 

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 523800 bytes) in /home/floreri1/public_html/local/classes/shop/Shop.php on line 881

¿Cómo reinstalaste el sistema? ¿Borraste prestashop y lo instalaste de nuevo?

 

No sé inglés, uso el traductor de google por si pueden responder en español estaría agradecido.

 

------

 

Hi, I have the same problem with prestashop 1.5.6.2 (also updated for 1 Click Upgrade). At the time of confirming the order stays in the URL http://www.floreriaangel.cl/local/module/bankwire/validation

 

How reinstalaste system? Prestashop? Erased and installed it again?

 

I do not know English, use google translator if they can answer in Spanish would be grateful.

Link to comment
Share on other sites

Solucionado, el error era un módulo que instalé llamado "Change Order Reference Free" Versión 1.4.3, que sirve para cambiar el código a la referencias de los pedidos... Lo Desinstalé y volvió todo a la normalidad.

 

Por si a alguien más le pasa.

 

Yigo.

 

------------------------------------------------

Fixed the error was that I installed a module called "Change Order Reference Free" Version 1.4.3, used to change the code to reference the order ... I uninstalled and returned everything to normal.

If anyone else happens.

Yigo.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...