Jump to content
Sign in to follow this  
stevel

[Contribution] Login Page a la Amazon

Recommended Posts

Stevel - I do not know if you still support this mod, but I have a issue and perhaps you or someone could point me in the right direction.

 

The login page has worked perfectly for months

yesterday I applied all of the 2.2rc1 bug fixes and improvements

 

Now, when the new customer enters an email address and selects No, I am a new customer, they are redirected to the create-account page as normal, but the Email Address does NOT carry forward.

 

Any Idea on where to look or why this behaivor has started??

Thank you in advance

 

Where you able to get their email address to carry over? and have you had any other problems? I am looking to install this on a store based on the RC2a release.


Powered By osC 2.2RC2a STS 4.5.8 - HTC 2.6.3 - FP 1.5.9 - BCH 1.0.0

Share this post


Link to post
Share on other sites

I figured it out - the various tep_draw functions no longer look at global/session variables for reinserting text - they look at GET and POST parameters only. A simple fix is, in login.php, change the added line:

 

if (isset($login_email_address)) $email_address = $login_email_address;

 

to:

 

if (isset($login_email_address)) $HTTP_GET_VARS['email_address'] = $login_email_address;

Share this post


Link to post
Share on other sites
I figured it out - the various tep_draw functions no longer look at global/session variables for reinserting text - they look at GET and POST parameters only. A simple fix is, in login.php, change the added line:

 

if (isset($login_email_address)) $email_address = $login_email_address;

 

to:

 

if (isset($login_email_address)) $HTTP_GET_VARS['email_address'] = $login_email_address;

Do you mean in create_account.php?


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

Love this contrib. I have it installed in another shop and had no problems. This time around, whenever I go to the login.php page, at the top it always says:

 

Error Error: No match for E-Mail Address and/or Password.

 

I cleared all cache/cookies/etc, the inputs are blank, and still this error.

 

Help? ;)

Share this post


Link to post
Share on other sites

Sorry I did not see this. I keep forgetting that this forum drops notification subscriptions.

 

Did you resolve the issue, Kim? All i can suggest is to compare the login.php of the problem store with one that works. The code that displays that error should be executed only when ?action=process.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×