Re: account creation bug when displaying create-account-success page
Sounds like there is a Maximum Value set to 0 and that is causing the division by zero error ...
Re: account creation bug when displaying create-account-success page
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.
Re: account creation bug when displaying create-account-success page
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.
Re: account creation bug when displaying create-account-success page
Yeah, that worked for me too... now how can we insure that a customer doesn't have this happen to them?
Re: account creation bug when displaying create-account-success page
Quote:
Originally Posted by
Salina13
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.
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! :laugh:
Glad the cache clearing fixed the problems!
Jeff
Re: account creation bug when displaying create-account-success page
Quote:
Originally Posted by
twirlerzmom
Yes, that helped with the error and formatting problem except it's still not working right. Everything appears to look correct but I have a box under my "success" congratulations message and in the box it says "primary address" in blue but nothing else. I clicked the continue button but it takes me back to the home page. I should mention that I received the email confirmation stating I have successfully created my account. I refreshed my page and tried logging in again but all that happens is the create account page keeps repeating itself. I never am able to log in or check out.
Yeh, I have the same problem. Applied the fix to header_php.php and no need for me to repeat again what happened above.
Re: account creation bug when displaying create-account-success page
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.
Re: account creation bug when displaying create-account-success page
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:
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);
}
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!
Jeff
Re: account creation bug when displaying create-account-success page
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:
Code:
if (sizeof($_SESSION['navigation']->snapshot) > 0) {
and directly beneath this line add:
Code:
if ($_SESSION['navigation']->snapshot['page'] == 'create_account')
$_SESSION['navigation']->snapshot['page'] = 'checkout_shipping';
This will force the customer to be redirected to the checkout_shipping page (where they should be) after account creation.
Hope this helps!
Jeff
Re: account creation bug when displaying create-account-success page
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.