Zen Cart Logo
Forums / Managing Customers and Orders / Not logging in (customer accounts)

Not logging in (customer accounts)

Locked

Views: 2,052

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
16 Apr 2007, 2:32 PM
#1
tiffosi99 avatar

tiffosi99

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Not logging in (customer accounts)

As above. Entering customer details does create the respective account and sends confirmation email. However, on entering the customers' email address and password, the login page does not progress to account_success page.

not sure if this is a database issue or whether some piece of php code is trashed somewhere. Any ideas?

Thanks

innshoes.com/index.php?main_page=login

23 Apr 2007, 4:38 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Not logging in (customer accounts)

Looks like you are also running either an older version of Zen Cart or have not updated your templates and override files for v1.3.7 ...

23 Apr 2007, 6:26 PM
#3
shawnhenson avatar

shawnhenson

New Zenner

Join Date:
Apr 2007
Posts:
3
Plugin Contributions:
0

Re: Not logging in (customer accounts)

im haveing the same problem here. its a FRESH install . everything is working.
just can not get past the login screen for customers.
it just goes back to login

23 Apr 2007, 6:33 PM
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Not logging in (customer accounts)

in admin -> configuration -> sessions
turn OFF recreate sessions

23 Apr 2007, 6:33 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Not logging in (customer accounts)

Could you check your settings in the Configuration ... Sessions ...

Set the Recreate sessions to false ...

Does this fix it?

If so, then hosting site has the server configured in such a way as to not allow the Recreate Session to function properly on your site and you will have to keep this extra safety turned off ... :cry:

9 Jun 2008, 6:33 PM
#6
realforever avatar

realforever

New Zenner

Join Date:
Jul 2006
Posts:
58
Plugin Contributions:
0

Re: Not logging in (customer accounts)

Dear Black belt and Oba-san,

Any advice for me since turn off the session recreate still not working? :blink:

I'm using 1.3.8 a.

Thank you.

9 Jun 2008, 6:52 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Not logging in (customer accounts)

Could you post, from the server, the file:
/includes/configure.php

without your username and password showing?

9 Jun 2008, 7:19 PM
#8
realforever avatar

realforever

New Zenner

Join Date:
Jul 2006
Posts:
58
Plugin Contributions:
0

Re: Not logging in (customer accounts)

Here they are:

<?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://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', '/');
  define('DIR_WS_HTTPS_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/.frazzles/realblue/mysite.com/');

  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', 'zen_');
  define('DB_SERVER', 'mysql.mysite.com');
  define('DB_SERVER_USERNAME', 'mysite');
  define('DB_SERVER_PASSWORD', 'password');
  define('DB_DATABASE', 'zendb');
  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', 'database'); 
  define('DIR_FS_SQL_CACHE', '/home/.frazzles/realblue/mysite.com/cache');

// EOF

I just found that when login, the url actually becomes https://www.mysite.com not mysite.com. Is there problem with only mysite.com in the file above? Under my hosting, the ssl is set for both www and without.

Oba-san, thanks for the quick response!

9 Jun 2008, 8:13 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Not logging in (customer accounts)

IF they do not match then they do not allow logins as there is no relationship and when the relationship breaks a new session id is needed and a new session id means a new person and a new person needs to login ... got all that? :eek:

More or less it means ... you have the configuration file set up wrong and need to fix it ... :smile:

9 Jun 2008, 11:44 PM
#10
realforever avatar

realforever

New Zenner

Join Date:
Jul 2006
Posts:
58
Plugin Contributions:
0

Re: Not logging in (customer accounts)

Oba-san,

If I switch everything to www only (configure file and web hosting), I couldn't even add item to the shopping cart. If I switch to without www only, when I try login, the www still come out, it seems the ssl certificate has www with. What other fix you suggest?

Thanks.