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



Form Tools
'unable to connect' - 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: 'unable to connect' (/showthread.php?tid=1560)



'unable to connect' - mmwashin - Aug 25th, 2011

Hey everyone!

I had loaded form tools into a directory on my website to test it out and see how it worked before I added a new domain to my hosting services (I have 3 domains using the same hosting account incase that is of importance). I decided that I really liked what Form Tools offered and wanted to use it on the new website I was going to create. I loaded all of the files to the new domain's folder (I had originally transferred the folders and got an error, so I deleted them all and re-uploaded all of the files fresh) and went to do the installation of form tools like I had done previously, without trouble. This time I got an error, and I'm really not sure how to fix it. Any help would greatly be appreciated.

The following error occurred:

Sorry, we were unable to connect to the database using the information you supplied. The error message the database returned is: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Please double-check your database settings and click the Continue button again.


I used "localhost" as database hostname like I did last time.


RE: 'unable to connect' - Ben - Aug 26th, 2011

Hey mmwashin,

Welcome to the forums! Smile

I'm afraid that's something you'll need to run by your hosting provider. A lot of hosts let you refer to the MySQL host via "localhost", but others don't. For instance, I'm on Dreamhost - they don't allow "localhost" references. Your hosting provider will know how to refer to it - run it by them!

All the best -

Ben