Guest Posted June 26, 2009 Posted June 26, 2009 Whats wrong here? Warning: Cannot modify header information - headers already sent by (output started at /home/croberts/public_html/13GcC/includes/languages/english/orders.php:2) in /home/croberts/public_html/13GcC/includes/functions/general.php on line 86 General.php // Redirect to another page or site function tep_redirect($url) { global $logger; if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } header('Location: ' . $url); if (STORE_PAGE_PARSE_TIME == 'true') { if (!is_object($logger)) $logger = new logger; $logger->timer_stop(); } exit; } ////
steve_s Posted June 26, 2009 Posted June 26, 2009 Whats wrong here? Warning: Cannot modify header information - headers already sent by (output started at /home/croberts/public_html/13GcC/includes/languages/english/orders.php:2) in /home/croberts/public_html/13GcC/includes/functions/general.php on line 86 General.php // Redirect to another page or site function tep_redirect($url) { global $logger; if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } header('Location: ' . $url); if (STORE_PAGE_PARSE_TIME == 'true') { if (!is_object($logger)) $logger = new logger; $logger->timer_stop(); } exit; } //// This might be white spaces open this file up includes/languages/english/orders.php delete and empty lines before and after ?> at the bottom of the file
Guest Posted July 2, 2009 Posted July 2, 2009 Thanks I appreciate your help! This solved the problem. Again many thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.