Jerry-lbc Posted January 15, 2014 Share Posted January 15, 2014 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 More sharing options...
prestashopninja Posted January 15, 2014 Share Posted January 15, 2014 Hello, This may be caused by several issues. Could you please turn the debug profiler on and paste here the output? 1 Link to comment Share on other sites More sharing options...
tomerg3 Posted January 15, 2014 Share Posted January 15, 2014 There is no good / legit reason to have so much RAM and reach that limit, unless you have a very high traffic site. Was this happening with a particular payment module? Did it happen again since? Are you able to reproduce it? Link to comment Share on other sites More sharing options...
Jerry-lbc Posted January 15, 2014 Author Share Posted January 15, 2014 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 More sharing options...
prestashopninja Posted January 15, 2014 Share Posted January 15, 2014 Under these conditions, I would suggest to deactivate all active modules and give it a try again. If without modules, your e-store will run good, we can safely tell it is a module problem. Then you can reactivate the modules one by one to narrow down the bug analysis. Link to comment Share on other sites More sharing options...
vekia Posted January 15, 2014 Share Posted January 15, 2014 omg 2147483648 it's about 2gb, prestashop doesn't consume so much ram definitely something doesnt work there. have you got an access to your mysql slow error log? Link to comment Share on other sites More sharing options...
tomerg3 Posted January 15, 2014 Share Posted January 15, 2014 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 More sharing options...
Jerry-lbc Posted January 16, 2014 Author Share Posted January 16, 2014 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 Link to comment Share on other sites More sharing options...
Yigo Posted February 8, 2014 Share Posted February 8, 2014 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 More sharing options...
Yigo Posted February 8, 2014 Share Posted February 8, 2014 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts