On May 6th i've updated imagefield and filefiled modules since there was a security update and after while i noticed that no order can pass the checkout. They all stall after review with no order number shown to the customer but the message from line 536 of /data/websites/e-cig.bg/sites/default/modeules/ubercart/uc_cart/uc_cart.pages.inc

$order = uc_order_load(intval($_SESSION['cart_order']));

if (empty($order)) {
// Display messages to customers and the administrator if the order was lost.

ANY IDEAS ANYONE? I tried the old modules back and it worked for a day or two and than broke again it no reason. We removed the mysql cache but no result.

Comments

Jackinloadup’s picture

subscribe... i have this same message but it seems to only occur with IE customers. I believe its related though.

Island Usurper’s picture

Status: Active » Postponed (maintainer needs more info)

I haven't heard of this happening before, so I don't know what the problem might be. The next step would to be figuring out exactly when the $_SESSION['cart_order'] gets overwritten. I doubt you could get to the review page if it wasn't working at all, so it partially works, at least.

The cart_order variable gets unset when you are redirected back to the cart page, so I suggest using watchdog() calls to inspect it's value at various times throughout the checkout process. A full debugger would be even more useful, but that's a lot to set up if you don't have it already.

myregistration’s picture

This is happening to me as well. Didn't happen when I was testing Drupal locally, but now it does on our remote server.

longwave’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No response in several months, presuming this is no longer an issue. Please reopen if more info is available.