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 in pollphp  XML
Forum Index » Support Forum
Author Message
Anonymous



Warning: Cannot add header information - headers already sent by (output started at ....www/php/html/header.inc.php:2) in
...www/pollphp/poll_cookie.php on line 21

This warning keeps happening. No problems though (poll works). Aside from setting warnings OFF in php how can I get rid of this warning? What causes it?

pollphp
Waldo
Beginner

Joined: 22/06/2002 08:11:13
Messages: 6
Offline

I'm getting this error as well..along with permissions errors, even though I did everything the readme files said to do. I'm too zonked to really try to figure it out now on my own (eyes crossing) but maybe another day ... if I figure it out I'll post another reply, but otherwise would also welcomg any assistance...

:)
[WWW]
Anonymous



To eliminate that error you must delete any "empty" line from the php file. Just a simple Enter in the file can lead to this error. Eliminate also the comments until the session is created.
Make a search using Google for the words "header already sent " and you'll find good articles about it.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum