jacksonlineworlds Posted May 18, 2007 Posted May 18, 2007 hi i get this msg when i open my site: Warning: Cannot modify header information - headers already sent by (output started at /home2/jacksdig/public_html/index.php:3) in /home2/jacksdig/public_html/includes/functions/general.php on line 1174 what does this mean???? here are lines 1,2 and 3 of my file /home2/jacksdig/public_html/index.php:3 <?php /* $Id: index.php,v 1.1 2003/06/11 17:37:59 hpdl Exp $ what is wrong with it?? what do i do now????? jack
Jack_mcs Posted May 18, 2007 Posted May 18, 2007 See the link in my signature. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
jacksonlineworlds Posted May 18, 2007 Author Posted May 18, 2007 hi it still doesnt work what line should i edit? the index.php or the general.php? what do i do? delete the lines...re-edit them? what? help please
satish Posted May 18, 2007 Posted May 18, 2007 On Your index.php line 3 there is some text or a call to a function that is responsible for generating some text. Once a text is generated an html header too comes in place so later You can not have a <html> so analyse line 3 and fix. else paste index.php plus any function that will result from line 3. if <?php /* this /* is not there that too might. 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.
jacksonlineworlds Posted May 18, 2007 Author Posted May 18, 2007 On Your index.php line 3 there is some text or a call to a function that is responsible for generating some text. Once a text is generated an html header too comes in place so later You can not have a <html> so analyse line 3 and fix. else paste index.php plus any function that will result from line 3. if <?php /* this /* is not there that too might. Satish hi satish thanx 4 ur help will u look at my first 3 lines of my index.php? how should i change it? <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> regards jack
satish Posted May 19, 2007 Posted May 19, 2007 These are definitely not the lines from index.php unless there had been some modification done. Paste around first 50 lines. As we can easily see that <html> had been already executed resulting in html header being created this will no further allow a redirect or another html header to be created. 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.