|
Dabaron
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
|
|
|
|
|
|
Dabaron
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« Reply #10 on: July 18, 2007, 06:24:19 PM » |
|
Already.... You ROCK. Can't believe I missed that one  Thanks for your help!
|
|
|
|
|
Logged
|
|
|
|
|
Dabaron
|
 |
« 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
|
 |
« 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
|
|
|
|
|
Dabaron
|
 |
« 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
|
 |
« 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
|
|
|
|
|