dsully Posted July 19, 2005 Share Posted July 19, 2005 When customers enter their email and password, it direct right back to the login page. Please HELP!!! Link to comment Share on other sites More sharing options...
Guest Posted July 19, 2005 Share Posted July 19, 2005 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 More sharing options...
dsully Posted July 19, 2005 Author Share Posted July 19, 2005 post your includes/configure.php file without the database connection info. also, what are your settings in the admin/configuration/sessions section? <{POST_SNAPBACK}> <?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 More sharing options...
Guest Posted July 19, 2005 Share Posted July 19, 2005 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 More sharing options...
dsully Posted July 19, 2005 Author Share Posted July 19, 2005 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) <{POST_SNAPBACK}> 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 More sharing options...
boxtel Posted July 19, 2005 Share Posted July 19, 2005 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 <{POST_SNAPBACK}> stop forcing cookies and see what happens Treasurer MFC Link to comment Share on other sites More sharing options...
dsully Posted July 19, 2005 Author Share Posted July 19, 2005 stop forcing cookies and see what happens <{POST_SNAPBACK}> Thank you Amanda, I would give you a big hug if I could. You saved the day!!!! Link to comment Share on other sites More sharing options...
boxtel Posted July 19, 2005 Share Posted July 19, 2005 Thank you Amanda, I would give you a big hug if I could. You saved the day!!!! <{POST_SNAPBACK}> if this means that it works, it also means that your cookie settings are incorrect. Treasurer MFC Link to comment Share on other sites More sharing options...
dsully Posted July 19, 2005 Author Share Posted July 19, 2005 if this means that it works, it also means that your cookie settings are incorrect. <{POST_SNAPBACK}> And how could that be fixed? Link to comment Share on other sites More sharing options...
boxtel Posted July 19, 2005 Share Posted July 19, 2005 And how could that be fixed? <{POST_SNAPBACK}> by removing the http:// and https:// part from the cookie domains and make them: define('HTTP_COOKIE_DOMAIN', '.dallasmowerparts.net'); define('HTTP_COOKIE_PATH', '/'); Treasurer MFC Link to comment Share on other sites More sharing options...
dsully Posted July 19, 2005 Author Share Posted July 19, 2005 by removing the http:// and https:// part from the cookie domains and make them: define('HTTP_COOKIE_DOMAIN', '.dallasmowerparts.net'); define('HTTP_COOKIE_PATH', '/'); <{POST_SNAPBACK}> 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.