Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer login problems


jdez

Recommended Posts

Posted

I just did a successful install of OSC. It seems to work ok. Products display, pricing, etc. However, when I try to put things in a cart and proceed to checkout, I get bounced back to the login page even though I am already logged in as a customer. I have tested it with three different versions of Netscape and ie with identical results.

 

Does anyone known where I could start looking to resolve this problem? My install was as per the exact instructions provided by OSC -I have not done any modifications yet other than to add a couple categories and a few products.

 

 

I have OSC installed on a hosted Linux server with MySQL

Posted
I can help, but I'll first need to see the configure.php again REMOVE DB password and username

 

im having the issue as well

 

I can go through NO PROBLEM but some customers just cant.

 

here is the config for both NORMAL and my SECURE catalog dir:

 

$phpThumbPath = '';

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.sassijewels.com.au'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://4tknox.au.com/sassijewels.com.au/'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'sassijewels.com.au');

define('HTTPS_COOKIE_DOMAIN', '4tknox.au.com/sassijewels.com.au');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

 

if ($_SERVER['SERVER_NAME'] == '4tknox.au.com') {

define('DIR_WS_IMAGES', 'https://4tknox.au.com/sassijewels.com.au/images/');

}else{

define('DIR_WS_IMAGES', 'http://www.sassijewels.com.au/images/');

}

 

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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

define('DIR_FS_CATALOG', '/www/clientweb/au/d/sassijewels.com.au/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

 

... database connection stuff....

 

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Posted

Here is my configure.php file from the Catalog/includes:

 

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.----------.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '-----------.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/~489176.499054//');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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

define('DIR_FS_CATALOG', '/data/7/0/0/13/489176/user/499054/htdocs/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', '---.----.-----.--'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '-----------------');

define('DB_SERVER_PASSWORD', '-----------------');

define('DB_DATABASE', -----------------');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Posted

This is wrong, it has an extra slash on the end:

define('HTTPS_SERVER', 'https://4tknox.au.com/sassijewels.com.au/');

 

and the code you have for your images folder location makes no sense at all.

 

Vger

im having the issue as well

 

I can go through NO PROBLEM but some customers just cant.

 

here is the config for both NORMAL and my SECURE catalog dir:

 

$phpThumbPath = '';

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.sassijewels.com.au'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://4tknox.au.com/sassijewels.com.au/'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'sassijewels.com.au');

define('HTTPS_COOKIE_DOMAIN', '4tknox.au.com/sassijewels.com.au');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

 

if ($_SERVER['SERVER_NAME'] == '4tknox.au.com') {

define('DIR_WS_IMAGES', 'https://4tknox.au.com/sassijewels.com.au/images/');

}else{

define('DIR_WS_IMAGES', 'http://www.sassijewels.com.au/images/');

}

 

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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

define('DIR_FS_CATALOG', '/www/clientweb/au/d/sassijewels.com.au/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

 

... database connection stuff....

 

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Posted

define('HTTP_COOKIE_PATH', '/');

 

Vger

Here is my configure.php file from the Catalog/includes:

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.----------.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '-----------.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/~489176.499054//');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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

define('DIR_FS_CATALOG', '/data/7/0/0/13/489176/user/499054/htdocs/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', '---.----.-----.--'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '-----------------');

define('DB_SERVER_PASSWORD', '-----------------');

define('DB_DATABASE', -----------------');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Posted
define('HTTP_COOKIE_PATH', '/');

 

Vger

 

I change it and it did not seem to make any difference. Still cannot login from Netscape or IE. - I cleared the cache and restarted the browsers several times to make sure I wasn't getting latent data.

 

Any other ideas?

Posted
im having the issue as well

 

mbutt

 

define('HTTP_COOKIE_DOMAIN', 'www.sassijewels.com.au');

define('HTTPS_COOKIE_DOMAIN', '4tknox.au.com/sassijewels.com.au');

 

for the second one try

 

define('HTTPS_COOKIE_DOMAIN', '4tknox.au.com');

 

And make sure you removed the / from

define('HTTPS_SERVER', 'https://4tknox.au.com/sassijewels.com.au');

My Contributions

 

Henry Smith

Posted
define('HTTP_COOKIE_DOMAIN', 'www.YOURDOMAIN.com');

define('HTTPS_COOKIE_DOMAIN', 'www.YOURDOMAIN.com');

 

just www.. no http in front

 

Still dosn't work. also tried withouth the www

Posted

Still can't get a customer login to occur. I tried the following for HTTP Cookie Path:

 

'/'

'earthcontton.com'

'www.earthcotton.com'

'http://www.earthcotton.com'

 

Any other suggestions?

  • 2 weeks later...
Posted
Still can't get a customer login to occur. I tried the following for HTTP Cookie Path:

 

'/'

'earthcontton.com'

'www.earthcotton.com'

'http://www.earthcotton.com'

 

Any other suggestions?

 

goodaye mate, wondered if you figured out anything with this?

I still get people unable to proceed to credit card checkout

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...