jay_drive Posted June 23, 2003 Posted June 23, 2003 Yes, it's another of 'those' white space messes everything up problems ?? Okay, first, the error message "Warning: Cannot modify header information - headers already sent by (output started at /home/nipj/public_html/shop/includes/application_top.php:480) in /home/nipj/public_html/shop/includes/functions/general.php on line 29" and then i can't find what's wrong with the file general.php ////// Redirect to another page or site function tep_redirect($url) { if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); *** I think it's this line tep_exit(); } Can anyone see what's wrong? the whole file is here http://www.sky-hook.net/osc-help/general.txt It's driving me mad trying to find the problem!
Guest Posted June 23, 2003 Posted June 23, 2003 you probably have an echo at 480 in application_top or some whitespace at the end of the file.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.