Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2008
    Posts
    2
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default 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

  3. #3
    Join Date
    Sep 2008
    Posts
    2
    Plugin Contributions
    0

    Default Another Problem encountered .. email failure.

    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

  4. #4
    Join Date
    Sep 2008
    Posts
    5
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Nov 2007
    Location
    Upstate NY
    Posts
    232
    Plugin Contributions
    0

    Default Re: unable to login as client

    Quote Originally Posted by dhicks View Post
    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/i...hp?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

  6. #6
    Join Date
    Oct 2008
    Posts
    13
    Plugin Contributions
    0

    Default 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

  7. #7
    Join Date
    May 2007
    Location
    Montebello, CA
    Posts
    40
    Plugin Contributions
    0

    Default 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

    Quote Originally Posted by dhicks View Post
    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

  8. #8
    Join Date
    Oct 2008
    Posts
    13
    Plugin Contributions
    0

    Default 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!

    cm

 

 

Similar Threads

  1. v154 Suddenly having problem with client login
    By Laki in forum General Questions
    Replies: 10
    Last Post: 17 Dec 2015, 09:13 PM
  2. v1.2.x Unable to login
    By supapico in forum General Questions
    Replies: 3
    Last Post: 8 Feb 2014, 05:31 PM
  3. Google Chrome doesn't allow Client Login
    By ransomcarroll in forum General Questions
    Replies: 3
    Last Post: 5 May 2010, 11:29 AM
  4. Replies: 1
    Last Post: 30 Oct 2008, 10:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg