Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login problems


dsully

Recommended Posts

post your includes/configure.php file without the database connection info.

 

also, what are your settings in the admin/configuration/sessions section?

Link to comment
Share on other sites

post your includes/configure.php file without the database connection info.

 

also, what are your settings in the admin/configuration/sessions section?

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

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://dallasmowerparts.net'); // eg, http://localhost - should not be empty for productive servers

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

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

define('HTTP_COOKIE_DOMAIN', 'http://dallasmowerparts.net');

define('HTTPS_COOKIE_DOMAIN', 'https://dallasmowerparts.net');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

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

define('DIR_WS_HTTPS_CATALOG', '/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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

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

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

?>

 

 

session dir=/tmp

force cookies=t

check ssl=f

check user agent=f

check ip address=f

prevent spiders=t

recreate sessions=t

 

Also what should define database sever line look like in example?

Link to comment
Share on other sites

you should set a cookie path of / or /catalog/

you should set store_sessions to mysql

definitely need an ssl certificate

db server should be localhost (this is dependent upon your host)

Link to comment
Share on other sites

you should set a cookie path of / or /catalog/

you should set store_sessions to mysql

definitely need an ssl certificate

db server should be localhost (this is dependent upon your host)

 

Still the same, not sure if DB_SERVER is set right

 

Thanks for the prompt response.

 

You cant even add items to cart, I need to get this fixed bad

 

Thanks,

Doug

Link to comment
Share on other sites

by removing the http:// and https:// part from the cookie domains and make them:

 

define('HTTP_COOKIE_DOMAIN', '.dallasmowerparts.net');

define('HTTP_COOKIE_PATH', '/');

 

Thanks, one more thing, When I try to change password when I am logged on it says can not connect to database. Would that be because the setting is wrong in config?

 

Never mind... It is OK!!!!

 

Thanks very much for you help.

 

Doug

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...