L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 11:43:33 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.3 support > Topic: Fatal error
Pages: [1] 2   Go Down
« previous next »
Print
Author Topic: Fatal error  (Read 871 times)
0 Members and 1 Guest are viewing this topic.
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Fatal error
« on: July 17, 2007, 01:56:02 AM »

Decided to move my bot from my Windows Server to a new linux one I setup but I now get
Fatal error: Call to a member function create() on a non-object in /core/BotHelp.php on line 60.

This worked fine in Windows... any ideas?
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Fatal error
« Reply #1 on: July 17, 2007, 03:07:13 AM »

Looks like you aren't using the most current version. In line 60 the access control rights are set, I guess your bot hasn't loaded the access control module yet though.
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: Fatal error
« Reply #2 on: July 17, 2007, 04:19:51 AM »

Using 3.5 so dunno.  I even grabbed the latest version of that module off of SVN and didn't make a difference.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Fatal error
« Reply #3 on: July 17, 2007, 04:32:18 AM »

Check the load order of the core modules, the first 3 should be Security, Settings and AccessControl.
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: Fatal error
« Reply #4 on: July 17, 2007, 11:50:12 AM »

Well, looking at the order that it tried to load when it started it did Security, then Settings, then StringFilter, then I got the error so I assume it was doing BotHelp next but just hadn't displayed yet.

How can I change the order that they are loading?
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Fatal error
« Reply #5 on: July 17, 2007, 12:24:29 PM »

It should work in 0.3.5, just checked.

But you can just grab the most current SVN version of Main.php, which is handling all the module loading.
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: Fatal error
« Reply #6 on: July 17, 2007, 12:40:15 PM »

Well, that did fix that issue but then I started getting erros in AOChat.php so grabbed latest of that from SVN.  Then it was errors in Bot.php so I grabbed that from SVN and now I get Fatal error: Call to a member function check() on a non-object in /bot/Sources/Bot.php on line 544
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Fatal error
« Reply #7 on: July 17, 2007, 12:43:31 PM »

lol, sounds like your version got some more errors - though the error you get in the current Bot.php is just the core/Notify module you are missing.

But if you are grabbing some SVN files you should go and grab at least all most current core files too, as a few things did change between the versions.
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: Fatal error
« Reply #8 on: July 17, 2007, 03:21:56 PM »

Ok, as an experiment I grabbed fresh copy of 3.5 and just gave it a blank db and everything so it is in essence a brand new bot.  It created the tables and everything fine but then crash's with Fatal error: Call to undefined function utf8_decode() in /bot/Sources/Bot.php on line 470
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Fatal error
« Reply #9 on: July 18, 2007, 05:01:28 AM »

Looks like your php version is missing the XML parser functions - they must have been disabled on compiling, as they should be activated on default.
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: Fatal error
« Reply #10 on: July 18, 2007, 06:24:19 PM »

Already.... You ROCK.  Can't believe I missed that one   Tongue

Thanks for your help!
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: Fatal error
« Reply #11 on: July 18, 2007, 09:36:58 PM »

Ok... well I thought I was done with it but I'm not getting the AOChat: not expecting authentication problem.

Thought AOKex no longer had to be manually configured?  Is that incorrect?
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: Fatal error
« Reply #12 on: July 18, 2007, 09:44:48 PM »

well i just down load this bot .. upload to server or wateva
doing the setting in the conf folder and run it
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: Fatal error
« Reply #13 on: July 18, 2007, 09:50:37 PM »

Did same thing... This is on the bot I just setup brand new with a blank db.  Trying to get it all ironed out before I move my normal bot over.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Fatal error
« Reply #14 on: July 19, 2007, 03:07:35 AM »

AOKex is no longer part of bebot at all, so no need to config anything.

Besides entering the needed infos into the Bot.conf and MySQL.conf there should be no need for any configuration.
Logged
Pages: [1] 2   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.3 support > Topic: Fatal error
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Elesar1
[Today at 04:41:09 PM]

Shared DB online list
by Temar
[Today at 01:55:47 AM]

relay colors
by Temar
[Today at 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 0
Guests: 15
Total: 15

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.664 seconds with 30 queries. (Pretty URLs adds 0.125s, 4q)
Loading...