Page 1 of 2 12 LastLast
Results 1 to 10 of 51

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Posts
    39
    Plugin Contributions
    0

    Default Users Login, But Says Expired

    I am working with ZenCart, and have a store setup. Everything works great, until the user attempts to place the order, at which point it asks for the user to login. After logging in, the system simply goes back to the main page and says, "Welcome Guest! Would you like to log yourself in?" If you have something in your cart and login, they get "Whoops - your session has expired."

    Any ideas?

    Thanks!

    R~

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

    Default Re: Users Login, But Says Expired

    Have you an URL where we can see this?

    Also could you post your Session Settings?
    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!]
    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. #3
    Join Date
    Oct 2004
    Posts
    39
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    Here you go:

    http://www.fire-house.net/firesamples/

    Thanks!

    R~

  4. #4
    Join Date
    Oct 2004
    Posts
    39
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    Settings are:
    Session Directory: /home/sites/home/web/firesamples/cache
    Cookie Domain: True
    Force Cookie Use: False
    Check SSL Session ID: False
    Check User Agent; False
    Check IP Address: False
    Prevent Spider Session: True
    Recreate Session: True
    IP to Host Conversion: True

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

    Default Re: Users Login, But Says Expired

    Yeps ... it's broke ...

    The session id on your site is making short session ids ... I have seen this before but off hand I cannot put a finger on the cause ...

    Could you post your /includes/configure.php from your server without your username and password?
    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!]
    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!

  6. #6
    Join Date
    Oct 2004
    Posts
    39
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    Thanks, here you go:

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


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

    // 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', '/firesamples/');
    define('DIR_WS_HTTPS_CATALOG', '/firesamples/');

    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', '/home/sites/home/web/firesamples/');

    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', 'demo_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'XXXXXXXXXX');
    define('DB_SERVER_PASSWORD', 'XXXXXXXXXX');
    define('DB_DATABASE', 'firesamples');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // 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', 'database');
    define('DIR_FS_SQL_CACHE', '/home/sites/home/web/firesamples/cache');

    ?>

  7. #7
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    I have this error as well. I tried all the suggestions in this thread but nothing has worked. I'm not running php5.

    It seems there's a bug here somewhere. I have the 1.3.0.1 default settings in sessions. I've changed these around but nothing has helped.

    Here's some of my info. Please let me know if any other info will be helpful.
    ---------------------------------------
    Webserver: Apache/2.0.51 (Fedora)
    Server Free Disk Space Reported = 1.21 GB

    MySQL Version Reported = 4.1.18-standard
    PHP MySQL Support = ON
    PHP PostGres SQL Support = OFF
    PHP Info
    PHP version: 4.4.2
    PHP API version= apache2handler
    PHP Safe Mode= OFF
    PHP Register Globals = OFF
    PHP set_time_limit (max execution time) = 30
    PHP Disabled Functions =
    PHP open_basedir =
    PHP Sessions Support = ON
    PHP session.auto_start = OFF
    PHP session.use_trans_sid = OFF
    PHP session.save_path = /tmp
    PHP Magic_Quotes_Runtime = OFF
    PHP GD Support = ON
    PHP ZLIB Support = ON
    PHP OpenSSL Support = OFF
    PHP CURL Support = ON
    PHP File Uploads = ON
    PHP File Upload Max Size = 2M
    PHP Post Max Size = 8M
    PHP File Upload TMP Dir =
    PHP XML Support = ON
    PHP FTP Support = OFF
    PHP PFPRO Support = OFF
    PHP Sendmail_FROM =
    PHP Sendmail_PATH = /usr/sbin/sendmail -t -i
    PHP SMTP Settings = localhost
    Currently using ZEN CART v. 1.3.6

  8. #8
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Users Login, But Says Expired

    Please post your URL pointing to your techsupp.php file, since there's insufficient information posted from above.

    In the mean time, if you haven't done so already, please post your includes/configure.php and admin/includes/configure.php file without your mySQL Server name, mySQL Database name, your mySQL login and mySQL password.

  9. #9
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    I'd rather not post my URL at this stage. I'll pm the info to anyone interested in helping out someone less intelligent than them.
    Currently using ZEN CART v. 1.3.6

  10. #10
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    From the catalog configure.php:
    Code:
      define('HTTP_SERVER', 'http://mysite.com');
      define('HTTPS_SERVER', 'https://mysite.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true');
    
    // 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', '/catalog/');
      define('DIR_WS_HTTPS_CATALOG', '/catalog/');
    
      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', '/home/mysite/www/catalog/');
    
      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', 'XXXXX'); // eg, localhost - should not be empty
      define('DB_SERVER_USERNAME', 'XXXXX');
      define('DB_SERVER_PASSWORD', 'XXXXX');
      define('DB_DATABASE', 'XXXXX');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
    
      // 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', 'file'); 
      define('DIR_FS_SQL_CACHE', '/home/mysite/www/catalog/cache');
    From the admin configure.php:
    Code:
      define('HTTP_SERVER', 'http://mysite.com');
      define('HTTPS_SERVER', 'https://mysite.com');
      define('HTTP_CATALOG_SERVER', 'http://mysite.com');
      define('HTTPS_CATALOG_SERVER', 'https://mysite.com');
    
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'true');
      define('ENABLE_SSL_ADMIN', 'true');
    
    // 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_ADMIN', '/catalog/admin/');
      define('DIR_WS_CATALOG', '/catalog/');
      define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/');
      define('DIR_WS_HTTPS_CATALOG', '/catalog/');
    
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    
    // * 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_ADMIN', '/home/mysite/www/catalog/admin/');
      define('DIR_FS_CATALOG', '/home/mysite/www/catalog/');
    
      define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
      define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
      define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
      define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
      define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    
    // define our database connection
      define('DB_TYPE', 'mysql');
      define('DB_PREFIX', '');
      define('DB_SERVER', 'XXXXX'); // eg, localhost - should not be empty
      define('DB_SERVER_USERNAME', 'XXXXX');
      define('DB_SERVER_PASSWORD', 'XXXXX');
      define('DB_DATABASE', 'XXXXX');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
    
      // 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', 'file'); 
      define('DIR_FS_SQL_CACHE', '/home/mysite/www/catalog/cache');
    Currently using ZEN CART v. 1.3.6

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 15
    Last Post: 28 Oct 2010, 01:34 PM
  2. Paypal return - login expired - IE8
    By ericnma in forum PayPal Express Checkout support
    Replies: 36
    Last Post: 15 Apr 2010, 01:56 PM
  3. Your session has expired. Login Time out
    By mydanilo in forum General Questions
    Replies: 8
    Last Post: 20 Feb 2010, 11:11 AM
  4. Installed but says missing files
    By DeeLite in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 17 Feb 2010, 04:50 AM
  5. Why some users forsed to login??? but should not have to?
    By GhostRider2110 in forum General Questions
    Replies: 21
    Last Post: 16 Apr 2007, 05:11 PM

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