jwjpkkj Posted April 2, 2006 Posted April 2, 2006 When I click on add to cart (in my own site) I get this message Warning: Cannot modify header information - headers already sent by (output started at /home/scrapyou/public_html/oscommerce/includes/languages/english.php:1) in /home/scrapyou/public_html/oscommerce/includes/functions/general.php on line 33 So when I open /home/scrapyou/public_html/oscommerce/includes/functions/general.php on line 33 it says header('Location: ' . $url);. What do I need to change? Or do?
satish Posted April 2, 2006 Posted April 2, 2006 When I click on add to cart (in my own site) I get this message Warning: Cannot modify header information - headers already sent by (output started at /home/scrapyou/public_html/oscommerce/includes/languages/english.php:1) in /home/scrapyou/public_html/oscommerce/includes/functions/general.php on line 33 So when I open /home/scrapyou/public_html/oscommerce/includes/functions/general.php on line 33 it says header('Location: ' . $url);. What do I need to change? Or do? Check your includes/languages/english.php line 1. There is something that has generated an HTML output ( A warning or an echo ) so once an HTML output is generated a header is created by default. So once a header is created so can not redirect. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.