Our site has been functioning well for 5+ years. Today on the checkout_payment.php page a recent customer's name and address were displaying in the billing address fields and her name was in the credit card owner field. When the page was refreshed, another customer's info displayed.
I was logged in under my own info - I think. But when I logged out the fields went blank. A bigger problem followed when I contacted my partner on the site and he was about to call me to report the same problem happening on his computer - the same names an addresses.
Recently, I had moved some boxes around and had commented out the code below from column_right.php. I have since un-commented this block and the problem still exists.
Furthermore, a product was ordered today that had been shut off (red lighted) in admin for about a year. Strange happenings. HELP!
/*if (isset($HTTP_GET_VARS['products_id'])) {
if (tep_session_is_registered('customer_id')) {
$check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
$check = tep_db_fetch_array($check_query);
if ($check['count'] > 0) {
include(DIR_WS_BOXES . 'best_sellers.php');
} else {
include(DIR_WS_BOXES . 'product_notifications.php');
}
} else {
include(DIR_WS_BOXES . 'product_notifications.php');
}
} else {
include(DIR_WS_BOXES . 'best_sellers.php');
}
if (isset($HTTP_GET_VARS['products_id'])) {
if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');
} else {
//include(DIR_WS_BOXES . 'specials.php');
}*/
Latest News: (loading..)
random customer info displays on checkout_payment.php
Started by reillyg, Mar 19 2010, 13:05
No replies to this topic














