Author |
Message |
09/10/2002 10:49:18
|
Anonymous
|
I get this error when I press the vote button. The vote booth is updated and all, but this text shows up on top and spans across the page. Very annoying. How do i get rid of it?
Warning: Cannot add header information - headers already sent by (output started at /usr/home/warzoneonline/public_html/index.php:7) in /usr/home/warzoneonline/public_html/poll/poll_cookie.php on line 22
|
|
10/10/2002 04:37:27
|
Anonymous
|
nobody knows huh? Oh well
|
|
10/10/2002 15:26:58
|
Anonymous
|
Try removing un necessary HTML tags such as <html> etc. You get this error when the HTML and PHP code conflict and both try to add headers. Someone told me the only way to correct this is to alter the HTML to make it work.
|
|
11/10/2002 04:53:29
|
Anonymous
|
But how can I find out which of my code is causing it???
|
|
11/10/2002 12:14:58
|
Anonymous
|
make sure that you have the part of script that has to be above everything else....is above everything else....so when you work with frames put that part in the index not in the frame
hope this helps...
|
|
13/10/2002 08:22:48
|
Anonymous
|
Still can't fix it. Look at the site urself and check out source code. www.warzoneonline.net
|
|
14/10/2002 03:17:29
|
Anonymous
|
<?php require "poll_cookie.php"; ?>
did u include this before anything else, worked for me?
DD
|
|
15/10/2002 11:35:34
|
Anonymous
|
Nope, doesn't work, i get this error:
Warning: Failed opening 'poll_cookie.php' for inclusion (include_path='') in /usr/home/warzoneonline/public_html/index.php on line 528
|
|
17/10/2002 10:42:19
|
Anonymous
|
Anyone have a clue?
|
|
17/04/2003 19:55:07
|
steelsolid
Newbie
Joined: 17/04/2003 19:50:09
Messages: 2
Offline
|
UndeadDude wrote:Anyone have a clue?
You may be running an older version like I am.
|
|
17/04/2003 23:35:16
|
Anonymous
|
I'm using an hosting server for php support.
Does that mean I'n screwed?
Because they ugraded?
|
|
18/04/2003 17:57:25
|
Anonymous
|
Don't use FRONTPAGE people. That's the problem. And make sure you save the page as *.PHP and that the server you are publishing it to, supports PHP.
That is all you need, no complications. If you follow the steps above you'll be fine.
Especially FRONTPAGE seems to change the syntax code for PHP, so never use it. Use dreamweaver or something else.
|
|
20/04/2003 20:26:55
|
Anonymous
|
Warning: Cannot add header information - headers already sent by (output started at /hsphere/local/home/alams/majid.alams.com/hungama/index.php:2) in /hsphere/local/home/alams/majid.alams.com/poll/poll_cookie.php on line 21
got the same error.. too
wots problem with it ??
Moobi
|
|
27/04/2003 02:01:40
|
Anonymous
|
I get the same error and I have just the poll by it's self on the page and in the body tag i have
<body>
<?php require "poll_cookie.php"; ?>
first line I have used dreamweaver, hosting company has newest php running and I save a poll.php I still get the same error.
Warning: Cannot add header information - headers already sent by (output started at .../poll/poll2.php in /.../poll/poll_cookie.php on line 21
Do I need to change a line in a template in admin section??
Please help..... This is very frustrating......arghhhh
|
|
06/05/2003 02:23:35
|
Anonymous
|
The error that you are mentioning comes from having an invalid path to cookie.php
change:
to reflect the virtual path to the cookie.php file. If you installed the poll script in a subdirectory called poll under your public_html folder, then the path would be this:
I hope this helps.
-Curtis
http://everstuffs.com
|
|
|