<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Poll works fine but...."]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Poll works fine but...."]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Poll works fine but....</title>
				<description><![CDATA[ Comments are not showing on my website  <img src="https://proxy2.de/forum//images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif" /> <br /> <br /> Ok after studying some more, i came to this :<br /> <br /> my folder is on <br /> C:/www/poll/db and<br /> C:/www/poll/textfile<br /> <br /> <br /> [color="blue"]&lt;Html&gt;<br /> <br /> &lt;head&gt;<br /> &lt;meta name=[/color]"GENERATOR" [color="blue"]content=[/color]"Microsoft FrontPage 5.0"[color="blue"]&gt;<br /> &lt;meta name=[/color]"ProgId" [color="blue"]content=[/color]"FrontPage.Editor.Document"[color="blue"]&gt;<br /> &lt;meta http-equiv=[/color]"Content-Type" [color="blue"]content="[/color]text/html; charset=windows-1252"[color="blue"]&gt;<br /> &lt;title&gt;[/color]New Page 1[color="blue"]&lt;/title&gt;<br /> &lt;/head&gt;<br /> <br /> &lt;body&gt;[/color]<br /> &lt;?php<br /> include_once "c:/www/poll/textfile/booth.php";<br /> echo $php_poll-&gt;poll_process(5);<br /> ?&gt;<br /> <br /> <br /> &lt;?php <br /> [color="green"]/* Include this before your html code */[/color]<br /> [color="blue"]include[/color][color="darkblue"] "./db/poll_cookie.php"; [/color]<br /> ?&gt;<br /> <br /> &lt;?php<br /> <br /> [color="green"]/* path */[/color]<br /> $poll_path = "/www/poll/db";<br /> <br /> [color="blue"]require[/color] $poll_path.[color="darkblue"]"/include/config.inc.php";[/color]<br /> [color="blue"]require[/color] $poll_path.[color="darkblue"]"/include/$POLLDB[class]";[/color]<br /> [color="blue"]require[/color] $poll_path.[color="darkblue"]"/include/class_poll.php";[/color]<br /> [color="blue"]require[/color] $poll_path.[color="darkblue"]"/include/class_pollcomment.php";[/color]<br /> $CLASS["db"] = [color="blue"]new[/color] polldb_sql;<br /> $CLASS["db"]-&gt;connect(); <br /> <br /> $php_poll = new pollcomment();<br /> <br /> [color="green"]/* poll */[/color]<br /> $php_poll-&gt;set_template_set([color="darkblue"]"plain"[/color]);<br /> $php_poll-&gt;set_max_bar_length([color="red"]125[/color]);<br /> $php_poll-&gt;set_max_bar_height([color="red"]10[/color]);<br /> [color="blue"]echo[/color] $php_poll-&gt;view_poll_result([color="red"]1[/color]);<br /> <br /> <br /> [color="green"]/* poll comments */[/color]<br /> $php_poll-&gt;set_template([color="darkblue"]"poll_comment"[/color]);<br /> $php_poll-&gt;set_comments_per_page([color="red"]5[/color]);<br /> $php_poll-&gt;set_date_format([color="darkblue"]"d/m/Y H:i"[/color]);<br /> $php_poll-&gt;data_order_by("[color="darkblue"]time","desc[/color]");<br /> [color="blue"]echo[/color] $php_poll-&gt;view_poll_comments([color="red"]1[/color]);<br /> [color="blue"]echo[/color] $php_poll-&gt;get_comment_pages([color="red"]1[/color]); <br /> <br /> ?&gt;<br /> <br /> &lt;/body&gt;<br /> <br /> &lt;/html&gt;[color="darkblue"][/color]<br /> <br /> I see the poll, and it works... but there is no comments on the site like the demo 2<br /> <br /> My website give me this 1 error  <img src="https://proxy2.de/forum//images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif" /> <br /> <br /> [b]Fatal error[/b]: Cannot redeclare class poll in [b]c:\www\poll\db\include\class_poll.php[/b] on line [b]10[/b]<br /> <br /> Please..... anyone.....?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2945/7796.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2945/7796.php</link>
				<pubDate><![CDATA[Fri, 26 Mar 2004 17:52:42]]> GMT</pubDate>
				<author><![CDATA[ René]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [code]<br /> &lt;?php <br /> /* Include this before your html code */ <br /> include &quot;./db/poll_cookie.php&quot;; <br /> ?&gt; <br /> <br /> &lt;html&gt; <br /> &lt;head&gt; <br /> &lt;meta name=&quot;GENERATOR&quot; content=&quot;Microsoft FrontPage 5.0&quot;&gt; <br /> &lt;meta name=&quot;ProgId&quot; content=&quot;FrontPage.Editor.Document&quot;&gt; <br /> &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=windows-1252&quot;&gt; <br /> &lt;title&gt;New Page 1&lt;/title&gt; <br /> &lt;/head&gt; <br /> <br /> &lt;body&gt; <br /> &lt;?php <br /> include_once &quot;c&#58;/www/poll/textfile/booth.php&quot;; <br /> echo $php_poll-&gt;poll_process&#40;5&#41;; <br /> <br /> /* path */ <br /> $poll_path = &quot;/www/poll/db&quot;; <br /> <br /> require $poll_path.&quot;/include/config.inc.php&quot;; <br /> require $poll_path.&quot;/include/$POLLDB&#91;class&#93;&quot;; <br /> require $poll_path.&quot;/include/class_poll.php&quot;; <br /> require $poll_path.&quot;/include/class_pollcomment.php&quot;; <br /> $CLASS&#91;&quot;db&quot;&#93; = new polldb_sql; <br /> $CLASS&#91;&quot;db&quot;&#93;-&gt;connect&#40;&#41;; <br /> <br /> $php_poll = new pollcomment&#40;&#41;; <br /> <br /> /* poll */ <br /> $php_poll-&gt;set_template_set&#40;&quot;plain&quot;&#41;; <br /> $php_poll-&gt;set_max_bar_length&#40;125&#41;; <br /> $php_poll-&gt;set_max_bar_height&#40;10&#41;; <br /> echo $php_poll-&gt;view_poll_result&#40;1&#41;; <br /> <br /> <br /> /* poll comments */ <br /> $php_poll-&gt;set_template&#40;&quot;poll_comment&quot;&#41;; <br /> $php_poll-&gt;set_comments_per_page&#40;5&#41;; <br /> $php_poll-&gt;set_date_format&#40;&quot;d/m/Y H&#58;i&quot;&#41;; <br /> $php_poll-&gt;data_order_by&#40;&quot;time&quot;,&quot;desc&quot;&#41;; <br /> echo $php_poll-&gt;view_poll_comments&#40;1&#41;; <br /> echo $php_poll-&gt;get_comment_pages&#40;1&#41;; <br /> <br /> ?&gt; <br /> <br /> &lt;/body&gt; <br /> &lt;/html&gt;<br /> [/code]<br /> <br /> Try that. Before HTML means before it.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2945/7797.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2945/7797.php</link>
				<pubDate><![CDATA[Fri, 26 Mar 2004 18:05:13]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title>.</title>
				<description><![CDATA[ Tnx and yes i know before is before, but i tried that too, and the error <br /> <br /> Fatal error: Cannot redeclare class poll in c:\www\poll\db\include\class_poll.php on line 10<br /> <br /> is still there  <img src="https://proxy2.de/forum//images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2945/7798.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2945/7798.php</link>
				<pubDate><![CDATA[Fri, 26 Mar 2004 20:28:13]]> GMT</pubDate>
				<author><![CDATA[ René]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [code]require $poll_path.&quot;/include/class_poll.php[/code]<br /> <br /> Try removing that line.<br /> Also...<br /> <br /> [code]&lt;?php <br /> include_once &quot;c&#58;/www/poll/textfile/booth.php&quot;; <br /> echo $php_poll-&gt;poll_process&#40;5&#41;; <br /> <br /> /* path */ <br /> $poll_path = &quot;/www/poll/db&quot;;[/code]<br /> <br /> Why have you got the poll_process from the 'textfile' version while the<br /> other is from the 'db' version? They may be confilcting with each other.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2945/7799.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2945/7799.php</link>
				<pubDate><![CDATA[Fri, 26 Mar 2004 22:04:56]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ i unzipped the file and i got poll/db and poll/textfile<br /> <br /> so yes i am confused...<br /> <br /> [quote]Code: <br /> require $poll_path."/include/class_poll.php <br /> <br /> <br /> Try removing that line. <br /> [/quote]<br /> <br /> Gives me:<br /> <br /> Fatal error: Class pollcomment: Cannot inherit from undefined class poll in c:\www\poll\db\include\class_pollcomment.php on line 10<br /> <br /> [quote]Also... <br /> <br /> Code: <br /> &lt;?php <br /> include_once "c:/www/poll/textfile/booth.php"; <br /> echo $php_poll-&gt;poll_process(5); <br /> <br /> /* path */ <br /> $poll_path = "/www/poll/db"; <br /> <br /> <br /> Why have you got the poll_process from the 'textfile' version while the <br /> other is from the 'db' version? They may be confilcting with each other. [/quote]<br /> <br /> If i change those foldernames i get more errors<br /> <br /> i use php 4 and mysql mysql-3.23.57-win<br /> <br /> René]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2945/7800.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2945/7800.php</link>
				<pubDate><![CDATA[Fri, 26 Mar 2004 22:30:57]]> GMT</pubDate>
				<author><![CDATA[ René]]></author>
			</item>
			<item>
				<title>again</title>
				<description><![CDATA[ ok i deleted everything and i start over again<br /> <br /> i dl zipfile phppoll<br /> <br /> i unzip it now<br /> <br /> i have 2 folders DB and TEXTFILE<br /> <br /> wich one do i have to use (even if it seems that they can't do without eachother)]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2945/7805.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2945/7805.php</link>
				<pubDate><![CDATA[Sat, 27 Mar 2004 08:11:18]]> GMT</pubDate>
				<author><![CDATA[ René]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ ok it's working now]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2945/10347.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2945/10347.php</link>
				<pubDate><![CDATA[Sat, 11 Sep 2004 18:13:02]]> GMT</pubDate>
				<author><![CDATA[ René]]></author>
			</item>
			<item>
				<title>Re: again</title>
				<description><![CDATA[ [quote="René"]ok i deleted everything and i start over again<br /> <br /> i dl zipfile phppoll<br /> <br /> i unzip it now<br /> <br /> i have 2 folders DB and TEXTFILE<br /> <br /> wich one do i have to use (even if it seems that they can't do without eachother)[/quote]<br /> <br /> db = database ie MySQL<br /> textfile = data in a text file (really?!?!)]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2945/17487.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2945/17487.php</link>
				<pubDate><![CDATA[Fri, 5 Aug 2005 23:39:39]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title>hello</title>
				<description><![CDATA[ wow... that is what i call a very late answer.<br /> <br /> And i don't understand what you mean by this...<br /> <br /> But as it is solved, we don't need to proceed with this topic i guess...<br /> <br /> tnx for your time and help.....]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2945/17494.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2945/17494.php</link>
				<pubDate><![CDATA[Sat, 6 Aug 2005 12:12:25]]> GMT</pubDate>
				<author><![CDATA[ René]]></author>
			</item>
	</channel>
</rss>