When ever a customer tries to change the ship to addreass when checking out or going to add new shipping addreass recvie the following message:
Warning: Cannot modify header information - headers already sent by (output started at /home/motorspo/public_html/catalog/includes/languages/english/checkout_shipping_address.php:63) in /home/motorspo/public_html/catalog/includes/functions/general.php on line 34
Can Someone tell me what needs to be done to get his fixed here is the general/php file up to line 34
<?php
/*
$Id: general.php 14 2006-07-28 17:42:07Z user $
osCMax Power E-Commerce
http://oscdox.com
Copyright 2006 osCMax
Released under the GNU General Public License
*/
////
// Stop from parsing any further PHP code
function tep_exit() {
tep_session_close();
exit();
}
////
// Redirect to another page or site
function tep_redirect($url) {
// BOF: MS2 update 501112 - Added
if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) {
tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false));
}
// EOF: MS2 update 501112 - Added
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);





LinkBack URL
About LinkBacks










Bookmarks