Forums / Installing on a Linux/Unix Server / unable to login as client

unable to login as client

Locked

Views: 2,154

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
28 Sep 2008, 4:45 AM
#1
chairlagne avatar

chairlagne

New Zenner

Join Date:
Sep 2008
Posts:
2
Plugin Contributions:
0

unable to login as client

Im so happy that i have already compiled the Zen in my system but i got a problem since the clients should not be able to login with this message.

**
There was a security error when trying to login.**

How can i resolve this problem?

Thank you in advance.

28 Sep 2008, 7:55 AM
#2
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: unable to login as client

See if this link from the Tutorials/FAQs help.

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

30 Sep 2008, 4:07 AM
#3
chairlagne avatar

chairlagne

New Zenner

Join Date:
Sep 2008
Posts:
2
Plugin Contributions:
0

Re: unable to login as client

thanks for the immediate reply to resolve my problem. Now my zen cart is running normally but still i found a problem that email copy to the customer is not send and will cause a mail delivery failure with this message...

**
Mail sent by user nobody being discarded due to sender restrictions in WHM->Tweak Settings**

Hope that this problem should be resolved immediately. thank you

2 Oct 2008, 12:10 AM
#4
dhicks avatar

dhicks

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Re: unable to login as client

Hello Chairlagne

I am getting the same error message when trying to login as a client. Can you tell me exactly what you did to fix the problem?

Thanks
Derrick

3 Oct 2008, 8:41 PM
#5
tapper avatar

tapper

Zen Follower

Join Date:
Nov 2007
Location:
Upstate NY
Posts:
233
Plugin Contributions:
0

Re: unable to login as client

dhicks:

Can you tell me exactly what you did to fix the problem? Thanks Derrick

Derrick, you have to go read the article mentioned in the post above.
https://www.zen-cart.com/tutorials/index.php?article=312

Zen Cart has an added security feature to prevent spoofed external logins. A "security token" field has been added to all login forms. This token must be current (not expired), and must be submitted with login username+password in order for logins to work properly.
The following files are affected:

etc

3 Oct 2008, 11:17 PM
#6
morrisoc avatar

morrisoc

New Zenner

Join Date:
Oct 2008
Posts:
13
Plugin Contributions:
0

Re: unable to login as client

Hi,

I have read all the threads on this issues and none seem to relate to me.

I have just installed ZenCart for the first time and have not customised any templates or made any other mods whatsoever. The version I have installed is the current one as dl from this site.

I have now re-tried the install 3 times and the error is the same "There was a security error when trying to login." - logging into the administration section poses no problem therefore I am at a loss to explain this.

I have attached my version info below and applogise if this has been answered but as mentioned all the issues people are having seem to be related to mods or upgrades. With mine it dose this straight after the install.

PS: I have also checked permissions on the Cache Directory and they are 777 if that helps.

Server Information
Server Host: proton.websiteactive.com (202.191.62.87) Database Host: localhost (127.0.0.1)
Server OS: Linux 2.6.9-67.0.15.ELsmp Database: MySQL 5.0.51a-community
Server Date: 10/04/2008 09:16:54 Database Date: 10/04/2008 09:16:54
Server Up Time: 09:16:54 up 10 days, 9:00, 0 users, load average: 1.51, 1.19, 1.06 HTTP Server: Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
PHP Version: 5.2.5 (Zend: 2.2.0) PHP Memory Limit: 128M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 50M POST Max Size: 20M
Database Data Size: 188 kB Database Index Size: 311 kB

Zen Cart
Zen Cart 1.3.8a
Database Patch Level: 1.3.8
v1.3.8 [2008-10-04 08:42:56] (Fresh Installation)
v1.3.8 [2008-10-04 08:42:56] (Fresh Installation)
PHP Logo
PHP Version 5.2.5

5 Oct 2008, 3:48 AM
#7
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: unable to login as client

i had the same error, i have a cutom template so what i did was copy the 2 files from the original zen and transfer to my custom template and tha fix the problem for me

dhicks:

Hello Chairlagne

I am getting the same error message when trying to login as a client. Can you tell me exactly what you did to fix the problem?

Thanks
Derrick

https://www.tni-wireless.com

Zen Cart V1.5.4 with Tableau Responsive Theme.

13 Feb 2009, 4:11 AM
#8
morrisoc avatar

morrisoc

New Zenner

Join Date:
Oct 2008
Posts:
13
Plugin Contributions:
0

Re: unable to login as client

There is finally a solution to this problem!

If you too continue to get the security error message when trying to log in as a customer even on a fresh install with no template mods this could well me your answer...

It appears that with the way php is set up on some servers it the following may need to be changed within php.ini and once changed a copy of php.ini needs to be placed within the root directory of your zencart install directory. My permission are 644 on that file.

Change: session.cookie_domain which may be blank to session.cookie_domain "yourdomain.com."

In addition you may wish to change:

session.gc value to 1440 (where 1440 is the session expiry)

This value may cause your customer to have to re-log in and potentially loose the contents of their shopping cart.

That's it! After months and months of trying finally it works!

If you need any more assistance let me know! :clap:

cm