Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Please Help


xlameee

Recommended Posts

Warning: Cannot modify header information - headers already sent by (output started at /home/something/public_html/includes/languages/english.php:1) in /home/something/public_html/includes/functions/general.php on line 29

 

 

Thats says when I try to add something to cart

 

Any idea what can be

 

////
// 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);

   tep_exit();
 }

 

 

This is from line 20-32 in /includes/functions/general.php

 

Please help

Nikolay :o

Link to comment
Share on other sites

  • 2 weeks later...

Archived

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

×
×
  • Create New...