<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Yet another comments section for the Advanced Poll 2.03"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Yet another comments section for the Advanced Poll 2.03"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Yet another comments section for the Advanced Poll 2.03</title>
				<description><![CDATA[ Hi all, <br />   I've tried to include the comments section into a poll I have a test page, located at http://www.heaphydesigns.com/specialrequestwithcomments.php<br /> <br /> For some reason, I am getting the following errors after the poll (where the comments section should be):<br /> <br /> [b]Warning:[/b] main(/www/poll/db/include/config.inc.php): failed to open stream: No such file or directory in [b]/home/darrenh/public_html/specialrequestwithcomments.php[/b] on line 110<br /> <br /> [b]Fatal error: main(): [/b]Failed opening required '/www/poll/db/include/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in [b]/home/darrenh/public_html/specialrequestwithcomments.php [/b]on line 110<br /> <br /> The HTML code for the page is as follows (minus all the tables and stuff):<br /> <br /> [code]<br /> &lt;?php<br /> // Important! You have to include it before your html code<br /> include_once &quot;/home/darrenh/public_html/poll/poll_cookie.php&quot;;<br /> ?&gt;<br /> <br /> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;<br />     &quot;http&#58;//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br /> &lt;html xmlns=&quot;http&#58;//www.w3.org/1999/xhtml&quot;&gt;<br /> &lt;head&gt;<br /> &lt;title&gt;Heaphy Designs&#58; Reduced to begging&lt;/title&gt;<br /> &lt;/head&gt;<br /> <br /> &lt;body topmargin=&quot;0&quot; leftmargin=&quot;0&quot; onload=&quot;loadStyle&#40;&#41;&quot;&gt;<br /> <br /> <br /> 										&lt;?php<br /> include_once &quot;/home/darrenh/public_html/poll/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 /> Thanks!<br /> &lt;/body&gt;<br /> &lt;/html&gt;<br /> [/code]<br /> <br /> Please do help if you can, I'm not really sure where it (or rather, me) is going wrong  :!:]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3590/10364.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3590/10364.php</link>
				<pubDate><![CDATA[Tue, 14 Sep 2004 14:53:05]]> GMT</pubDate>
				<author><![CDATA[ BravoGolf]]></author>
			</item>
			<item>
				<title>Re: Yet another comments section for the Advanced Poll 2.03</title>
				<description><![CDATA[ [quote="BravoGolf"][b]Warning:[/b] main(/www/poll/db/include/config.inc.php): failed to open stream: No such file or directory in [b]/home/darrenh/public_html/specialrequestwithcomments.php[/b] on line 110[/quote]<br /> <br /> - Check to see if it is there<br /> <br /> [quote="BravoGolf"][b]Fatal error: main(): [/b]Failed opening required '/www/poll/db/include/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in [b]/home/darrenh/public_html/specialrequestwithcomments.php [/b]on line 110[/quote]<br /> <br /> - Check chmod permissions and that the file is there<br /> <br /> Try this code...<br /> <br /> [code]<br /> &lt;?php<br /> include_once &quot;/home/darrenh/public_html/poll/poll_cookie.php&quot;;<br /> ?&gt;<br /> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;<br />     &quot;http&#58;//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br /> &lt;html xmlns=&quot;http&#58;//www.w3.org/1999/xhtml&quot;&gt;<br /> &lt;head&gt;<br /> &lt;title&gt;Heaphy Designs&#58; Reduced to begging&lt;/title&gt;<br /> &lt;/head&gt;<br /> <br /> &lt;body topmargin=&quot;0&quot; leftmargin=&quot;0&quot; onload=&quot;loadStyle&#40;&#41;&quot;&gt;<br /> <br /> &lt;?php<br /> include_once &quot;/home/darrenh/public_html/poll/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 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;5&#41;; // i think the no. in the brackets has to be the poll id<br /> echo $php_poll-&gt;get_comment_pages&#40;5&#41;; // same as above<br /> ?&gt; <br /> <br /> Thanks!<br /> &lt;/body&gt;<br /> &lt;/html&gt;[/code]<br /> <br /> - Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3590/10370.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3590/10370.php</link>
				<pubDate><![CDATA[Tue, 14 Sep 2004 18:25:55]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thanks Auron.<br /> I checked the path for the PHP path, which I had specified (incorrectly) as:<br /> [code]<br /> /* path */ <br /> $poll_path = &quot;www/poll/db/&quot;; <br /> [/code]<br /> <br /> So I changed the path (correctly) to:<br /> [code]<br /> /* path */ <br /> $poll_path = &quot;/home/darrenh/public_html/poll/&quot;; <br /> [/code]<br /> <br /> This removed the errors:<br /> [quote]<br /> Warning: main(/www/poll/db/include/config.inc.php): failed to open stream: No such file or directory in /home/darrenh/public_html/specialrequestwithcomments.php on line 110<br /> [/quote]<br /> and<br /> [quote]<br /> Fatal error: main(): Failed opening required '/www/poll/db/include/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/darrenh/public_html/specialrequestwithcomments.php on line 110<br /> [/quote] <br /> as the path to them was now correct.<br /> <br /> Only, now I get the error:<br /> [b]Fatal error:[/b] Cannot redeclare class polldb_sql in [b]/home/darrenh/public_html/poll/include/class_mysql.php[/b] on line 10<br /> <br /> I'm not quite sure what the chmod file is, to be honest. So I assume that might be it? I was informed though that it should be set correctly...<br /> I'll check that though just in case....<br /> <br /> Any other ideas?<br /> <br /> Link is http://www.heaphydesigns.com/specialrequestwithcomments.php<br /> <br /> Source code is:<br /> [code]<br /> &lt;?php <br /> include_once &quot;/home/darrenh/public_html/poll/poll_cookie.php&quot;; <br /> ?&gt; <br /> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; <br />     &quot;http&#58;//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt; <br /> &lt;html xmlns=&quot;http&#58;//www.w3.org/1999/xhtml&quot;&gt; <br /> &lt;head&gt; <br /> &lt;title&gt;Heaphy Designs&#58; Reduced to begging&lt;/title&gt; <br /> &lt;/head&gt; <br /> <br /> &lt;body topmargin=&quot;0&quot; leftmargin=&quot;0&quot; onload=&quot;loadStyle&#40;&#41;&quot;&gt; <br /> Darn.<br /> <br /> <br /> &lt;?php <br /> include_once &quot;/home/darrenh/public_html/poll/booth.php&quot;; <br /> echo $php_poll-&gt;poll_process&#40;5&#41;; <br /> <br /> /* path */ <br /> $poll_path = &quot;/home/darrenh/public_html/poll/&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 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;5&#41;; // i think the no. in the brackets has to be the poll id <br /> echo $php_poll-&gt;get_comment_pages&#40;5&#41;; // same as above <br /> ?&gt; <br /> <br /> Thanks! <br /> &lt;/body&gt; <br /> &lt;/html&gt;<br /> [/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3590/10381.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3590/10381.php</link>
				<pubDate><![CDATA[Wed, 15 Sep 2004 10:29:41]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Oops, last post was from me, forgot to log in....]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3590/10386.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3590/10386.php</link>
				<pubDate><![CDATA[Wed, 15 Sep 2004 15:27:03]]> GMT</pubDate>
				<author><![CDATA[ BravoGolf]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ d'oh! I didn't notice the path there <img src="https://proxy2.de/forum//images/smilies/283a16da79f3aa23fe1025c96295f04f.gif" /><br /> <br /> The new error you have i can't remember how to solve it but i'm sure<br /> some1 has before. So a little search on it.<br /> <br /> Use this as the search string...<br /> <br /> [quote]Cannot redeclare class polldb_sql in[/quote]<br /> <br /> Hope that helps.<br /> Auron.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3590/10389.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3590/10389.php</link>
				<pubDate><![CDATA[Wed, 15 Sep 2004 17:35:17]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
	</channel>
</rss>