phethean Posted April 7, 2004 Posted April 7, 2004 My site is live and was working great but now when I try to login to my site I am sent to a blank page with the URL : "http://www.ultradrives.com/catalog/login.php/action/process". I have poured over the forum looking for similar issues. I can't find a resolve. I have also tried reversing all recent changes and still nothing. I tried logging on from both Win98 and WinXP and tried through FireFox, IE, and Opera. Same thing. It is a standard install and I am not using SSL. Funny thing is, after I get the blank page, if I go back to my (http://www.ultradrives.com)index page I am logged in. Here is my login.php and configure.php: login.php <TITLE>Ultradrives.com</TITLE> <?php /* $Id: login.php,v 1.14 2003/06/09 22:46:46 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('NAvb script:session_win();">[More Info]</a>'); ?> configure.php <?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.ultradrives.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', 'www.ultradrives.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); 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', '/u/htdocs/ultrad/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', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '******'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', '******'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Thanks in advance, Pete.
phethean Posted April 7, 2004 Author Posted April 7, 2004 Does anyone know what files are used through the login process? I have another store with identical login.php and stylesheet but it logs in fine. HELP!?! :( :( :(
phethean Posted April 7, 2004 Author Posted April 7, 2004 WOW! If I disable cookies in my browser, it logs in fine. Any thoughts out there??
phethean Posted April 8, 2004 Author Posted April 8, 2004 Well, after figuring out it was a cookie issue, I found the problem comparing an unmodified install configure.php to mine. It looks like the code for cookie handling had dropped right out. Anyway, for all of you with a similar isssue (although In don't know how it happened) this is what fixed mine. original configure.php <?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.ultradrives.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.ultradrives.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/u/htdocs/ultradrives/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/u/htdocs/ultradrives/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/u/htdocs/ultradrives/catalog/'); // 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', '******'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'ultradrives'); define('USE_PCONNECT', 'true'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> working configure.php <?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.ultradrives.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', 'www.ultradrives.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); 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', '/u/htdocs/ultradrives/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', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '******'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'ultradrives'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
Guest Posted April 8, 2004 Posted April 8, 2004 My login.php works fine if I disable SSL but as soon as enable SSL and specify the appropriate https parameters I get a blank 404 page. I need to have SSL operational can anyone please help?
phethean Posted April 15, 2004 Author Posted April 15, 2004 Having same problem again !?!? I cannot login and order unless cookies are disabled in the browser? I haven't changed anything. I need some help. Thanks. :(
Guest Posted April 15, 2004 Posted April 15, 2004 phethean, post both your catalog/includes/configure.php and catalog/admin/includes/configure.php without the database info, password, etc. i think you may have inadvertently mixed things up where the files go
phethean Posted April 15, 2004 Author Posted April 15, 2004 Here you go. Any suggestions would be great. I have a store that works fine and the configure.php is identical as are the sessions settings in admin... <B>admin/includes/configure.php</B> <?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.ultradrives.com'); // eg, http://localhost - should not be empty for productive servers ? define('HTTP_CATALOG_SERVER', 'http://www.ultradrives.com'); ? define('HTTPS_CATALOG_SERVER', ''); ? define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module ? define('DIR_FS_DOCUMENT_ROOT', '/u/htdocs/ultrad/catalog/'); // where the pages are located on the server ? define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required ? define('DIR_FS_ADMIN', '/u/htdocs/ultrad/catalog/admin/'); // absolute pate required ? define('DIR_WS_CATALOG', '/catalog/'); // absolute path required ? define('DIR_FS_CATALOG', '/u/htdocs/ultrad/catalog/'); // 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', 'xxxxx'); ? define('DB_SERVER_PASSWORD', 'xxxxx'); ? define('DB_DATABASE', 'xxxxx'); ? define('USE_PCONNECT', 'true'); // use persisstent connections? ? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> <B>catalog/includes/configure.php</B> <?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.ultradrives.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', 'www.ultradrives.com'); ? define('HTTPS_COOKIE_DOMAIN', ''); ? define('HTTP_COOKIE_PATH', '/catalog/'); ? 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', '/u/htdocs/ultrad/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', 'localhost'); // eg, localhost - should not be empty for productive servers ? define('DB_SERVER_USERNAME', 'xxxxx'); ? define('DB_SERVER_PASSWORD', 'xxxxxx'); ? define('DB_DATABASE', 'xxxxxx'); ? define('USE_PCONNECT', 'true'); // use persistent connections? ? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
241 Posted April 15, 2004 Posted April 15, 2004 I think the confusion was with your earlier post where you had original config and you posted the admin/includes/configure.php then had working config and posted the catalog/includes/configure.php If viewing from behind a firewall which is set to block cookies and the site is set to force cookies then there can be an issue No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
phethean Posted April 15, 2004 Author Posted April 15, 2004 is there any other config that i should check about cookie handling?? like i had mentioned i have a test store at http://www.phethean.net/ and it works fine but http://www.ultradrives.com gives me issues but the settings are the same?!? I am willing to try anything (almost)...
241 Posted April 16, 2004 Posted April 16, 2004 are you using the same cookie path for each store or are the seperate paths No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
phethean Posted April 16, 2004 Author Posted April 16, 2004 same directory '/catalog/' but paths are correct. www.ultradrives.com for the non-working one and www.phethean.net for the working one. I posted both previously. Should I try specifying a different location?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.