I have installed UPS Choice 1.8 and everything seems to work correctly until I go from my shipping information to the payment screen and I get this error
Warning: Cannot modify header information - headers already sent by (output started at /home/nitrocou/public_html/store/includes/languages/english/modules/shipping/ups.php:27) in /home/nitrocou/public_html/store/includes/functions/general.php on line 33
I went to line 33 in my general page and it reads like this
21 / Redirect to another page or site
22 function tep_redirect($url) {
23 if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) {
24 tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false));
25 }
26
27 if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page
28 if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url
29 $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL
30 }
31 }
32
33 header('Location: ' . $url);
34
35 tep_exit();
36 }
Can someone point me in the right direction to fixing this error? It would be greatly appreciated. Thank You