Form Tools
Config file and No database selected - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4)
+--- Thread: Config file and No database selected (/showthread.php?tid=622)



Config file and No database selected - dand33 - Mar 31st, 2010

Hi Ben,

I am installing Form_tools 2 on our server. Unix, MySQL 5.0.77, PHP 5+.
The installation stops at step 4 (config,php). I have red the other topics and try to pass at step 5 manually. I have completed the form (name, user, password etc) and the error message is "No database selected ". and I can't go further...

PS: Before that, i gave permission 777 to the root folder, the upload folder and the themes/default/cache folder.

The installation worked fine on my computer but I have to use the Email utility for the end use and I could not on my computer.

Hope You can help me...
Thanks again for your time


RE: Config file and No database selected - jglnb - Apr 1st, 2010

Hi dand33,

In my understanding the database is created as part of the hosting for the account that you want to install Formtools with.

My database was created automatically as part of my hosting package and then the hosting company gave me a complete list of the database host name, database name, username and password.

Formtools will then just create the tables it needs within the database - so if you check my phpAdmin you will be able to see if Formtools has had access to your database.

May I suggest that you check out the "myPhp admin" page on the server for your account to examine the database and make sure it is created and populated with "ft_" type table names ?

I hope this helps (I am only new at this !) - just trying to give a little help in appreciation for the help I have got !

Cheers
John


RE: Config file and No database selected - dand33 - Apr 2nd, 2010

Hi John,
The Formtools database has been created.
28 tables with ft_ prefix. Formtools give me the config.php code but do not write the file on the server (folders have all read/write permission).

I'm gona check with my hosting provider if there is something wrong with the PHP or MySQL configuration.

thanks for your help
Dand33


(Apr 1st, 2010, 6:50 PM)jglnb Wrote: Hi dand33,

In my understanding the database is created as part of the hosting for the account that you want to install Formtools with.

My database was created automatically as part of my hosting package and then the hosting company gave me a complete list of the database host name, database name, username and password.

Formtools will then just create the tables it needs within the database - so if you check my phpAdmin you will be able to see if Formtools has had access to your database.

May I suggest that you check out the "myPhp admin" page on the server for your account to examine the database and make sure it is created and populated with "ft_" type table names ?

I hope this helps (I am only new at this !) - just trying to give a little help in appreciation for the help I have got !

Cheers
John