The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



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