Zen Cart Logo
Forums / Basic Configuration / Users Login, But Says Expired

Users Login, But Says Expired

Locked

Views: 12,133

Results 41 to 51 of 51
This thread is locked. New replies are disabled.
28 May 2006, 12:38 PM
#41
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,886
Plugin Contributions:
3

Users Login, But Says Expired

Further to the above. This does not appear to be the problem with your site.

The problem is that no shipping options are appearing at step 1. This could be for a couple of reasons.

  1. you have not enabled any shipping modules (in which case you need to )

  2. You are attempting to allow free shipping for you products and have not set the correct options for you products.

How to fix depends upon the answers to above

30 May 2006, 1:08 AM
#42
dinardo01 avatar

dinardo01

New Zenner

Join Date:
Apr 2006
Posts:
2
Plugin Contributions:
0

Re: Users Login, But Says Expired

Hello folkes! I changed the settings in Admin > Configuration > Session to the following as suggested and it worked fine.

Cookie Domain False
Recreate Session False

However, I have concerns. What reprocutions will this have on the catalog / website? Will these setting affect performance?

30 May 2006, 4:37 PM
#43
vik avatar

vik

New Zenner

Join Date:
May 2006
Posts:
4
Plugin Contributions:
0

Re: Users Login, But Says Expired

I only set "Recreate Session" to 'false' and it worked fine.

31 May 2006, 12:05 AM
#44
randyb avatar

randyb

New Zenner

Join Date:
Oct 2004
Posts:
31
Plugin Contributions:
0

Re: Users Login, But Says Expired

wilt:

Further to the above. This does not appear to be the problem with your site.

The problem is that no shipping options are appearing at step 1. This could be for a couple of reasons.

  1. you have not enabled any shipping modules (in which case you need to )

  2. You are attempting to allow free shipping for you products and have not set the correct options for you products.

How to fix depends upon the answers to above

Well, using a combination of everything here, and making shipping a flat rate of zero, it works! Thanks to everyone for their assistance, it is VERY VERY VERY appreciated!!!!

R~

10 Jun 2006, 4:17 AM
#45
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

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

10 Jun 2006, 12:09 PM
#46
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

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.

11 Jun 2006, 6:39 PM
#47
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

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. :thumbsup:

11 Jun 2006, 6:50 PM
#48
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Re: Users Login, But Says Expired

From the catalog configure.php:

  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:

  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');
14 Jun 2006, 6:39 PM
#49
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Re: Users Login, But Says Expired

To update the thread...

TheOracle has been kind enough to continue helping me. He resolved one of the problems -- the 'Whoops' error page is no longer coming up. This was because I had the permissions set incorrectly on admin/backups admin/images/graphs folders. I set them to 777 and it fixed that.

However, products in the cart are still not being saved. And, customers are being sent to the main page when they log in, rather than to their previous page. One thing I noticed: the cache files are being set with a prefix "zc_", though I don't have a prefix in the store. Is that a clue?

14 Jun 2006, 7:20 PM
#50
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Users Login, But Says Expired

TheOracle has been kind enough to continue helping me. He resolved one of the problems -- the 'Whoops' error page is no longer coming up. This was because I had the permissions set incorrectly on admin/backups admin/images/graphs folders. I set them to 777 and it fixed that.

That has absolutely no bearing on a Whoops Session Time out error ... I have no idea why Oracle would even imply that it possibly could ... :rolleyes:

It strikes me that you have some bad or corrupt files or bad data in the database or are experiencing server issues ...

You may wish to do a FTP compare a clean checkout to your site with Beyond Compare from scootersoftware.com or something similar and find out if you have some bad files on the site that is really causing this issue or if there is bad data in the database or determin if this is a server issue ...

19 Jun 2006, 4:47 PM
#51
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Users Login, But Says Expired

That has absolutely no bearing on a Whoops Session Time out error ... I have no idea why Oracle would even imply that it possibly could ...

It would seem I have missed some notifications from your server. Now, what I 'did 'implied was simply the fact that, according to this user's techsupp.php file, some folders were not set to full-writting and was suggested to do so.