Guest Posted July 31, 2004 Posted July 31, 2004 :blink: All out of ideas.... here is what hosting suppot says: This is not a server related issue, this is just a mistype in your script. You have a redirect somewhere in your index.php or .htaccess and the redirect redirects you to ssl link. And looks like the redirect works in a loop so it redirect you again and again. What link exactly your redirect redirects to? Please advise. Yes, you need to disable the redirect. But in order to disable it is need to know how the redirect was set. Do you know how you enabled this redirect? I assume there must be some option in your OScommerce settings. Please investigate it. - Note: I didn't change anything that I didn't recognize. I only changed the stylesheet and the contents. After there was a server problem, there was an error with the security certificate. Now, when you click on anything it displays a 404.
AlanR Posted July 31, 2004 Posted July 31, 2004 Link to site? There's a couple things that could be happening but without a link it's impossible to troubleshoot. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Guest Posted August 1, 2004 Posted August 1, 2004 post the top lines of your catalog/includes/configure.php here, so we can see how you have ssl setup. the certificate is issued to esc19.midphase.com and they probably have a path you need to set there.
Guest Posted August 1, 2004 Posted August 1, 2004 This includes the changes to enable SSL for shopping and admin (Thank You)- define('HTTP_SERVER', 'https//jerrashop.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://jerrashop.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'jerrashop.com'); define('HTTPS_COOKIE_DOMAIN', 'jerrashop.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_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', '/home/mcginnis/public_html/'); 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 NULL for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'mcginnis_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> I also added the following line from someone else's submission because it also had something to do with SSL (in /admin/index.php): require('includes/application_top.php'); if ($_SERVER['HTTPS'] != "on" && substr(HTTP_SERVER, 0, 5) == 'https') { header("Location: ".tep_href_link(FILENAME_DEFAULT)); } :)
AlanR Posted August 1, 2004 Posted August 1, 2004 Why would you use these lines? define('HTTP_SERVER', 'https//jerrashop.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://jerrashop.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? I can't find a secure site at https://www.jerrashop.com or https://jerrashop.com change define('ENABLE_SSL', true) to false and change this define('HTTP_SERVER', 'https//jerrashop.com') to: define('HTTP_SERVER', 'http//jerrashop.com') Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.