Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can no longer see shopping cart or order


Guest

Recommended Posts

I spent some time adding new links to my information box. Now when you click "Add to Cart" the following error messsage comes up:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/www/wisconsinportraiture/oscommerce/catalog/includes/languages/english.php:673) in /home/www/wisconsinportraiture/oscommerce/catalog/includes/functions/general.php on line 29

 

This is general.php, the section line 29 is in:

 

// 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); (THIS IS LINE 29)

 

tep_exit();

}

 

 

http://www.wisconsinportraiture.com

 

Product is still being added to the cart. I didn't make any changes to general.php but did to english.php, filenames.php, and information.php. Does anyone have any ideas? I'm doing this site for a client & it's REALLY ruining my Labor Day.

 

Thanks,

Beth

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...