grafiti4u Posted May 1, 2006 Posted May 1, 2006 Hi! My cart is almost complete, but I am having a problem with the log in page. I have created an account successfully and I see it in the Admin Panel to verify that. But when I go to the website (http://www.bearessencecandles.com/shop/index.php) and log in, when I press Login, it takes me back to the homepage. If I had previously had stuff in my cart, then checked out, it of course takes you to the login page. Again, I log in, press LOGIN and it says I have nothing in my cart and takes me back to the home page. Is there something wrong with my page? I am not sure what is going on. I have included the code for my 2 config files below. THanks for any help! Kristi Here is my Admin/includes/config.php file: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.bearessencecandles.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.bearessencecandles.com'); define('HTTPS_CATALOG_SERVER', 'https://a1hostcodns.a1hostcodns.com/bearessencecandles.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/virtual/site110/fst/var/www/html/shop/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/shop/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/virtual/site110/fst/var/www/html/shop/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/shop/'); // absolute path required define('DIR_FS_CATALOG', '/home/virtual/site110/fst/var/www/html/shop/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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', DIR_WS_CATALOG . 'includes/languages/'); 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_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'bearessence'); define('DB_SERVER_PASSWORD', '####'); define('DB_DATABASE', 'bearessencecandles_com_-_oscommerce'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' And here is my includes/config.php file: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.bearessencecandles.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://a1hostcodns.a1hostcodns.com/bearessencecandles.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.bearessencecandles.com'); define('HTTPS_COOKIE_DOMAIN', 'www.bearessencecandles.com'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); 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', '/home/virtual/site110/fst/var/www/html/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'bearessence'); define('DB_SERVER_PASSWORD', '####'); define('DB_DATABASE', 'bearessencecandles_com_-_oscommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> ?>
MoisesZaragoza Posted May 1, 2006 Posted May 1, 2006 ok well you are changing servers from : http://www.bearessencecandles.com/shop/shopping_cart.php (working) to : https://a1hostcodns.a1hostcodns.com/bearess...4bbd3311c6c8db5 (not working) at the end of the day the code will be good
MoisesZaragoza Posted May 1, 2006 Posted May 1, 2006 Be sure to backup and then try changing define('HTTPS_SERVER', 'https://a1hostcodns.a1hostcodns.com/bearessencecandles.com'); // eg, https://localhost - should not be empty for productive servers to define('HTTPS_SERVER', 'https://www.bearessencecandles.com/'); // eg, https://localhost - should not be empty for productive servers (if you have a SSL) or define('HTTPS_SERVER', 'http://www.bearessencecandles.com/'); // eg, https://localhost - should not be empty for productive servers (if you do not have a SSL) at the end of the day the code will be good
krnl Posted May 1, 2006 Posted May 1, 2006 Kristi Do yourself a favor and edit your database passwords out of your first post in this thread.
grafiti4u Posted May 1, 2006 Author Posted May 1, 2006 Kristi Do yourself a favor and edit your database passwords out of your first post in this thread. How do I edit my original post???? Thanks!!
MoisesZaragoza Posted May 1, 2006 Posted May 1, 2006 I'm sorry but now you cant. what you can do is change your password to something else at the end of the day the code will be good
grafiti4u Posted May 1, 2006 Author Posted May 1, 2006 I'm sorry but now you cant. what you can do is change your password to something else Thanks - that was really stupid of me! I didn't even notice the password was there. Password change has be started.... The reason the https:// url is diferent, is because the secureity certificate is on a shared server. Is there something I can do about that?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.