falconpilot Posted May 29, 2003 Posted May 29, 2003 I just installed the links contribution 1256. It will be a great contribution when I get it totally working but I am getting this error: Warning: Cannot add header information - headers already sent by (output started at /home/propilot/public_html/includes/functions/general.php:1173) in /home/propilot/public_html/includes/functions/general.php on line 29 I need to understand what this means. Can someone tell me what the 1173 means? I am not sure what this warning is telling me. Does it mean that I can only send header info just one time and how do you send header info? I do however understand what the 29 means but when you count lines in the coding, do you count a blank line as one? Thanks in advance. falconpilot Quote
mattice Posted May 29, 2003 Posted May 29, 2003 I just installed the links contribution 1256. It will be a great contribution when I get it totally working but I am getting this error: Warning: Cannot add header information - headers already sent by (output started at /home/propilot/public_html/includes/functions/general.php:1173) in /home/propilot/public_html/includes/functions/general.php on line 29 I need to understand what this means. Can someone tell me what the 1173 means? I am not sure what this warning is telling me. Does it mean that I can only send header info just one time and how do you send header info? I do however understand what the 29 means but when you count lines in the coding, do you count a blank line as one? Thanks in advance. falconpilot It's the most common error around in PHP. It means you either have whitespaces or hard returns in one of the files that gets included. Because of that PHP prints characters to the screen BEFORE it actually should which results in the error. Check for whitespaces... a script should have <?php as the first line, no spaces or anything and ?> as the last characters. So ?>[space] will give an error. Mattice Quote "Politics is the art of preventing people from taking part in affairs which properly concern them"
falconpilot Posted May 29, 2003 Author Posted May 29, 2003 Thank Mattis for you insight. That was my problem. falconpilot Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.