I have just installed phpopenchat on my webserver, but when i view the index.php file, i get the following error message :
Number of registered users:
Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 81
Warning: Supplied argument is not a valid MySQL result resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 81
Local time: 19:21h
Chatters online:
Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 85
Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 86
Warning: Supplied argument is not a valid MySQL result resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 86
0
Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 127
Can anyone please help me ?
TIA
Michael Frostholm
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this message means that the connection to the database has failed. have you edited the defaults_inc.php with the right databasehost, databasename, databaseuser, databasepassword?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-05-05
Yes i have edited the defaults_inc.php file with the right information about my mySql account. But there is some questions, what about these to fields :
$INSTALL_DIR = "/phpopenchat";//no trailing slash. leave it blank, if you use the root directory of your webserver
//change it to the server name where your chat is installed
$CHATSERVERNAME = "http://dhcp-62-52-63-107";//no trailing slash
I'm not shure i have put in the right values here-
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-05-05
I have found the error, i have put in a space after the databasename. Thank for all help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have just installed phpopenchat on my webserver, but when i view the index.php file, i get the following error message :
Number of registered users:
Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 81
Warning: Supplied argument is not a valid MySQL result resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 81
Local time: 19:21h
Chatters online:
Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 85
Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 86
Warning: Supplied argument is not a valid MySQL result resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 86
0
Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 127
Can anyone please help me ?
TIA
Michael Frostholm
this message means that the connection to the database has failed. have you edited the defaults_inc.php with the right databasehost, databasename, databaseuser, databasepassword?
Yes i have edited the defaults_inc.php file with the right information about my mySql account. But there is some questions, what about these to fields :
$INSTALL_DIR = "/phpopenchat";//no trailing slash. leave it blank, if you use the root directory of your webserver
//change it to the server name where your chat is installed
$CHATSERVERNAME = "http://dhcp-62-52-63-107";//no trailing slash
I'm not shure i have put in the right values here-
I have found the error, i have put in a space after the databasename. Thank for all help