When I click review, I am returned to the cart/checkout page, with no data filled in.

When I add:

print_r($_SESSION);exit;

To the top of the uc_cart_checkout_review() it prints an empty array (although adding the same code to the uc_cart_checkout_form_submit shows a full array of ubercart variables).

I'm getting returned because $order = uc_order_load($_SESSION['cart_order']); returns false since there is no $_SESSION['cart_order'] variable set.

When I'm logged in it works fine.

Still debugging...

Comments

rszrama’s picture

Status: Active » Closed (won't fix)

This sounds more like a support issue related to HTTP / HTTPS than a bug in Ubercart. I'm going to defer this to our support forums. Give it a search, and you're likely to find an answer.

jmcclelland’s picture

Status: Closed (won't fix) » Active

Thanks.

This seems like it's not an ubercart issue. I think it's a problem with a Drupal setting. I'll check the forums.

For the record... the following simple test fails as an anon users on our site:

<?php

echo "Session ID: " . session_id() . "<br />";

echo "Saved session variable (should be filled on second load): " . $_SESSION['test-session-var'] . "<br />";

$time = time();
echo "Setting session to $time<br />";

$_SESSION['test-session-var'] = $time;

echo "Session after setting: " . $_SESSION['test-session-var'] . "<br />";
jmcclelland’s picture

Ack - for the record, the (embarrassing) solution is here:

http://drupal.org/node/309575

rszrama’s picture

Status: Active » Fixed

Great. : )

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

wowik73’s picture

in module ubercart write

Current Features:
...
Automatic account generation (anonymous checkout).
...

But this not work.

Question in that for not autorized user at pressure on checkout there is not a transition further on review order and goes again checkout - at see on included in the function of function uc_cart_checkout_form_submit variable $_SESSION yet I am and at arrival here function uc_cart_checkout_review it is already empty and accordingly we do not go further.

wowik73’s picture

Status: Closed (fixed) » Active

I forget Active statis this task

rszrama’s picture

Category: bug » support
Status: Active » Closed (fixed)

I'm actually going to close this issue again, as it's a support request that we don't do through this tracker. Please refer to our support forums or look through the threads above to make sure your users table has a row for user 0 and your sessions aren't being lost on a switch between HTTP / HTTPS.