<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Help to finish instalation of poll"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Help to finish instalation of poll"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Help to finish instalation of poll</title>
				<description><![CDATA[ Hi<br /> <br /> I installed advanced poll by fantastico on folder poll. Second I created the database on "cpanel" "mySQL databases" in following way: <br /> <br /> (some of the stuff are a copy of another post in this forum, and... sorry about my english)<br /> <br /> 1. Had hit "Add Db" -- Call it "mypoll". MySQL named it "songokou_mypoll" for the database name. <br /> <br /> 2. Had hit "Add User" (below) The name entered was "bobt", password "xxx" <br /> A. Created a user.... "songokou_bobt" (that has a password "xxx") <br /> <br /> 3. Now had put "songokou_bobt" and "songokou_mypoll" in dropdown boxes (above). <br /> A. Had hit Add user to Db <br /> B. This tie the user "songokou_bobt" to the new database "songokou_mypoll". <br /> <br /> Now working on Pollphp.zip,<br /> Rename the "DB" folder to "poll"<br /> b. Then to the "Include" folder in folder "poll". <br /> c. Open up "'config.inc.php" in Windows <br /> <br /> 1. Change $POLLDB["dbName"] = "songokou_mypoll"; <br /> 2. Leave Alone $POLLDB["host"] = "localhost"; [do not change] <br /> 3. Change $POLLDB["user"] = "songokou_bobt"; <br /> 4. Change $POLLDB["pass"] = "xxx"; <br /> <br /> 5. Upload whole "poll" folder to public.html in your FTP account. <br /> 6. Tree should be: \public.html\poll. <br /> 5. Now access the program in your browser with 'http://www.mydomainname.com/poll/install.php and I followed the steps, everything ok.<br /> <br /> Now I insert the code<br /> <br />  &lt;?php <br /> /* Include this before your html code */ <br /> include "./poll_cookie.php"; <br /> ?&gt; <br /> <br /> in the begining of my php file, the one i want for the poll.<br /> <br /> And in the place I want the poll to be I insert<br /> <br /> &lt;?php<br /> include_once "/home/songokou/public_html/domainname/poll/booth.php";<br /> echo $php_poll-&gt;poll_process(4);        // x = Poll ID<br /> ?&gt;<br /> <br /> I upload the file and the following error appears when accessing the page:<br /> <br /> Database Error<br /> <br /> MySQL Error: Database error<br /> Error number: 1046 No database selected<br /> Date...<br /> Ip...<br /> Referer...<br /> Php version: 4.4.2<br /> Os: Linux<br /> Server...<br /> Server name: www.domainname.com<br /> Script name: /index.php<br /> <br /> Can you help me?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20544.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20544.php</link>
				<pubDate><![CDATA[Thu, 25 May 2006 23:41:50]]> GMT</pubDate>
				<author><![CDATA[ son_gokou]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Have created the database before running the install script?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20545.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20545.php</link>
				<pubDate><![CDATA[Fri, 26 May 2006 09:46:29]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thanks for your reply. <br /> You mean do this step <a class="snap_shots" href="http://www.mydomainname.com/poll/install.php" target="_blank" rel="nofollow">http://www.mydomainname.com/poll/install.php</a> ?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20546.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20546.php</link>
				<pubDate><![CDATA[Fri, 26 May 2006 14:54:29]]> GMT</pubDate>
				<author><![CDATA[ son_gokou]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ No.<br /> <br /> You create the database then you run that script.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20547.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20547.php</link>
				<pubDate><![CDATA[Fri, 26 May 2006 17:39:34]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ How I do that?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20548.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20548.php</link>
				<pubDate><![CDATA[Fri, 26 May 2006 19:16:18]]> GMT</pubDate>
				<author><![CDATA[ son_gokou]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ 1. Had hit "Add Db" -- Call it "mypoll". MySQL named it "songokou_mypoll" for the database name. <br /> <br /> 2. Had hit "Add User" (below) The name entered was "bobt", password "xxx" <br /> A. Created a user.... "songokou_bobt" (that has a password "xxx") <br /> <br /> 3. Now had put "songokou_bobt" and "songokou_mypoll" in dropdown boxes (above). <br /> A. Had hit Add user to Db <br /> B. This tie the user "songokou_bobt" to the new database "songokou_mypoll". <br /> <br /> <br /> You mean doing this?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20553.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20553.php</link>
				<pubDate><![CDATA[Sat, 27 May 2006 02:50:24]]> GMT</pubDate>
				<author><![CDATA[ son_gokou]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Yes, if you have done those steps and put the correct database name in config.inc.php you should be able to run the install.php script.<br /> <br /> Double check your config.inc.php settings.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20556.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20556.php</link>
				<pubDate><![CDATA[Sat, 27 May 2006 11:06:59]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I'm sorry I can't see any mistake.<br /> <br /> Users in mypoll<br /> songokou_bobt (Privileges: ALL PRIVILEGES) <br /> <br /> Connection Strings <br /> Perl $dbh = DBI-&gt;connect("DBI:mysql:songokou_mypoll:localhost","songokou_bobt","&lt;PASSWORD HERE&gt;"); <br /> PHP $dbh=mysql_connect ("localhost", "songokou_bobt", "&lt;PASSWORD HERE&gt;") or die ('I cannot connect to the database because: ' . mysql_error());<br /> mysql_select_db ("songokou_mypoll");  <br /> <br /> Here is my MySQL database.<br /> <br /> $POLLDB["dbname"] = "songokou_mypoll";<br /> $POLLDB["host"]   = "localhost";<br /> $POLLDB["user"]   = "songokou_bobt";<br /> $POLLDB["pass"]   = "****";<br /> $POLLDB["class"]  = "class_mysql.php";<br /> <br /> and config.inc<br /> ....]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20565.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20565.php</link>
				<pubDate><![CDATA[Sun, 28 May 2006 03:17:41]]> GMT</pubDate>
				<author><![CDATA[ son_gokou]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ To me your config looks correct as well so I'm rather confused as to why it won't work.<br /> <br /> There's two things I can think of...<br /> <br /> 1) PHP bug<br /> 2) Incompatibility between PHP version and MySQL version<br /> <br /> I would recommend sending an e-mail to your host about this incase they know something we don't.<br /> Could also send Carbonize a PM since he's a damn good PHP coder.<br /> <br /> Sorry I couldn't be of more help to you, if I think of anything I'll let you know.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20566.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20566.php</link>
				<pubDate><![CDATA[Sun, 28 May 2006 03:49:06]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ When someone tries to help, that will be always a help <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" /> Thanks dude<br /> <br /> I don´t know if this is relevant. When I install advanced poll from fantastico, a folder named poll was automatically created. Then when I copy the stuff from pollphp.zip (only the folder poll) some files were overwritten. I don´t see any information about this in the forum so, I guess is normal. Any way I told you.<br /> <br /> I will send a message to Carbonize <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" /><br /> <br /> Thanks again]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20578.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20578.php</link>
				<pubDate><![CDATA[Mon, 29 May 2006 01:48:54]]> GMT</pubDate>
				<author><![CDATA[ son_gokou]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Just had a thought - <br /> <br /> from what you just said it sounds like you installed adv. poll once thru fantastico and then once using the download from this site. Maybe your accessing the wrong install of the poll ie. the one where you haven't configured the config.nc.php file. But, you have configured the config.in.php file another copy of adv. poll somewhere else that your not accessing.<br /> <br /> If you understand that then I commend you ; ) try removing adv. poll and starting afresh using the download of this site following the instructions in my guide - not the word one the .rtf one if I remember correctly.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20579.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20579.php</link>
				<pubDate><![CDATA[Mon, 29 May 2006 02:05:29]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Since you are on cPanel use it to install Advanced Guestbook for you. The download the config.inc.php file from the guestbooks admin folder and copy the database information from it. This way we will atleast know that the database exists.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20602.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20602.php</link>
				<pubDate><![CDATA[Mon, 29 May 2006 23:01:23]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Auron: I removed all stuff related to adv. poll and started a fresh installation flollowing what you told me (I guess). It was pretty much the same thing I have done right? So... the same problem appeared. My host provide mysql.<br /> <br /> Carbonize: I'm sorry, I can´t install advanced guestbook from cpanel (in CGI center right?). This means anything?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20609.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20609.php</link>
				<pubDate><![CDATA[Tue, 30 May 2006 00:10:19]]> GMT</pubDate>
				<author><![CDATA[ son_gokou]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ That is odd.<br /> Did you create the database in say phpMyAdmin before running install.php?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20611.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20611.php</link>
				<pubDate><![CDATA[Tue, 30 May 2006 00:27:33]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Can you explain what you mean please?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20613.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20613.php</link>
				<pubDate><![CDATA[Tue, 30 May 2006 00:38:39]]> GMT</pubDate>
				<author><![CDATA[ son_gokou]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="son_gokou"]Can you explain what you mean please?[/quote]<br /> <br /> I mean as in create the database then install adv. poll and then run install.php to make sure the database is there - may also want to write your own test PHP script to see if that can access the database and its not jusst adv. poll.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20614.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20614.php</link>
				<pubDate><![CDATA[Tue, 30 May 2006 01:15:59]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ In phpMyAdmin I have the database "mypoll". That was created by   MySQL Account Maintenance in Cpanel. I didn´t do anything else in   phpMyAdmin. <br /> <br /> I read the guides many times, and repeated the instalation... but the error is the same. I think is something wrong I can't see or something I'm not doing.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20615.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20615.php</link>
				<pubDate><![CDATA[Tue, 30 May 2006 03:04:13]]> GMT</pubDate>
				<author><![CDATA[ son_gokou]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ So, you've got the right database name in your config.inc.php file?<br /> <br /> Erm... I'm kinda running out of ideas right now.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5650/20616.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5650/20616.php</link>
				<pubDate><![CDATA[Tue, 30 May 2006 04:46:45]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
	</channel>
</rss>