Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

customer signin not working


sszelei

Recommended Posts

I have prototyped the site on my dev box and everything worked great. I posted the entire site to the production machine and now users are unable to sign in or the get forgotten password. the customer can enter in their email address and password and hit the button. they get redirected back to the login page and no error appear. same thing happens on the lost password page. the site is at http://www.babysoftusa.com/catalog if you would like to see what is happening. You may see some debug code pop up as I am trying to figure out the problem. I am thinking it is permissions set on the server but not sure.

 

Thanks in advance for any help!

 

Steven

Link to comment
Share on other sites

Force cookies.

 

admin / configuration / sessions / force cookie and or session

 

Problem solved.

 

I have prototyped the site on my dev box and everything worked great. I posted the entire site to the production machine and now users are unable to sign in or the get forgotten password. the customer can enter in their email address and password and hit the button. they get redirected back to the login page and no error appear. same thing happens on the lost password page. the site is at http://www.babysoftusa.com/catalog if you would like to see what is happening. You may see some debug code pop up as I am trying to figure out the problem. I am thinking it is permissions set on the server but not sure.

 

Thanks in advance for any help!

 

Steven

Link to comment
Share on other sites

did you clear your cache before being a smart butt. I have seen this 100 times and generally it is sessions causing the issue. Send me the url and I will look at it.

 

Thanks for playing. That did not work.
Link to comment
Share on other sites

did you clear your cache before being a smart butt. I have seen this 100 times and generally it is sessions causing the issue. Send me the url and I will look at it.

yes I cleared cache and tried it on the dev system and my test machine. Also called a friend and he got the same thing.

I have added some debug code. It appears that the isset($HTTP_GET_VARS['action']) is failing

I looked at the return URL and it appears to be build incorrectly.

https://www.babysoft.com/catalog/login.php/action/process.

when it should be

https://www.babysoft.com/catalog/login.php?action=process

 

that is the information that should be in the cookie also and not sure why it is not being returned.

the site is

http://www.babysoft.com/catalog then select myaccount link.

 

also I have the Force Cookie use = true

Check SSL Session ID = true

Prevent Spider Session = true

Recreate Session = true

all others are false.

 

Thanks.

 

Steven

Link to comment
Share on other sites

Ok it is your mod rewrite .htacess if you want search engine friendly urls use CHEMO's SEO URL's.

 

It will fix your problem. Try it without your seo urls turned on and I bet you can login.

 

 

yes I cleared cache and tried it on the dev system and my test machine. Also called a friend and he got the same thing.

I have added some debug code. It appears that the isset($HTTP_GET_VARS['action']) is failing

I looked at the return URL and it appears to be build incorrectly.

https://www.babysoft.com/catalog/login.php/action/process.

when it should be

https://www.babysoft.com/catalog/login.php?action=process

 

that is the information that should be in the cookie also and not sure why it is not being returned.

the site is

http://www.babysoft.com/catalog then select myaccount link.

 

also I have the Force Cookie use = true

Check SSL Session ID = true

Prevent Spider Session = true

Recreate Session = true

all others are false.

 

Thanks.

 

Steven

Link to comment
Share on other sites

Ok it is your mod rewrite .htacess if you want search engine friendly urls use CHEMO's SEO URL's.

 

It will fix your problem. Try it without your seo urls turned on and I bet you can login.

 

Thanks, but I am not sure what the directive to set in php.ini would be to do this. The site does not allow for .htaccess to be set. Would you please send a snippet?

 

Thanks,

 

Steven

Link to comment
Share on other sites

goto your osc admin->configuration->My Store. Switch the "Use Search Engine Safe URLs" to off. If you leave it on it can mess up your forms.

 

and retry.

Link to comment
Share on other sites

goto your osc admin->configuration->My Store. Switch the "Use Search Engine Safe URLs" to off. If you leave it on it can mess up your forms.

 

and retry.

 

Thanks for the suggestion but it did not correct the problem.

 

Steven

Link to comment
Share on other sites

All is right with the world now! I turned off recreate sessions as well and everything started working. Boy was that a long three days!. Thanks guys for all of the help and suggestions.

 

Regs,

 

Steven

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...