energypb Posted August 13, 2012 Share Posted August 13, 2012 I am having some issue since i have updated to 1.4.8.2, a lot of this still are issues but I have just lived with, This one seems to be happening more and more and it is really getting bad as customers are not getting upset because of it. I am using PayPal and Authorizeaim (Also using newest one) as payment and both have the same issue, so it don't look like it is the payment module I will get a message form the system with "Cart cannot be loaded or an order has already been placed using this cart", then when i go look at the order list it is not in the list. I get the Email form both paypal or authorizeaim saying that the payment was successful. I have to open a older order using the Next arrow to see the order. The order was not updated to have a Payment accepted, but there is a order ID for it. Some of the times this will happen and the cart data will not be in the order. I will ave to go to the Cart UI to try to track back what items they had to make the order. This Issue don't happen on every order but happens 1 - 3 time a day with orders. I never had this issue before upgrading to the 1.4.8.2. I hope it is a simple fix as it is being a real issue for me. Hope a Prestashop Team can help Link to comment Share on other sites More sharing options...
El Patron Posted August 14, 2012 Share Posted August 14, 2012 hopefully this helps a little: http://forge.prestashop.com/browse/PSCFI-4152 http://forge.prestashop.com/browse/PSCFI-6176 http://forge.prestashop.com/browse/PSCFI-2142?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel Link to comment Share on other sites More sharing options...
energypb Posted August 21, 2012 Author Share Posted August 21, 2012 thanks for the info, i looked at it and seems that none are really relavent. The system was working great until i upgraded to 1.4.8.2, it seems that happens when there is a lot of traffic to the site. I not only getting the error I am also getting "Cart loading failed for cart 49938" The customer emails me saying that when they placed the order they sow a error (not sure what) then there cart goes empty. The order is not updated a valid. When i go to the order number directly I there is nothing in the cart details. If I got to the cart interface I can see there cart with there name on it. This is really getting annoying not sure what is causing it. I also tried to see if it is PayPal users, Auth users, International user or usa one, the bad part it is across the board, also it is not with every order as well it happens some of the time. any ideas ? Link to comment Share on other sites More sharing options...
energypb Posted August 23, 2012 Author Share Posted August 23, 2012 Not sure if there anyone out there that can help on this.. but more information it seem that when the user gets all the way to the end, they can pay with Author and PayPal, google checkout fine, but when it gets to the confirmation page that is when it gives them the error. But like i said it don't happen to all of the buyers. This issue is getting really annoying and my customers are getting upset about it. I am wishing i stayed on the older release. Link to comment Share on other sites More sharing options...
Dh42 Posted August 23, 2012 Share Posted August 23, 2012 Post a link to your site so we can check it out and see if we can see a problem. Link to comment Share on other sites More sharing options...
energypb Posted August 26, 2012 Author Share Posted August 26, 2012 (edited) www.removed.com Thanks for the help on this.. I am really pulling my hair out on this one Edited August 29, 2012 by energypb (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted August 26, 2012 Share Posted August 26, 2012 What version of ps did you upgrade from? Link to comment Share on other sites More sharing options...
energypb Posted August 26, 2012 Author Share Posted August 26, 2012 I upgraded from 1.4.5 and before that atfs.1.4 and before that 1.3.2 and before that 1.3 . I keep all the old ones for my reff. All of the older ones never had this issue. Link to comment Share on other sites More sharing options...
El Patron Posted August 26, 2012 Share Posted August 26, 2012 If possible, in the order that is not working, for paypal, what is the PAYMENTSTATUS -> ?????? Link to comment Share on other sites More sharing options...
energypb Posted August 26, 2012 Author Share Posted August 26, 2012 i need to wait till it happens, as i said before it only happens some times. Link to comment Share on other sites More sharing options...
El Patron Posted August 26, 2012 Share Posted August 26, 2012 it would be in the order details of one of your failed orders...I suspect either you are getting two responses (or ps is processing the response twice) or when you upgraded there is an issue with the order state defines in setting.inc.php which changed in 1.4.5. so if you come up with some info post it here...good luck Link to comment Share on other sites More sharing options...
energypb Posted August 26, 2012 Author Share Posted August 26, 2012 I looking at one that i manual changed, but before I change it to pay "Payment accepted" there is nothing there (so the GUI shows) But In the messages I am getting At 08/22/2012 15:13:14 from Private: Paypal Transaction ID: 00N060XXXXXXXX So the call back for the payment is happening. There anything i can check for an older one to get more info for you ? Also Thanks a Lot for the help so far Link to comment Share on other sites More sharing options...
energypb Posted August 29, 2012 Author Share Posted August 29, 2012 Well i wanted to report back, I have changed the whole site to a new server and it seems to have stopped causing the issue. This time the SQL and the site are on the same system but with a LOT of CPU and Ram just for the two (Apache and Mysql). The old one was 2 servers one for Mysql and one for Apache and that seemed to MAYBE be the issue as I have not had any issues now. But it was not a max Connections issue either to the SQL server as I was monitoring that, so I am not sure what was going on :-( I will report back if it happens anymore. 1 Link to comment Share on other sites More sharing options...
energypb Posted August 31, 2012 Author Share Posted August 31, 2012 Ok I got more. It just happend to me about 2 min a go. and this is what I got from it in my Apache Error Log: PHP Fatal error: Uncaught exception 'Swift_Message_MimeException' with message 'Something went wrong whilst trying to move some MIME parts during an attach(). The MIME component threw an exception:<br />Cannot remove child part identified by '5040567886176' as it does not exist. Consider using hasChild() to check.' in /1.4.8/prestashop/tools/swift/Swift/Message.php:542\nStack trace:\n#0 /home/sites/atfs.1.4.8/prestashop/classes/Mail.php(196): Swift_Message->attach(Object(Swift_Message_Part))\n#1 /1.4.8/prestashop/modules/mailalerts/mailalerts.php(241): MailCore::Send(1, 'new_order', 'New order - 011...', Array, Array, NULL, 'sales@domain...', 'Mysitename ...', NULL, NULL, '/1.4.8...')\n#2 [internal function]: MailAlerts->hookNewOrder(Array)\n#3 /1.4.8/prestashop/classes/Module.php(758): call_user_func(Array, Array)\n#4 /1.4.8/prestashop/classes/Hook.php(136): ModuleCore::hookExec('newOrder', Array)\n#5 /1.4.8/prestashop/classes/PaymentMod in /home/sites/atfs.1.4.8/prestashop/tools/swift/Swift/Message.php on line 542 When Looking at my logs I also have gotten this error when I am in the BO and update a some orders with a message, the BO will just load the bar at the top but this is all, I have to hit the refresh and it is fine after. I hope the error at the top can help get to the bottom of this (Fingers Crossed) I am also seeing errors Like: PHP Notice: Trying to get property of non-object in /1.4.8/prestashop/classes/PDF.php on line 549 and it seems to come form the Paypal IP address: 173.0.81.1 so it seems when it getting the call back form Paypal. This seems to happen quite a bit from what I can see in my logs. Thanks for the help on this guys ! Link to comment Share on other sites More sharing options...
energypb Posted August 31, 2012 Author Share Posted August 31, 2012 Also if it is any help. I looked at the order, and the order stats in the DB is 0 the ps_paypal_order table there is nothing for this order. But in the order it's self there is the privet messages with the PayPal transaction ID in it. Link to comment Share on other sites More sharing options...
El Patron Posted August 31, 2012 Share Posted August 31, 2012 Please see the following forge: http://forge.prestashop.com/browse/PSCFI-6328 Link to comment Share on other sites More sharing options...
kelvz Posted November 9, 2012 Share Posted November 9, 2012 I want to edit the template of this message "Cart cannot be loaded or an order has already been placed using this cart" where is the file of it? Link to comment Share on other sites More sharing options...
kamalpreet Posted October 17, 2014 Share Posted October 17, 2014 its in classes folder PaymentModule.php Link to comment Share on other sites More sharing options...
Recommended Posts