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 
Newbie Poll question  XML
Forum Index » Support Forum
Author Message
Anonymous



Ok, I uploaded and set a poll. Works fine. However, when I cast a vote I get the "Cannot modify header information blah blahb lah" error. This was in the FAQ text file in the zip that I downloaded. So, I went back to the editor and added:

<html>
<head>
<?php require "poll/db/admin/db/poll_cookie.php"; ?>
<title>Dereks Graphics</title>
<META HTTP-EQUIV="KEYWORDS" NAME="KEYWORDS" CONTENT="web graphic tutorials, web graphic tips, web graphic techniques, photoshop tutorials, photoshop tips,
<META name="DESCRIPTION" content="Original 3d-rendered and 2D computer desktop wallpapers, Links to tutorials on making your own 3d art, and links to some of the best computer art sites on the web.">
<META name="AUTHOR" content="Dereks Graphics,FireFighterLT@aol.com">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Now, am I placinc the PHP thing in the wrong place? This error only happens when I vote?
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Refer to guide in my signature.
When you get there, click on the first link in the relevant post.
And then the first download link!

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



I'm having the same problem...when I vote, the results page shows...

Warning: Cannot modify header information - headers already sent by (output started at /home/bond1973/public_html/rickbond/poll.php:7) in /home/bond1973/public_html/rickbond/poll/poll_cookie.php on line 21

I'm clueless with php...I'm surprised I've gotten this far. I've downloaded the guide you mentioned and it says nothing about this. Can someone be more specific?

Thanks Much
Rick Bond
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

useful articles...

http://proxy2.de/forum/viewtopic.php?t=2255
http://proxy2.de/forum/viewtopic.php?t=2067
http://proxy2.de/forum/viewtopic.php?t=1528

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Sweet! Thanks man. The problem *I* was having was that I didn't have the cookie info BEFORE the opening <HTML> tag. Placing it before it fixed that problem. The next one to tackle is that it's letting me vote more than once so...I'll work on that next and if I can't get it or find it...I'll be posting again. Thanks again man.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum