BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: Keepbrave on September 16, 2007, 12:11:01 am

Title: bebot not loading.
Post by: Keepbrave on September 16, 2007, 12:11:01 am
I have just got the new version of bebot after a long absence and uploaded it to my site.
I had my server upgraded to php5 so had to re-install aokex.

I have either install kex wrong or somethign si wrong on ym server as i am getting the following error.

Code: [Select]
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613//usr/local/lib/php/extensions/no-debug-non-zts-20020429/aokex.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613//usr/local/lib/php/extensions/no-debug-non-zts-20020429/aokex.so: cannot open shared object file: No such file or directory in Unknown on line 0
Could not open input file: startbot.php

To install aokex i followed the instructions.. i logged in as root and done 2yum install php-devel" as i have centOS

then as i could not do it as root for some reason i logged into my user account and installed aokex by doing
phpize
./configure --with-aokex=shared
make
make install

what else am i doing wrong?


Title: Re: bebot not loading.
Post by: Blueeagle on September 16, 2007, 02:17:52 am
http://bebot.link/index.php/topic,678.0.html so aokex is not the issue here. Could it be case-sensitive filename or could it be a permissions error?

Edit: I overlooked your OS was posted
Title: Re: bebot not loading.
Post by: Keepbrave on September 16, 2007, 02:19:03 am
Ok with help from my host i have got aokex installed.
i have downloaded a fresh bebot and cleared my whole server of old bebot files and sql databases..

now the really really frustrating part.

Code: [Select]
[root@vps607 ecubot]# dir
ChangeLog  Licence.txt  ReadMe.txt  StartBot.bat  StartDebugBot.bat  core    extra  modules  themes
Credits    Main.php     Sources     StartBot.php  conf               custom  log    php.ini  txt
[root@vps607 ecubot]# php startbot.php
Could not open input file: startbot.php
[root@vps607 ecubot]#

??? It will not even execute the bot at all now. Any advice?
Title: Re: bebot not loading.
Post by: Keepbrave on September 16, 2007, 02:19:44 am
http://bebot.link/index.php/topic,678.0.html so aokex is not the issue here. Which operating system are you running? Could it be case-sensitive filename on linux or could it be a permissions error?


I am running Cent-OS
i have tried this in root and the ecu username.
Title: Re: bebot not loading.
Post by: Blueeagle on September 16, 2007, 02:21:31 am
So then you read in the linked post that aokex is no longer needed nor supported then, right?

try: php StartBot.php  (ie note the case on the filenames)
Title: Re: bebot not loading.
Post by: Keepbrave on September 16, 2007, 02:29:20 am
tried case sensitive aswell..

Even if aokex is no longer needed me now having it installed should not cause a problem, so i am still down to the fact it wont load with a simple "php startbot.php" command.

i have tried
php startbot.php
php Startbot.php
php -f startbot.php
Title: Re: bebot not loading.
Post by: Blueeagle on September 16, 2007, 02:34:10 am
Code: [Select]
[root@vps607 ecubot]# dir
ChangeLog  Licence.txt  ReadMe.txt  StartBot.bat  StartDebugBot.bat  core    extra  modules  themes
Credits    Main.php     Sources     StartBot.php  conf               custom  log    php.ini  txt
[root@vps607 ecubot]# php startbot.php
Could not open input file: startbot.php
[root@vps607 ecubot]#

Do note that the filename is StartBot.php, not startbot.php nor Startbot.php. If you type php Start[TAB] then centos should auto-complete with the correct case (ie capital S and a capital B).
Title: Re: bebot not loading.
Post by: Keepbrave on September 16, 2007, 02:37:19 am
i just this min worked out it had a capital B as well :(
i feel such a noob..

now i got a php error as i changed line 67 to /usr/local/bin/php and it doesn't liek it so time to put it back to what it was at default
Title: Re: bebot not loading.
Post by: Keepbrave on September 16, 2007, 02:39:57 am
AT LAST!

hehe, thanks for pointing out my stupid error.

Now i have to update the xml as roster update failed, but it is 2am almost so i think i will be doing that tomorrow!

EDIT: And i have only just noticed this is in the wrong forum too :( i am soo embarrassed
SimplePortal 2.3.7 © 2008-2025, SimplePortal