Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
I tried switching our Ultimate SEO URLs contribution off but that still didn't help - still same issue.
Tried removing all the code in product_info.php and only left the require('includes/application_top.php'); part which it looks like is causing the error - something in application_top.php is causing the redirect I believe.
If I try to access /product_info.php on its own the page works (gives me the "product not found" page) but as soon as I try to view a product (product_info.php?products_id=xx) - redirect loop!
At the moment we are still being hosted by our old host but that is due to expire in a few days and in the meantime we have been uploading our stuff to the new host - the address of the new host is http://203.170.86.178/~pcstudio/
My configuration file:
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 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://203.170.86.178/~pcstudio'); // 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', 'http://203.170.86.178/~pcstudio');
define('HTTPS_COOKIE_DOMAIN', '');
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/pcstudio/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', 'xxx'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'xxx');
define('DB_SERVER_PASSWORD', 'xxx');
define('DB_DATABASE', 'xxx');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>
I'm not too sure if HTTP_COOKIE_DOMAIN is correct.
ANY help would be HIGHLY appreciated as we need to change our name servers to point to the new host soon!
Thanks
Edited by sLaV-, 26 April 2009 - 01:44 PM.










