If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Warning: Cannot add header information -- Advance Poll  XML
Forum Index » Support Forum
Author Message
Anonymous



Unfortunately I get the following error when I 'enable' the cookies...

Warning: Cannot add header information - headers already sent by (output started at /home/fil/public_html/blog/index.php:9) in /home/fil/public_html/blog/poll/db/poll_cookie.php on line 21

Any Idea of this? I've checked line 21 of poll_cookie.php and I dont see anything wrong.

If I comment the 'include' on the first part of the script, all works fine but the cookies of course dont work.


Any help would be greatfull...thank you.
Anonymous



Got it working...nevermind.
Anonymous



How did you solve it, got the same problems.
Seems like that cookie.php can't be loaded a second time or something.
Got no php experience , please help!
Anonymous



How do I get rid of this error and still have cookies enabled. Please respond.

Thanks

Chris
Anonymous



ok, here is what you should do:

Put this lines of code before
<html> tag, NOT AFTER!

<?php
include_once "/home3/www/breia/anticlan/pollphp/textfile/poll_cookie.php";
?>

Hope it helps.
Anonymous



Also, i don't know why, but make sure that the first line of your page containing script is not a blank line, but start of the php code: <?php, like that.

Victor
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum