Archive > BeBot 0.5 support

online not working after upgrading to current stable release

<< < (2/3) > >>

clashbot:
ok, replaced all files with the .6 branch, replaced the aochat and the online_db from the news, and still don't have an online list. I guess I'll have to wait until next revision is out

Temar:
do you get any error in console when doing !online

clashbot:
no, there are no errors in console at all. Just displays 0 members online..logon, whois, is, all work, it's just online. This is happening with all nine bots. They all share the same db. 5 are attached to a relay, and the other 4 are stand-alones...online is configured properly in settings as well. I've tried rosterupdate but that did not fix the problem either.

Blueeagle:

--- Quote from: clashbot on December 05, 2008, 12:08:30 am ---that gives me an error message of fatal error: call to undefined method aochat::get_instance() in bot.php on line 233

--- End quote ---
No files using get_instance() should have been put in 0.6. That is a function implimented in 0.7. If you get that error you've either been grabbing the SVN (it was changed minutes after the 0.6 was released) or the wrong file has been put into the 0.6 distribution pack.

Uragon:
I seem to be having the same issue, !online isn't working after upgrading from the latest 0.4 release to 0.6 including the two fixed files from the front page. This is the SQL error displayed in the bot log:

MySQL error (# 0) on query: SELECT t1.nickname, level, org_rank, org_name, profession, defender_rank_id FROM online AS t1 LEFT JOIN whois AS t2 ON t1.nickname = t2.nickname JOIN polbot_users t3 ON t3.nickname = t1.nickname WHERE status_gc=1 AND user_level = 2 AND botname = 'Polbot' ORDER BY profession ASC, t1.nickname ASC
Column 'level' in field list is ambiguous

I've tried dropping the tables online and whois to have them recreated on restart, but I still seem to be getting the same error message. Any hints?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version