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 
Major Error on my a poll.  XML
Forum Index » Support Forum
Author Message
amacualey
Newbie

Joined: 15/05/2009 18:42:59
Messages: 4
Offline

I created a poll included it in a php layout. Everything looks good when i attemt to vote i got an error.

Warning: Cannot modify header information - headers already sent by (output started at /home/slmtocom/public_html/awards/vote.php:7) in /home/slmtocom/public_html/votingpoll/poll_cookie.php on line 21


Can someone please help.

Thanks
Jnice
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

You have some white space or something being echoed in vote.php

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
amacualey
Newbie

Joined: 15/05/2009 18:42:59
Messages: 4
Offline

I have tried everything and created a new php with the code. this the code i am using

<?php
// Important! You have to include it before your html code
include_once "/home/slmtocom/public_html/votingpoll/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/home/slmtocom/public_html/votingpoll/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>


This is the error i am getting....

Warning: Cannot modify header information - headers already sent by (output started at /home/slmtocom/public_html/votingpoll/voteme.php:5) in /home/slmtocom/public_html/votingpoll/poll_cookie.php on line 21


Thanks
Jnice
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Send me your vote.php to webmaster @ carbonize . co . uk

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
amacualey
Newbie

Joined: 15/05/2009 18:42:59
Messages: 4
Offline

EMAILED REQUEST....


Thanks
amacualey
Newbie

Joined: 15/05/2009 18:42:59
Messages: 4
Offline

I know you are helping me beyoud help itself. I was also wondering if there is a way i can hide the result after voting.

There is 28 poll of voting... i want each to hide the result until i reveal them.

Thanks
Jnice
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

The cookie PHP needs to be the VERY first thing.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum