Forums / Upgrading to 1.5.x / clients can not log in

clients can not log in

Views: 6,566

Results 1 to 10 of 10
23 Sep 2015, 11:47 AM
#1
annedien avatar

annedien

New Zenner

Join Date:
Sep 2015
Location:
netherlands
Posts:
5
Plugin Contributions:
0

clients can not log in

after a upgrade from zencart 1.3.9c to 1.5.4 and installation of idealcheckout plug in my existing clients can not log in.
The client list is stil intact in the admin panel but if i tried to log in as a client nothing happens. No errors and no log in. Page remain the same.
If a make a new client entry, the new client wil apear in the admin panel. But even with a new client registration i can not log in.

Does someone know where i can solve this problem?

23 Sep 2015, 12:00 PM
#2
annedien avatar

annedien

New Zenner

Join Date:
Sep 2015
Location:
netherlands
Posts:
5
Plugin Contributions:
0

Re: clients can not log in

Sorry folks, i found the solution in an older post:
Go to ADMIN... CONFIGURATION... SESSIONS... RECREATE SESSIONS... set this to FALSE.

This works :-)

23 Sep 2015, 12:01 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: clients can not log in

Where did you get this plugin - I do not see idealcheckout in the plugins area

A link to your site will assist

Zen-Venom Get Bitten

23 Sep 2015, 1:37 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: clients can not log in

annedien:

Sorry folks, i found the solution in an older post:
Go to ADMIN... CONFIGURATION... SESSIONS... RECREATE SESSIONS... set this to FALSE.

This works :-)
That suggests you're using an older PHP version or have some PHP configuration settings that ought to be improved.

NOTE: Setting RECREATE SESSION to false will potentially open up your site to session hijacking risks.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Mar 2016, 11:36 PM
#5
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: clients can not log in

DrByte:

That suggests you're using an older PHP version or have some PHP configuration settings that ought to be improved.

NOTE: Setting RECREATE SESSION to false will potentially open up your site to session hijacking risks.

Sorry to hijack an old thread, but I am having this very issue. Started this morning where apparently "suddenly" there are sessions issues when creating accounts of logging in. I don't see anything standing out to indicate that anything was modified to cause it. Setting RECREATE SESSION to false resolved the problem for my client. My gut told me this is not a perm solution, but server administration is my weak suit. I need to know what do I go back to the host with and say they need to do/check so I can get the right solution happening..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

18 Mar 2016, 11:25 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: clients can not log in

Is it possibly actually a cookie issue, perhaps where the site is in a subdomain instead of the root? Does using force-cookie-use instead of disabling recreate-session provide the same result? Does adjusting the cookie settings help?
Is the problem isolated to certain browsers?
What's the PHP version? Apache version?
Have you compared PHP settings (Admin->Tools->Server Info) with another server that's not having these issues?

Those are all directions I'd try instead of disabling recreate-session.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Mar 2016, 2:13 PM
#7
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: clients can not log in

DrByte:

Is it possibly actually a cookie issue, perhaps where the site is in a subdomain instead of the root? Not a subdomain. Store is in a subfolder (http:/yoursite.com/store)
Does using force-cookie-use instead of disabling recreate-session provide the same result? **Yes
**Does adjusting the cookie settings help? If you mean force-cookie setting, then no. no change
Is the problem isolated to certain browsers? Tested in Chrome, IE, and Firefox.. Same result.
What's the PHP version? Apache version? See below
Have you compared PHP settings (Admin->Tools->Server Info) with another server that's not having these issues? Not yet, but not sure if this will yield usable results since this was working and "seemingly" stopped working..

Those are all directions I'd try instead of disabling recreate-session.

PHP Version: 5.5.33

# Server Information
Server Host: ecbiz185.inmotionhosting.com (198.46.81.23) Database Host: localhost (127.0.0.1)
Server OS: Linux 2.6.32-604.30.3.lve1.3.63.el6.x86_64 Database: MySQL 5.6.28-log
Server Date: 03/22/2016 10:04:30 Database Date: 03/22/2016 10:04:30
Server Up Time: 10:04:30 up 133 days, 17:06, 1 user, load average: 58.28, 57.08, 54.41 HTTP Server: Apache
PHP Version: 5.5.33 (Zend: 2.5.0) PHP Memory Limit: 512M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 128M POST Max Size: 128M
Database Data Size: 136,070 kB Database Index Size: 23,537 kB
Apache 1.3 (apache_hooks) Rasmus Lerdorf, Zeev Suraski, Stig Bakken, David Sklar, George Schlossnagle, Lukas Schroeder
Apache 1.3 Rasmus Lerdorf, Zeev Suraski, Stig Bakken, David Sklar
Apache 2.0 Filter Sascha Schumann, Aaron Bannert
Sessions

[TABLE="width: 100%"]

             Title | 
             Value | 
             Action  | 
           

               

             Session Directory | 
             /home/XXXXXXX/public_html/store/cache

|
|

             Cookie Domain | 
             True | 

|

             Force Cookie Use | 
             False | 

|

             Check SSL Session ID | 
             False | 

|

             Check User Agent | 
             False | 

|

             Check IP Address | 
             False | 

|

             Prevent Spider Sessions | 
             True | 

|

             Recreate Session | 
             True

|

|

             IP to Host Conversion Status | 
             false | 

|

             Enable zen4wp Shopping Cart? | 
             True | 

|

             zen4wp Domain | 
             XXXXXXXXX.com

|

|

             zen4wp Secret Key | 
             XXXXXXXXXXXXX

|
|

             Use root path for cookie path | 
             False | 

|

             Add period prefix to cookie domain | 
             True

[/TD]
[TD="width: 25%"]

[/TD]
[/TR]
[/TABLE]

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Mar 2016, 2:28 PM
#8
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: clients can not log in

DrByte:

Have you compared PHP settings (Admin->Tools->Server Info) with another server that's not having these issues?Compared to a working site using the same hosting company and similar site setup.. mirroring the working site settings did not yield a different result.

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Mar 2016, 5:34 PM
#9
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,927
Plugin Contributions:
3

Re: clients can not log in

Hi

You said

Does using force-cookie-use instead of disabling recreate-session provide the same result? Yes

Just to clarify. Are you saying that using force cookie fixes the problem as well?

26 Mar 2016, 5:06 PM
#10
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: clients can not log in

wilt:

Hi

You said

Just to clarify. Are you saying that using force cookie fixes the problem as well?

Apologies if I was not clear. Force cookie yields the same non-working result (customers cannot log in). The settings I posted do not work.. It is ONLY when I disable recreate-session that it works (customers can log in). Also since v1.5.5 was recently released, I need to state specifically that this is occurring on a v1.5.4 store.. (updated 3 months ago from v1.5.1)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.