BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: Newsworthy on August 06, 2007, 06:54:25 pm
-
[06-Aug-2007 20:03:58] PHP Fatal error: Call to undefined function mysql_connect() in C:\Bebot\whois-update.php on line 156
I get this error spam, anyone else experiencing this? Any help appreciated. :)
-
You need to include the mysql extension for this to work.
PHP SETUP:
If you recieve the error:
Fatal error: Call to undefined function: mysql_connect()
You may need to add the following line to your PHP.ini file.
Windows:
extension=php_mysql.dll
Linux:
extension=mysql.so
-
13:17:44 - Querying roster for Devil Inside (5593094)...
PHP Notice: Use of undefined constant host - assumed 'host' in C:\Documents and
Settings\Andrei\Desktop\DI BOTS\Bebot\extra\whois-update\whois-update.php on li
ne 52
PHP Notice: Use of undefined constant path - assumed 'path' in C:\Documents and
Settings\Andrei\Desktop\DI BOTS\Bebot\extra\whois-update\whois-update.php on li
ne 67
PHP Notice: Use of undefined constant query - assumed 'query' in C:\Documents a
nd Settings\Andrei\Desktop\DI BOTS\Bebot\extra\whois-update\whois-update.php on
line 68
PHP Notice: Use of undefined constant timed_out - assumed 'timed_out' in C:\Doc
uments and Settings\Andrei\Desktop\DI BOTS\Bebot\extra\whois-update\whois-update
.php on line 86
PHP Notice: Use of undefined constant timed_out - assumed 'timed_out' in C:\Doc
uments and Settings\Andrei\Desktop\DI BOTS\Bebot\extra\whois-update\whois-update
.php on line 110
i get this when i run the whois update from 0.4.1, i dont think it works either, becouse it changes to other guild fast.
-
Pretty sure it does work - but I'm going to fix that anyways.
EDIT: Fixed in SVN, feel free to download the whois-update.php linked here (http://bebot.link/index.php/topic,982.0.html)
-
wow fast fixer :D gj :D
dont you want to be my coder? i got tons of modules to make :D
-
Downloaded the newer whois-update files.... when trying to update members, the bot still comes up with 0 members due to Funcom XML returning 0 members. When running the bat, it errors in line 153 of whois-update.php. All settings in the conf are correct and the mysql dll is loaded in php.ini. Running bebot 0.4.2
-
Line 153 means you got some error in the connect to the mysql server.
Most likely reason for an error is problems with finding the mysql library.
Could be wrong or missing mysql information in the whois-update.conf too though.
-
Downloaded the newer whois-update files.... when trying to update members, the bot still comes up with 0 members due to Funcom XML returning 0 members. When running the bat, it errors in line 153 of whois-update.php. All settings in the conf are correct and the mysql dll is loaded in php.ini. Running bebot 0.4.2
reread the part in the readme file about editing php.ini