Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 55
  1. #21
    Join Date
    Jan 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Customer's Can't Login

    I installed a fresh copy of zen cart 1.3.8 and im having the same issue. Customers cant log in after they leave the page, or want to log back in. I dont know what the issue is. I followed above steps, and still no luck.

    The admin login works every time tho.

    here is my config.php file on sever.

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.mellsdelicious.com');
    define('HTTPS_SERVER', 'https:/');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/www.mellsdelicious.com/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', 'D:/WebRoot/Domains/mellsdelicious.com/wwwroot/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', '******');
    define('DB_SERVER_USERNAME', '******');
    define('DB_SERVER_PASSWORD', '******');
    define('DB_DATABASE', 'mells');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', 'D:/WebRoot/Domains/mellsdelicious.com/wwwroot/cache');

    // EOF

  2. #22
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customer's Can't Login

    This appears to be wrong:
    define('HTTP_SERVER', 'http://www.mellsdelicious.com');
    define('HTTPS_SERVER', 'https:/');
    You need to check and see what your valid secure server is ...

    This appears to be wrong:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/www.mellsdelicious.com/');
    This should be:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    What settings do you have for the Configuration ... Sessions ...

    Do you have any issues with the Admin when you login ... logout ... and try to login again?

    Can you post, from the server, without your username and password, the file:
    /admin/includes/configure.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #23
    Join Date
    Feb 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Customer's Can't Login

    Hey,

    I'm having the same problem here!

    I'm running a new install with Version 1.3.8a

    I tried the suggestion in the SESSIONS area, and it doesn't work for me.

    I'm getting the error: There was a security error when trying to login.

    I just found this article in the FAQ section-
    "There was a security error when trying to login"

    Situation:
    I have just upgraded and now getting this error when trying to login from the customer screen "There was a security error when trying to login"

    Cause:
    Zen Cart™ v1.3.8 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.

    Remedy:
    If you have customized template "login" files, the new security features need to be merged into your customized template files.

    The following files are affected:
    - /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
    - /includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php

    And if you're encountering it in your Admin area, this file is affected as well:
    - /admin/login.php

    The exact changes needed may vary from release to release, but most likely you will need only add the following after every occurence of the password field (zen_draw_password_field function)
    <?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>


    Additionally, if you have customized your /includes/functions/sessions.php file for some reason, you'll also need to merge the new changes for this core file into your customized version.

    Link:
    https://www.zen-cart.com/tutorials/i...hp?article=312
    I don't see a token on my login page! Arrg

    Robert

  4. #24
    Join Date
    Feb 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Customer's Can't Login

    Hey Update,

    Token is in fact hidden! I was thinking of a Captcha Image.

    I only had to add <?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?> 2 times on my tpl_login_default.php file.

    I didn't have a tpl_timeout_default.php file.

    I refreshed my log in page, and retried to log in and it worked.

    I hope this helps someone else!

    Robert

  5. #25
    Join Date
    Feb 2009
    Posts
    70
    Plugin Contributions
    0

    Default Re: Customer's Can't Login

    Quote Originally Posted by inetmarketing View Post
    Hey,

    I'm having the same problem here!

    I'm running a new install with Version 1.3.8a

    I tried the suggestion in the SESSIONS area, and it doesn't work for me.

    I'm getting the error: There was a security error when trying to login.

    I just found this article in the FAQ section-


    I don't see a token on my login page! Arrg

    Robert
    I just tried this and it didnt work...
    Also, i found 1 of the files in that location, i cant find the section file listed that needs to be changed.

  6. #26
    Join Date
    Feb 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Customer's Can't Login

    Quote Originally Posted by joefox View Post
    I just tried this and it didnt work...
    Also, i found 1 of the files in that location, i cant find the section file listed that needs to be changed.
    Hey!

    Are you using a template that you got from a template site?

    Or are you referring to the Default template?

    Also, did you find the tpl_login_default.php?

    Robert

  7. #27
    Join Date
    Mar 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Customer's Can't Login

    i use also the classic template and all this staff not work
    only i get login the admin user

  8. #28
    Join Date
    Mar 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Customer's Can't Login

    please any help

  9. #29
    Join Date
    Aug 2006
    Posts
    32
    Plugin Contributions
    0

    bug Re: Customer's Can't Login

    Same problem here...

    THe site is here: https://narcolepsynetwork.org/shop/
    I'm using Zen Cart 1.3.8a

    I'm using the default Template, where I made sure all of the
    Code:
    <?php echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password') . ' id="login-password"'); ?>
    Had..

    Code:
    <?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
    in the files...

    • tpl_login_default.php
    • tpl_timeout_default.php




    My boss sees the "Security Error" and freaks out thinking someone is trying to hack us...

    PLease Help... ???

  10. #30
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customers Can't Login

    Your whole site is secure ... not sure why ...

    Currently you are Down for Maintenance so we really cannot test anything ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. Customers can't login
    By vizlipuzli in forum Managing Customers and Orders
    Replies: 3
    Last Post: 23 May 2011, 09:40 AM
  2. customers can not login ,what I can do it
    By cocoseo in forum Managing Customers and Orders
    Replies: 4
    Last Post: 22 Aug 2009, 06:23 AM
  3. Customers Can't Login!
    By sldminc in forum Managing Customers and Orders
    Replies: 19
    Last Post: 8 Sep 2007, 04:07 PM
  4. customers can't login
    By jford in forum General Questions
    Replies: 6
    Last Post: 22 Jul 2006, 08:40 PM
  5. Customers can't login
    By curtm in forum General Questions
    Replies: 3
    Last Post: 21 Jun 2006, 10:05 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR