tasman2706 Posted September 24, 2012 Share Posted September 24, 2012 Hi, I am having trouble with versions 1.4.9.0 and 1.5 when I have tried to upgrade to them, so have gone back to 1.4.8.2 Upgrading to the newer versions messed up my version of 1.4.8.2 but I have managed to reinstall it as is, using my original database which I backed up, and installing each additional module as required. Everything is working okay, except when an order is placed. Here is the sequence of events. 1. Added a free downloadable item to the cart. 2. Press the check out button on the cart module. 3. Login to the website. 4. Press next on the Address screen. 5. Agree to the terms on the Shipping page and press next. 6. Get a Fatal Error instead of the Order History. I have cleared the order history and other relevant order tables from the database as I thought this may be causing the problem. I didn't think it could be the modules as they were installed on a clean install (except the database). I have disabled the PayPal module, which made no difference and I have no error logs to look at. Has anyone got any idea as to what the problem may be or any other suggestions on what I could try to get this working again. Thanks, Lee. Link to comment Share on other sites More sharing options...
tomerg3 Posted September 25, 2012 Share Posted September 25, 2012 Turn on dev mode and you'll get the full source of the error. It's in /config/defines.php set _PS_MODE_DEV_ to true and try again Link to comment Share on other sites More sharing options...
tasman2706 Posted September 25, 2012 Author Share Posted September 25, 2012 Hi, thanks for your reply. The full source of the error did materialise, but I do not fully understand from the file what the error is. I have attached the file, so if anyone has an idea of what the error actually is and how to fix it, it would be most appreciated. Thanks, Lee. error file.txt Link to comment Share on other sites More sharing options...
tomerg3 Posted September 25, 2012 Share Posted September 25, 2012 Looks like you may have deleted something that is needed. The error is coming from the following line in PaymentModule.php (98) if (!$this->active) die(Tools::displayError()); When it is being called using the FreeOrder class. Link to comment Share on other sites More sharing options...
tasman2706 Posted September 25, 2012 Author Share Posted September 25, 2012 Thanks for pinpointing where the error is originating from. However, if there was something deleted, it should have been re-instated when all the files in Prestashop 1.4.8.2 were installed. All of the original files were deleted prior to the new files being uploaded, so I cannot understand that a file is missing. Could it be the PayPal Module causing a problem? Or could it be a table setting in the database as this is the only thing in common to both the original installation and the new installation. I have reinstalled the classes folder, but still the same. Have you suggestions as to what could be missing or if it is the database, what table could be causing the problem. Thanks, Lee. Link to comment Share on other sites More sharing options...
tomerg3 Posted September 25, 2012 Share Posted September 25, 2012 I do not, I have not seen this issue before, but if it is not in the files, the only other logical place would be the DB... Link to comment Share on other sites More sharing options...
tasman2706 Posted September 25, 2012 Author Share Posted September 25, 2012 Okay, thanks for your help. I will look in the database to see if anything is amiss. Thanks, Lee. Link to comment Share on other sites More sharing options...
Recommended Posts