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: problems with bot after move from gentoo to fedora  (Read 1974 times)

0 Members and 1 Guest are viewing this topic.

Offline Plac3bo

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
problems with bot after move from gentoo to fedora
« on: January 06, 2006, 01:24:28 pm »
I had to move one of my bots from my gentoo machine to my fedora machine.
First off I got that phpaokex stuff error, that works now..
but now im getting this spammed in the bot console all the time

PHP Notice:  Undefined variable: gi in /home/bot/my/AOChat.php on line 435

Quote
    function lookup_group($g, $type=0)
    {
      if($type && ($gi = (strlen($g) === 5 && ord($g[0]) < 0x10)))
        return $g;
      if(!$gi)
        $g = strtolower($g);
      return empty($this->gid[$g]) ? false : $this->gid[$g];
    }

thats the gi ref I can find in aochat.php...


Offline Plac3bo

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Re: problems with bot after move from gentoo to fedora
« Reply #1 on: January 06, 2006, 01:27:16 pm »
hmm.. also got alot of errors when someone joins..

Quote
[2006-01-06 12:21:48]   [BUDDY] [LOG]   Bevern logged [on]
PHP Notice:  Undefined index:  Bevern in /home/bot/mybot/modules/IRC.php on line 324
[2006-01-06 12:21:57]   [PGRP]  [JOIN]  Bevern joined privategroup.
PHP Notice:  Use of undefined constant nick - assumed 'nick' in /home/bot/mybot/modules/Notify.php on line 51
PHP Notice:  Use of undefined constant level - assumed 'level' in /home/bot/mybot/modules/Notify.php on line 51
PHP Notice:  Use of undefined constant at - assumed 'at' in /home/bot/mybot/modules/Notify.php on line 51
PHP Notice:  Use of undefined constant at_name - assumed 'at_name' in /home/bot/mybot/modules/Notify.php on line 51
PHP Notice:  Use of undefined constant profession - assumed 'profession' in /home/bot/mybot/modules/Notify.php on line 51
PHP Notice:  Use of undefined constant faction - assumed 'faction' in /home/bot/mybot/modules/Notify.php on line 51
PHP Notice:  Use of undefined constant rank - assumed 'rank' in /home/bot/mybot/modules/Notify.php on line 51
PHP Notice:  Use of undefined constant org - assumed 'org' in /home/bot/mybot/modules/Notify.php on line 51
[2006-01-06 12:21:58]   [PGRP]  [MSG]   [Chatlink] Chatlink: Bevern, a level 217 (AT 15 - Competent) Soldier, Clan, Veteran of Forsaken just joined Chatlink
PHP Notice:  Undefined variable: gi in /home/bot/mybot/AOChat.php on line 435
PHP Notice:  Undefined variable: name in /home/bot/mybot/Bot.php on line 408
PHP Notice:  Undefined variable: name in /home/bot/mybot/Bot.php on line 409


Offline Ainen

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: problems with bot after move from gentoo to fedora
« Reply #2 on: January 06, 2006, 04:27:26 pm »
Those notices are probably from a different setting for warnings in your php.ini. Those are all unimportant warnings. If you look in your php.ini, you'll probably find a line
Code: [Select]
error_reporting  =  E_ALLChange this line to
Code: [Select]
error_reporting  =  E_ALL & ~E_NOTICE and those will go away.  ;)
BeBot 0.3.4 svn 91 // PHP 4.3.9 // MySQL 4.1.12

 

* 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: 96
  • 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