Sounds like there is a Maximum Value set to 0 and that is causing the division by zero error ...
Sounds like there is a Maximum Value set to 0 and that is causing the division by zero error ...
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.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
That is really strange. I'm going to keep working on it and see if clearing cache and cookies help. Thanks for catching the other error although I don't know where your clicking to get to the newest additions as that is something that I tried to take off of there.
Thanks to everyone who tested it for me.
Just a quick note to anyone who has been watching this thread. I cleared my cookies and cache and that seemed to do the trick.
Thanks to everyone who helped with this.
Yeah, that worked for me too... now how can we insure that a customer doesn't have this happen to them?
When you create a new account the link in the home page changes from "Would you like to Login" to "Would you like to see our Newest Additions".
I believe this behavior can be changed to go elsewhere in the admin... I'm sure Linda could tell you exactly!![]()
Glad the cache clearing fixed the problems!
Jeff
mycolumbus try clearing your cache. That's what did the trick for me. It wouldn't work right for me but worked right for a few people here that tested it for me. I couldn't figure it out. I tried again the next morning and all was well on my end too.
Okay, now I understand and can duplicate the problem you are seeing... It occurs when creating an account during the checkout process as most customer of course do.
I believe this problem is do to the recent create account changes. The problem is the $origin_href variable is incorrectly being set to the create account page in includes/modules/pages/create_account_success/header_php.php by this code:
Rather than being set to checkout_shipping, where it should redirect to when you press the continue button. Unfortunaltely I don't have an easy solution at the moment but because of the criticality of this problem I'm sure it will be a high priority!Code:if (sizeof($_SESSION['navigation']->snapshot) > 0) { $origin_href = zen_href_link($_SESSION['navigation']->snapshot['page'], zen_array_to_string($_SESSION['navigation']->snapshot['get'], array(zen_session_name())), $_SESSION['navigation']->snapshot['mode']); $_SESSION['navigation']->clear_snapshot(); } else { $origin_href = zen_href_link(FILENAME_DEFAULT); }
Jeff
Okay, I have a temporary fix to this problem. I'm sure the dev team will have a better one later but this will at least get you by until then...
Locate the line (line 19) in includes/modules/pages/create_account_success/header_php.php that says:
and directly beneath this line add:Code:if (sizeof($_SESSION['navigation']->snapshot) > 0) {
This will force the customer to be redirected to the checkout_shipping page (where they should be) after account creation.Code:if ($_SESSION['navigation']->snapshot['page'] == 'create_account') $_SESSION['navigation']->snapshot['page'] = 'checkout_shipping';
Hope this helps!
Jeff
Nope. That didn't fix the problem for me. Still the same situation occurs. I have initialised the array as previously mentioned in this thread with the line:
$addressArray = array();
I've cleared my cache in Firefox, but still it takes me to the create_account_success page without the address info populated. Then upon clicking Continue, it takes me to the login page.
Bookmarks