<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Can get poll to work / warnings / fatal error"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Can get poll to work / warnings / fatal error"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Can get poll to work / warnings / fatal error</title>
				<description><![CDATA[ Hello,<br /> <br /> Impresed by he possibilities, I decided to ga for this poll system. I managed to install the poll. However, using CMS Made simple, I get the following warnings<br /> [quote]<br /> Warning: cms_tmp_poll_userplugin_function(): open_basedir restriction in effect. File(/home/httpd/vhosts/httpdocs/poll/include/config.inc.php) is not within the allowed path(s): (/home/httpd/vhosts/uisge-beatha.eu/httpdocs:/tmp) in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php(669) : eval()'d code on line 9<br /> <br /> Warning: cms_tmp_poll_userplugin_function(/home/httpd/vhosts/httpdocs/poll/include/config.inc.php): failed to open stream: Bewerking niet toegestaan in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php(669) : eval()'d code on line 9<br /> <br /> Fatal error: cms_tmp_poll_userplugin_function(): Failed opening required '/home/httpd/vhosts/httpdocs/poll/include/config.inc.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php(669) : eval()'d code on line 9<br /> [/quote]<br /> <br /> The code has been put in a user defined tag (that's the way CMSMS wants it):<br /> [code]<br /> /* Include this before your html code */<br /> /* include_once &quot;./poll_cookie.php&quot;; */<br /> include_once &quot;/home/httpd/vhosts/httpdocs/poll/poll_cookie.php&quot;;<br /> <br /> /* path */ <br /> $poll_path = &quot;/home/httpd/vhosts/httpdocs/poll&quot;;<br /> <br /> require_once $poll_path.&quot;/include/config.inc.php&quot;;<br /> require_once $poll_path.&quot;/include/$POLLDB&#91;class&#93;&quot;;<br /> require_once $poll_path.&quot;/include/class_poll.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 poll&#40;&#41;;<br /> <br /> /* the first poll */ <br /> echo $php_poll-&gt;poll_process&#40;1&#41;;<br /> <br /> <br /> /* the second poll */<br /> $php_poll-&gt;set_template_set&#40;&quot;simple&quot;&#41;;<br /> $php_poll-&gt;set_max_bar_length&#40;80&#41;; <br /> echo $php_poll-&gt;poll_process&#40;2&#41;;<br /> <br /> <br /> /* the third poll */<br /> $php_poll-&gt;set_template_set&#40;&quot;popup&quot;&#41;;<br /> if &#40;$php_poll-&gt;is_valid_poll_id&#40;3&#41;&#41; &#123;<br />     echo $php_poll-&gt;display_poll&#40;3&#41;;<br /> &#125; <br /> [/code]<br /> <br /> I removed the code to forcome errors on the screen.<br /> <br /> Could you please help me to get this working?<br /> <br /> Thanks very much for your help!<br /> H]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/6366/22462.php</guid>
				<link>https://proxy2.de/forum/posts/preList/6366/22462.php</link>
				<pubDate><![CDATA[Wed, 21 Mar 2007 12:29:07]]> GMT</pubDate>
				<author><![CDATA[ hanse311]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hello,<br /> <br /> Made some changes and got a bit further, however, the following error occurs:<br /> [quote]<br /> Warning: mysql_connect(): Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/poll/include/class_mysql.php on line 32<br /> Connection Error, kan geen verbinding met DB maken<br /> <br /> MySQL Error : Connection Error, kan geen verbinding met DB maken<br /> Error Number: 0 <br /> Date        : Wed, March 21, 2007 15:17:10<br /> IP          : 84.86.63.24<br /> Browser     : Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2<br /> Referer     : <a class="snap_shots" href="http://www.uisge-beatha.eu/index.php?page=home" target="_blank" rel="nofollow">http://www.uisge-beatha.eu/index.php?page=home</a><br /> PHP Version : 4.3.11<br /> OS          : Linux<br /> Server      : Apache<br /> Server Name : www.uisge-beatha.eu<br /> Script Name : /index.php<br /> [/quote]<br /> <br /> I definitly set the correct user in config.inc.php<br /> <br /> Any suggestions why the user is apache@localhost<br /> <br /> Thanks,<br /> H]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/6366/22463.php</guid>
				<link>https://proxy2.de/forum/posts/preList/6366/22463.php</link>
				<pubDate><![CDATA[Wed, 21 Mar 2007 15:19:10]]> GMT</pubDate>
				<author><![CDATA[ hanse311]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote]Warning: mysql_connect(): Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/vhosts/xxxxxxx/httpdocs/poll/include/class_mysql.php on line 32 [/quote]<br /> <br /> You didn't edit the include/config.inc.php file and add your database user info and password. That's why it says using password: NO]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/6366/22492.php</guid>
				<link>https://proxy2.de/forum/posts/preList/6366/22492.php</link>
				<pubDate><![CDATA[Wed, 28 Mar 2007 22:35:49]]> GMT</pubDate>
				<author><![CDATA[ amber222]]></author>
			</item>
	</channel>
</rss>