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

Title: Whois-Update
Post 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. :)
Title: Re: Whois-Update
Post by: Alreadythere on August 06, 2007, 07:18:54 pm
You need to include the mysql extension for this to work.

Quote
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
Title: Re: Whois-Update
Post by: Pharexys on September 05, 2007, 03:20:49 pm
Code: [Select]
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.
Title: Re: Whois-Update
Post by: Alreadythere on September 05, 2007, 03:22:28 pm
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)
Title: Re: Whois-Update
Post by: Pharexys on September 05, 2007, 03:34:19 pm
wow fast fixer :D gj :D
dont you want to be my coder? i got tons of modules to make :D
Title: Re: Whois-Update
Post by: taconis on November 11, 2007, 02:15:54 pm
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
Title: Re: Whois-Update
Post by: Alreadythere on November 11, 2007, 05:24:00 pm
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.
Title: Re: Whois-Update
Post by: Dracutza on December 03, 2007, 08:00:32 am
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
SimplePortal 2.3.7 © 2008-2025, SimplePortal