leveera Posted August 4, 2010 Posted August 4, 2010 Hello, I noted strange redirection to login.php when browsing my site by IE. This happens on different pages and links and from time to time so how to find out exact part of the code which is reason of bug? May it be application_top issue? I can see it in access log. In this example I clicked Shop link on admin page and redirected to customers login.php instead of index.php [04/Aug/2010:02:38:57 +0300] "GET /shop/index.php HTTP/1.0" 302 - "http..../admin/login.php" [04/Aug/2010:02:38:57 +0300] "GET /shop/login.php HTTP/1.0" 200 8750 "http://.../admin/login.php" Thanks for advice! Sergei
leveera Posted August 7, 2010 Author Posted August 7, 2010 OK, I found the reason of such behaviour It is a if... checkout line in column_right.php // if (isset($HTTP_GET_VARS['products_id']))include(DIR_WS_BOXES . 'manufacturer_info.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { // include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); } I commented it out and no sudden redirection to login.php anymore // if (isset($HTTP_GET_VARS['products_id']))include(DIR_WS_BOXES . 'manufacturer_info.php'); // if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { // include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); // } But... Is any other way to hide currency box during checkout?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.