<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Error in Advanced Poll"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Error in Advanced Poll"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Error in Advanced Poll</title>
				<description><![CDATA[ I have the next error:<br /> <br /> This is the file: <br /> &lt;?<br /> #################################################################################################<br /> #<br /> #  project           	: Alsou-Club.spb.ru<br /> #  filename          	: config.php<br /> #  version           	: 1.01<br /> #  last modified by  	: Kuzmik Maxim<br /> #  e-mail            	: <a class="snap_shots" href="mailto:support@eyfel.ru">support@eyfel.ru</a><br /> #  purpose           	: Pool page<br /> #  last modified     	: 01.04.2004<br /> #<br /> #################################################################################################<br /> ?&gt;<br /> <br /> &lt;? <br /> /* Include this before your html code */<br /> include "poll_cookie.php"; <br /> ?&gt;<br /> <br /> &lt;?<br /> <br /> /* path */<br /> $poll_path = "D:/Program Files/Apache Group/Apache2/htdocs/";<br /> <br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/class_mysql.php";<br /> require $poll_path."/include/class_poll.php";<br /> require $poll_path."/include/class_pollcomment.php";<br /> require $poll_path."/include/class_plist.php";<br /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect(); <br /> <br /> $php_poll = new plist();<br /> <br /> /* poll */<br /> $php_poll-&gt;set_template_set("plain");<br /> $php_poll-&gt;set_max_bar_length(125);<br /> $php_poll-&gt;set_max_bar_height(10);<br /> if (isset($HTTP_GET_VARS['poll_id'])) {<br />    echo $php_poll-&gt;poll_process($HTTP_GET_VARS['poll_id']);<br /> } else {<br />    echo $php_poll-&gt;poll_process("random");<br /> }<br /> <br /> /* poll list */<br /> $php_poll-&gt;set_template("poll_list");<br /> $php_poll-&gt;set_date_format("m/d/Y");<br /> echo $php_poll-&gt;view_poll_list();<br /> echo $php_poll-&gt;get_list_pages();<br /> <br /> ?&gt;<br /> <br /> The I get this file like <a class="snap_shots" href="http://localhost/viewpool.php" target="_blank" rel="nofollow">http://localhost/viewpool.php</a> - it's work fine..<br /> <br /> But the i get this file on other file like <br /> &lt;?<br />   require("viewpool.php");<br /> ?&gt;<br />  it's get the error<br /> Fatal error: Call to a member function on a non-object in D:\Program Files\Apache Group\Apache2\htdocs\include\class_poll.php on line 41<br /> <br /> How can I fix this?<br /> <br /> Thank's]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2958/7846.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2958/7846.php</link>
				<pubDate><![CDATA[Thu, 1 Apr 2004 09:51:04]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [code]$poll_path = &quot;D&#58;/Program Files/Apache Group/Apache2/htdocs/&quot;;[/code]Maybe by removing the [b]/[/b] after [b]htdocs[/b]. If needed elsewhere, then remove the extra [b]/[/b] in the require.<br /> <br /> [code]require $poll_path.&quot;/include/config.inc.php&quot;; <br /> require $poll_path.&quot;/include/class_mysql.php&quot;; <br /> require $poll_path.&quot;/include/class_poll.php&quot;; <br /> require $poll_path.&quot;/include/class_pollcomment.php&quot;; <br /> require $poll_path.&quot;/include/class_plist.php&quot;;[/code]<br /> After the [b]/[/b] removal:[code]require $poll_path.&quot;include/config.inc.php&quot;; <br /> require $poll_path.&quot;include/class_mysql.php&quot;; <br /> require $poll_path.&quot;include/class_poll.php&quot;; <br /> require $poll_path.&quot;include/class_pollcomment.php&quot;; <br /> require $poll_path.&quot;include/class_plist.php&quot;;[/code]<br /> Try it and give us feedback. ;)]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2958/7851.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2958/7851.php</link>
				<pubDate><![CDATA[Thu, 1 Apr 2004 19:31:44]]> GMT</pubDate>
				<author><![CDATA[ Pan]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ maybe very stupid but what do I need to add exactly after "$poll_path =" ?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2958/7879.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2958/7879.php</link>
				<pubDate><![CDATA[Tue, 6 Apr 2004 21:40:07]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>