<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Fatal error: Cannot redeclare set_max_bar_length()"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Fatal error: Cannot redeclare set_max_bar_length()"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Fatal error: Cannot redeclare set_max_bar_length()</title>
				<description><![CDATA[ Hi,<br /> <br /> Advanced Poll 2.02 suddenly displays the following error (dit not have this error before):<br /> <br /> [quote]Fatal error: Cannot redeclare set_max_bar_length() in /home/www/data/poll/include/class_poll.php on line 116[/quote]<br /> <br /> I've been looking into the PHP code, apparently the function "set_max_bar_length()" is declared twice. If I remove one of them the poll is all messed up (huge bars or no bars at all). Does anyone know a solution to this problem?<br /> <br /> PHP is running on Unix, don't know which server though, only displays "FTP server (Version 1.1.214.8 Fri Apr 20 07:27:42 GMT 2001)".<br /> <br /> Thanks!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2220/5721.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2220/5721.php</link>
				<pubDate><![CDATA[Tue, 5 Aug 2003 16:45:36]]> GMT</pubDate>
				<author><![CDATA[ lmessemaker]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ what version of poll do you use, db or text?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2220/5725.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2220/5725.php</link>
				<pubDate><![CDATA[Tue, 5 Aug 2003 20:07:49]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Maybe the max bar length is unspecified in the general settings, I'm sure I or someone else here had the problem but I have n oidea where the thread is or what the solution was. Try searching the forums using the button in the top right of the screen.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2220/5728.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2220/5728.php</link>
				<pubDate><![CDATA[Tue, 5 Aug 2003 20:56:06]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="cj"]what version of poll do you use, db or text?[/quote]<br /> <br /> I use the txt version of the poll (v2.02).]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2220/5888.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2220/5888.php</link>
				<pubDate><![CDATA[Fri, 15 Aug 2003 11:16:01]]> GMT</pubDate>
				<author><![CDATA[ lmessemaker]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Have you specified the bar max width in the general settings?<br /> Have you chmod 'ed the config.inc.php file to 666 and the include directory to 755?<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2220/5889.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2220/5889.php</link>
				<pubDate><![CDATA[Fri, 15 Aug 2003 13:44:19]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ All settings were correct (never changed them). Apparently the PHP server was upgraded from ver. [b]4.2[/b] to [b]4.3[/b], which caused the error to emerge. I found 2 solutions (previous posts on this forum):<br /> <br /> 1. Reinstall PHP version 4.2<br /> <br /> 2. Comment the set_max_bar_length() function in include/class_poll.php (this is the [b]FIRST[/b] occurance of the function, leave the second occurance of the function untuched!) <br /> <br /> /* <br /> function set_max_bar_length($max_bar_length='') { <br />   if ($max_bar_length &amp;&amp; $max_bar_length&gt;0) { <br />     $this-&gt;pollvars['img_length'] = $max_bar_length; <br />     return true; <br />   } else { <br />     return false; <br />   } <br /> } <br /> <br /> */<br /> <br /> Good luck everyone and thanks for the help!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2220/5956.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2220/5956.php</link>
				<pubDate><![CDATA[Tue, 19 Aug 2003 01:26:45]]> GMT</pubDate>
				<author><![CDATA[ lmessemaker]]></author>
			</item>
			<item>
				<title>Error</title>
				<description><![CDATA[ Man I tried everything already, but I still get that error.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2220/6612.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2220/6612.php</link>
				<pubDate><![CDATA[Tue, 25 Nov 2003 08:10:48]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>