justicejustine Posted October 15, 2013 Share Posted October 15, 2013 TECHNICAL ERROR: unable to confirm the order Details: Error thrown: [object Object] Text status: error Please help!! I'm willing to even pay for a solution. I tried debugging this for hours and hours now. I'm using 1.5.3. I can't confirm my order for any product, whether free or not. I can add products to cart and edit them but I can't confirm. I tried: disabling ajax cart, ajax search. I tried: turning off SSL. Nothing works. My site is www.thenotexchange.com You can try purchasing the free product http://thenotexchange.com/index.php?id_product=16&controller=product Test account: Email: [email protected] Password: testtestaccount Do not purchase anything real, it's not on sandbox mode. I've tried paying via Paypal, a blank page is shown but on the buyer's side, payment is sent but no invoice is received and for virtual products, no file downloads are received (although I've tried editing OrderHistory.php which is the solution). And even bank wire doesn't work as a blank page is shown when I try to confirm my order. Thank you!! Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2013 Share Posted October 15, 2013 it will not be as easy as it seems to solve. i've noticed that you've got there internal server error please turn on error reporting, then instead internal server error i will see full error code Link to comment Share on other sites More sharing options...
justicejustine Posted October 15, 2013 Author Share Posted October 15, 2013 Ok, thanks for the fast reply Vekia! I've turned it on. Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2013 Share Posted October 15, 2013 ok you've got there this error code: [PrestaShopException]Property OrderDetail->id_warehouse is emptyat line 837 in file classes/ObjectModel.php 831. 832. $message = $this->validateField($field, $this->$field);833. if ($message !== true)834. {835. if ($die)836. throw new PrestaShopException($message);837. return $error_return ? $message : false;838. }839. }840. 841. return true; ObjectModelCore->validateFields - [line 264 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->getFields - [line 464 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->add - [line 426 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 579 - classes/order/OrderDetail.php] - [0 Argument] OrderDetailCore->create - [line 603 - classes/order/OrderDetail.php] - [7 Arguments] OrderDetailCore->createList - [line 283 - classes/PaymentModule.php] - [7 Arguments] PaymentModuleCore->validateOrder - [line 170 - controllers/front/ParentOrderController.php] - [9 Arguments] ParentOrderControllerCore->_checkFreeOrder - [line 164 - controllers/front/OrderOpcController.php] - [0 Argument] OrderOpcControllerCore->init - [line 150 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 28 - index.php] - [0 Argument] you use warehouse? it is necessary for you? Link to comment Share on other sites More sharing options...
justicejustine Posted October 15, 2013 Author Share Posted October 15, 2013 Interesting! I don't use warehouse. What should I do? Would disabling it help? Link to comment Share on other sites More sharing options...
justicejustine Posted October 15, 2013 Author Share Posted October 15, 2013 Btw Vekia, if it aids you, I currently have stock management enabled and advanced stock management disabled. Both are not important to me as I only sell virtual products and have quantities set to 1000+ each. Would disabling both or something help? What should I do about the warehouse error? Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2013 Share Posted October 15, 2013 disable advanced stock manager, we will see what's goin on then Link to comment Share on other sites More sharing options...
justicejustine Posted October 15, 2013 Author Share Posted October 15, 2013 (edited) Ok, I've disabled both stock management and advanced stock management. Advanced stock management was already disabled before the error happened. Edited October 15, 2013 by justicejustine (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2013 Share Posted October 15, 2013 ok thank you it still doesnt work. btw. after "confirm order" my order is created in your back office? Link to comment Share on other sites More sharing options...
justicejustine Posted October 15, 2013 Author Share Posted October 15, 2013 Did you make it around 2-3 minutes ago? If so, yes! Link to comment Share on other sites More sharing options...
justicejustine Posted October 15, 2013 Author Share Posted October 15, 2013 (edited) Just some history if it aids: I've made no adjustments to payment modules or codes, I've changed css only by adding Google fonts. I've done quite a bit of adjustments on address.tpl etc to get rid of the compulsory phone number and address fields. I've modified product.tpl or something like that to move the detailed description (for "more information" etc.) above the similar products category. I don't think these changes should affect anything. Edited October 15, 2013 by justicejustine (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted October 15, 2013 Share Posted October 15, 2013 does this happen on 'free orders' or on all orders? I suggest removing your modifications and seeing if you still have the problem. If it works without changed files then you know it's something in your changed code. Link to comment Share on other sites More sharing options...
justicejustine Posted October 15, 2013 Author Share Posted October 15, 2013 This happens on free orders but paid orders do not go through probably because of the same problem. I'll try removing them later today but I used code that's been tried and tested on the forums so I don't think it's that likely to be the problem plus it's rather unrelated. But I'll try, thanks for letting me know about it! Link to comment Share on other sites More sharing options...
El Patron Posted October 15, 2013 Share Posted October 15, 2013 if the ps code was locked and one could not update it...this forum would be very slow indeed. Link to comment Share on other sites More sharing options...
fitaoshop Posted October 15, 2013 Share Posted October 15, 2013 Hi, Can you give us the url where the fatal error is ? And what is the action before it ? Regards Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 15, 2013 Share Posted October 15, 2013 It would be nice to know when this problem started happening. If you can pinpoint when the problem started that can let you know if it might be additional changes you made. Was this always the case, or did the issue start occurring after some changes? Link to comment Share on other sites More sharing options...
justicejustine Posted October 16, 2013 Author Share Posted October 16, 2013 I did a fresh install of prestashop on a subdomain and I'm trying to isolate the problems I made while customising. But, there's a huge problem: I can't receive an email for file downloads (virtual products) no matter what solution I try, on Github, forge etc. I tried paying via bank wire and changing status to 'payment accepted' and no file download email is received and of course, paying via Paypal doesn't solve the problem too. Several users encounter the same problem as I was browsing the forum. But this is a clean install and shouldn't be happening? Link to comment Share on other sites More sharing options...
justicejustine Posted October 16, 2013 Author Share Posted October 16, 2013 (edited) Discovered the problem. Can anyone help? I have uploaded a virtual product in the product but it doesn't show in the email as a link. What does this mean, how do I edit this? "Thank you for your order from Test!You have {nbProducts} product(s) now available for download using the following link(s): {virtualProducts} You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop." Edited October 16, 2013 by justicejustine (see edit history) Link to comment Share on other sites More sharing options...
justicejustine Posted October 18, 2013 Author Share Posted October 18, 2013 Anyway, problem [sOLVED] by user, Jeevanoss. If anyone encounters the same problem, PM him. Link to comment Share on other sites More sharing options...
tarabellek Posted May 31, 2016 Share Posted May 31, 2016 I don't see his reply on this thread, what was the solution? Link to comment Share on other sites More sharing options...
vekia Posted June 1, 2016 Share Posted June 1, 2016 each case needs individual inspection, its because problems like that depend on context. Sometimes it is a case of template, sometimes of some javascript errors, sometimes related to payment modules etc. Link to comment Share on other sites More sharing options...
Recommended Posts