alougher Posted November 14, 2002 Posted November 14, 2002 I am running on I guess old code (1.38) of html_ouptut.php. I put the fix in for the image proportion problem but could only get it working by downloading the new version of html_output.php (1.45) as it was erroring saying it couldnt reference a particular function. Anyway, I put the mod into this code and put it on the site. Everything works fine, all the images are displayed correctly but as soon as I go to the shopping cart I get the following error: Warning: Cannot add header information - headers already sent by (output started at /hsphere/local/home/hogplum/hogplum.com/catalog/includes/functions/html_output.php:301) in /hsphere/local/home/hogplum/hogplum.com/catalog/includes/functions/general.php on line 23 Line 23 is this function: // Redirect to another page or site function tep_redirect($url) { header('Location: ' . $url); tep_exit(); } Any ideas?
Jan0815 Posted November 14, 2002 Posted November 14, 2002 FAQ? Search the forum before posting? This is one of the most famous questions and you should have been able to find this yourself: http://www.oscommerce.com/community.php/faq,1-7/q,17 HTH You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.
alougher Posted November 14, 2002 Author Posted November 14, 2002 Sorry about that, I did scan the forums but couldn't find anything. Problem was there was a new-line character at the bottom of the page. Thanks for pointing me in the right direction and I promise I'll search a little longer next time before posting! :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.