collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Whois-Update  (Read 4203 times)

0 Members and 1 Guest are viewing this topic.

Offline Newsworthy

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Whois-Update
« 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. :)

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Whois-Update
« Reply #1 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

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: Whois-Update
« Reply #2 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.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Whois-Update
« Reply #3 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
« Last Edit: September 05, 2007, 03:29:31 pm by Alreadythere »

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: Whois-Update
« Reply #4 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

Offline taconis

  • BeBot User
  • **
  • Posts: 34
  • Karma: +0/-0
Re: Whois-Update
« Reply #5 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

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Whois-Update
« Reply #6 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.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: Whois-Update
« Reply #7 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

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 245
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal