Thanks. I put that in there, but when you go to checkout, and try to go to step 2, it simply loops back to step 1 with no error messages. Is there some place else to put that check in?
I REALLY appreciate your help with this!
R~
Thanks. I put that in there, but when you go to checkout, and try to go to step 2, it simply loops back to step 1 with no error messages. Is there some place else to put that check in?
I REALLY appreciate your help with this!
R~
And that's one step ahead on the problem.
when you go to checkout, and try to go to step 2, it simply loops back to step 1 with no error messages.
Yes. Move the peace of code to:
Is there some place else to put that check in?
- includes/modules/pages/checkout_shipping/header_php.php
and change it, (in the mean time),
to read:
below this block:Code:if ($_SESSION['customer_id'] != '' && $_SESSION['customer_id'] == '1') { error_reporting(E_ALL); }
In the mean time, I have discovered that - this block:
// if the customer is not logged on, redirect them to the login page
if (!$_SESSION['customer_id']) {
$_SESSION['navigation']->set_snapshot();
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
contains english definitions directly into that core file. Perhaps the DEV team would consider to rename that into a definition name in order to be associated with the proper language pack in a future release.
// Validate Cart for checkout
$_SESSION['valid_to_checkout'] = true;
$_SESSION['cart']->get_products(true);
if ($_SESSION['valid_to_checkout'] == false) {
$messageStack->add('header', 'Please update your order ...', 'error');
zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
}
![]()
I put that in, but no error messages. The customer remains logged in, but it doesn't go past step 1. Maybe that's a clue? The customer always remains logged in at this point it seems, that seems to be fixed after messing with it a bit yesterday...
R~
If it's the case, one of the DEV team would need to confirm if this error can be reproduce from their end. Perhaps, it might even be a configuration issue based from the admin section.![]()
Do I need to PM or email anyone about this? What do I do from here?
Thanks so much for your help - it is very appreciated!
R~
There's no need to PM anyone for this since this is a general subject. I must admit, it's a pretty strange one but one of the DEV team should reply to you shortly.![]()
i'm getting a similar problem here: www.clickpopstore.clickpoprecords.com
user logs in, selects product, goes to checkout, they're then asked to login again, gets "whooops" message, asked to login again, then they're returned to the welcome screen.
the loops keeps repeating...
what is causing this?
The message stack should be using this define located in the english.php ...
define('ERROR_CART_UPDATE', 'Please update your order ...<br />');
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
So is it thinking the cart is empty? Or that the address is invalid? What circumstances would cause it to go back to the checkout_shipping page? Just trying to brainstorm here...
R~
Hi,
It appears FC5 has some probs, with some of ZC session settings. Have recently installed FC5 on a spare partition and can reproduce the problem.
I found that this fixes it.
In Admin->configuration->sessions
set both
cookie domain
recreate session
to false.
Still trying to find out why FC5 has this quirk
Bookmarks