kentdesautel Posted March 20, 2008 Share Posted March 20, 2008 I have the following message appearing as customers navigate our website: " if the page is not updated in 2 seconds, please follow this link" If you go to our website www.globalprintsupply.com and click on the "order history" button on the upper right hand corner you will see the message appear in your browser. It pops up mainly as the customer goes through the checkout process. I have searched through my code on the pages and can't seem to find where to get rid of this message. If anyone knows what may be causing this please let me know. Thanks, Kent Link to comment https://forums.phpfreaks.com/topic/97138-message-if-the-page-is-not-updated-in-2-seconds-please-follow-this-link/ Share on other sites More sharing options...
Orio Posted March 20, 2008 Share Posted March 20, 2008 It should be found in error_message.php... Can you show the code? Orio. Link to comment https://forums.phpfreaks.com/topic/97138-message-if-the-page-is-not-updated-in-2-seconds-please-follow-this-link/#findComment-497040 Share on other sites More sharing options...
craygo Posted March 20, 2008 Share Posted March 20, 2008 actually it looks like something in orders.php. May want to post some code for that. Link to comment https://forums.phpfreaks.com/topic/97138-message-if-the-page-is-not-updated-in-2-seconds-please-follow-this-link/#findComment-497043 Share on other sites More sharing options...
kentdesautel Posted March 20, 2008 Author Share Posted March 20, 2008 Here is the code from ORDERS.PHP # # $Id: orders.php,v 1.7.2.1 2007/03/22 13:54:23 svowl Exp $ # define("NUMBER_VARS", "posted_data[total_min],posted_data[total_max],posted_data[price_min],posted_data[price_max]"); require "./auth.php"; require $xcart_dir."/include/remember_user.php"; require $xcart_dir."/include/security.php"; x_session_register("search_data"); $search_data["orders"]["customer_login"] = addslashes($login); x_session_save("search_data"); if(@$mode=="subscriptions" && $active_modules["Subscriptions"]) include $xcart_dir."/modules/Subscriptions/subscriptions.php"; else include $xcart_dir."/include/orders.php"; require $xcart_dir."/include/categories.php"; if($active_modules["Manufacturers"]) include $xcart_dir."/modules/Manufacturers/customer_manufacturers.php"; # Assign the current location line $smarty->assign("location", $location); func_display("customer/home.tpl",$smarty); Here is the code from ORDER.PHP # # $Id: order.php,v 1.7.2.1 2007/03/22 13:54:23 svowl Exp $ # require "./auth.php"; require $xcart_dir."/include/remember_user.php"; require $xcart_dir."/include/security.php"; require $xcart_dir."/include/categories.php"; if($active_modules["Manufacturers"]) include $xcart_dir."/modules/Manufacturers/customer_manufacturers.php"; require $xcart_dir."/include/history_order.php"; $smarty->assign("main","history_order"); # Assign the current location line $smarty->assign("location", $location); func_display("customer/home.tpl",$smarty); ?> Here is the code from error_message.php # # $Id: error_message.php,v 1.6.2.3 2007/03/22 13:54:22 svowl Exp $ # define ('IS_ERROR_MESSAGE', 1); require "./auth.php"; require $xcart_dir."/include/categories.php"; if ($active_modules["Manufacturers"]) include $xcart_dir."/modules/Manufacturers/customer_manufacturers.php"; include $xcart_dir."/include/error_message.php"; $smarty->assign("main",$error); if ($error == 'error_max_order' || $error == 'error_min_order') { x_session_register('cart'); $smarty->assign("cart",$cart); } # # Assign login information # x_session_register("login_antibot_on"); x_session_register("antibot_err"); x_session_register("username"); $smarty->assign("username", $username); $smarty->assign("login_antibot_on", $login_antibot_on); if ($antibot_err) { $smarty->assign("antibot_err", $antibot_err); $antibot_err = false; } # Assign the current location line $smarty->assign("location", $location); func_display("customer/home.tpl",$smarty); ?> Link to comment https://forums.phpfreaks.com/topic/97138-message-if-the-page-is-not-updated-in-2-seconds-please-follow-this-link/#findComment-497055 Share on other sites More sharing options...
kentdesautel Posted March 21, 2008 Author Share Posted March 21, 2008 I still havn't figured out a solution to this..... so if anyone has any thoughts please pass them on...... Thanks... Kent Link to comment https://forums.phpfreaks.com/topic/97138-message-if-the-page-is-not-updated-in-2-seconds-please-follow-this-link/#findComment-497498 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.