-=harry=- Posted December 23, 2002 Posted December 23, 2002 I messed up somephin I was trying to make oscommerce look like the rest of my site. everything was going well. but now when i click on my account or check out I get an error Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site133/fst/var/www/html/catalog/includes/languages/english.php:324) in /home/virtual/site133/fst/var/www/html/catalog/includes/functions/general.php on line 23 has anyone come across this one before? line 23 of general.php is this function //// // Redirect to another page or site function tep_redirect($url) { header('Location: ' . $url); tep_exit(); } thanks,
mattice Posted December 23, 2002 Posted December 23, 2002 has anyone come across this one before? No never. Must be a bug in the code... Think you need to report that. Just joking. :D (been asked a few times before.... today) You have whitespaces and / or hard returns in your code. Remove them and the problem is fixed. Do a search on 'headers + 'sent'' on the forum or look here: http://www.oscommerce.com/community/faq,1-7/q,17 HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
-=harry=- Posted December 23, 2002 Author Posted December 23, 2002 nm... I figured it out.. I just restored backups of files until I didn't get anymore error messages... thanks anyway
mattice Posted December 23, 2002 Posted December 23, 2002 Read the faq entryif you have a sec... working with php you WILL encounter the problem again, guaranteed :D "Politics is the art of preventing people from taking part in affairs which properly concern them"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.