Page 1 of 6 123 ... LastLast
Results 1 to 10 of 51
  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: 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. #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: 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!

  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
    Oct 2004
    Posts
    39
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    Does anyone have any idea what would cause this? I'd really like to get the store going.

    Thanks, I very much appreciate any help I can get!

    R~

  8. #8
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Users Login, But Says Expired

    define('HTTP_SERVER', 'http://www.fire-house.net');
    define('HTTPS_SERVER', '');

    // 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', '');

    Try those settings - you don't define https paths if you don't use ssl on your site.

    Your ALL_PRODUCTS text is undefined.

    Under Sessions try it with only Prevent Spider Sessions set to true.

    Vger

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

    Default Re: Users Login, But Says Expired

    You should not have to touch the secure URL that is what setting the Enabled to false does ...

    I would, however, upgrade to the current version of Zen Cart v1.3.0.1 ... and then go from there ...
    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!

  10. #10
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Users Login, But Says Expired

    I admit I am a total noob with Zen, but have a vast experience with a certain other cart, and setting enable_ssl to false doesn't always do it. Sometimes you need to leave out any https paths as well. I'm not sure if this is the problem here, but it won't harm to leave them out and might help.

    Vger

 

 
Page 1 of 6 123 ... 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

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