I noticed while playing a bit around with the module, that logging is not working when :

Your Channel : "#TestChannel"
You entered into the bot-form : "#testchannel"

Everything else seems to work.

And another small error : When Syslog is disabled the shell debug shows errors like "Insert into drupal_watchdog fails". Don't know what this is related to, but it repeats 3-4 times.

Comments

XiaN Vizjereij’s picture

Ok, the problem was that after some seconds my connection to the database was closed.

For some seconds ( under 60 seconds ) all works fine and then it says "Warning: MySQL server has gone away". But only the logging stops working, all other features ( i tried Botagotchi so far ) work fine.

Don't know what to do about it. Anyone has a idea?

Drupal 6.9
Bot 1.1

PHP 5.2.8
MySQL(i) 5.0.45

morbus iff’s picture

Status: Active » Fixed

The bot has various things in place to stop the database from closing the connection (a timeout set in bot_start.php, a database command every 5 minutes, etc.), but they don't work on all servers - you'll just have to tweak the MySQL server to allow longer durations of inactivity.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.