bowlergolfer Posted April 29, 2014 Share Posted April 29, 2014 Hello, I hope someone can help me. I was going through our website with test products and was tyring to test to make sure everything was correct. When I checkout using COD or Authorize.net, or Pay by Check module I get the following error Fatal error: Allowed memory size of -2147483648 bytes exhausted (tried to allocate 261900 bytes) in /home/content/58/11078058/html/classes/shop/Shop.php on line 889 I was told by template monster that my memory needed to be increased which I did. I contacted godaddy and they said it wasn't on the host end as I had plenty enough memory for the largest scripts. I am not sure what to do as I have tried deleting modules, Increasing memory to 2048M and nothing has worked. Short of switching to another cart, I really don't know what else to do. If you take a look at my memory at wallpressions.com/info.php you will see I have plenty. Also, if you add a test product to the cart then proceed to checkout and click pay with COD so you can confirm order, you will see the error. Godaddy said it was a prestashop issue as we tried commenting out the line shown. The line is refferencing multi-shop or something which we don't have. We only have one shop. Please feel free to test it out. The website is wallpressions.com. Any help is appreciated!! Link to comment Share on other sites More sharing options...
El Patron Posted April 29, 2014 Share Posted April 29, 2014 what is your version of PrestaShop? Link to comment Share on other sites More sharing options...
bowlergolfer Posted April 29, 2014 Author Share Posted April 29, 2014 Hello El, I have 1.5.6.1. Link to comment Share on other sites More sharing options...
El Patron Posted April 29, 2014 Share Posted April 29, 2014 if you could, config/defines.inc.php change define('_PS_DEBUG_PROFILING_', false); to define('_PS_DEBUG_PROFILING_', true); post here when done so I can take a look... also recreate from your side to collect any additional info. you don't want to run with this on for very long if you have visitors... Link to comment Share on other sites More sharing options...
El Patron Posted April 29, 2014 Share Posted April 29, 2014 do you have this module? Change Order Reference Free if so uninstall, and retest Link to comment Share on other sites More sharing options...
bowlergolfer Posted April 29, 2014 Author Share Posted April 29, 2014 I did have that module. I deleted it and retested with the same error. Also, I changed the file to true and on the home page it is showing nothing but social sites now?? Thanks! Link to comment Share on other sites More sharing options...
El Patron Posted April 29, 2014 Share Posted April 29, 2014 I did have that module. I deleted it and retested with the same error. Also, I changed the file to true and on the home page it is showing nothing but social sites now?? Thanks! set back to false...so much for that debug technique. here is the topic I found about the module: http://www.prestashop.com/forums/topic/301856-place-order-validation-fail-500-server-error-fatal-error-allowed-memory-size-of/?p=1554889 Link to comment Share on other sites More sharing options...
El Patron Posted April 29, 2014 Share Posted April 29, 2014 please check to see if this file is in your shop: override/classes/order/OrderPayment.php if it is, rename it to _OrderPayment.php Link to comment Share on other sites More sharing options...
bowlergolfer Posted April 29, 2014 Author Share Posted April 29, 2014 Ok, I changed it back. I also have override/classes/order/Order.php SHould I change the name on that one? Link to comment Share on other sites More sharing options...
bowlergolfer Posted April 29, 2014 Author Share Posted April 29, 2014 I changed the name to _Order.php and the COD order went through without the fatal error. Is this a stable workaround? I hate to affect other files by changing the name on one unless it is ok. Thanks so much for your help! Link to comment Share on other sites More sharing options...
El Patron Posted April 29, 2014 Share Posted April 29, 2014 I changed the name to _Order.php and the COD order went through without the fatal error. Is this a stable workaround? I hate to affect other files by changing the name on one unless it is ok. Thanks so much for your help! for whatever reason and this is just a guess, when you 'deleted' the 'free' module the class override did not get removed, but it did not have Order.php in the module I looked at. Order.php must be another module that you loaded, you can maybe tell by looking at this file. so many times, free modules come back to haunt us in unexpected ways...this is why I either write my own or buy quality proven solutions. good luck! Link to comment Share on other sites More sharing options...
bowlergolfer Posted April 29, 2014 Author Share Posted April 29, 2014 Thanks for all your help! I noticed when I was checking out with authorize.net that it was taking a bit longer than other processors. Is there something I can do or put in such as a gif to let the customer know it is processing? Thanks again! Link to comment Share on other sites More sharing options...
El Patron Posted April 29, 2014 Share Posted April 29, 2014 Thanks for all your help! I noticed when I was checking out with authorize.net that it was taking a bit longer than other processors. Is there something I can do or put in such as a gif to let the customer know it is processing? Thanks again! I think best to post new topic for better exposure to community. Link to comment Share on other sites More sharing options...
Recommended Posts