Archive > AO 0.6 support
Login error
(1/1)
fhey:
hi,
at Botlogin i get:
darkbot [SETTINGS] [LOAD] Loaded settings from database.
darkbot [ROSTER] [UPDATE] Starting roster update
Fatal error: Call to undefined function utf8_encode() in /bots/bebot/dark/Sources/Bot.php on line 735
Call Stack:
0.0010 260400 1. {main}() /bots/bebot/dark/Main.php:0
33.6778 18236256 2. Bot->cron() /bots/bebot/dark/Main.php:385
33.7900 18310912 3. Bot->cronjob() /bots/bebot/dark/Sources/Bot.php:1604
33.7900 18310912 4. Roster_Core->cron() /bots/bebot/dark/Sources/Bot.php:1572
33.7900 18310912 5. Roster_Core->update_guild() /bots/bebot/dark/main/10_Roster.php:215
33.7902 18310976 6. Bot->send_gc() /bots/bebot/dark/main/10_Roster.php:246
Dump $_SERVER
Dump $_GET
Dump $_POST
Dump $_COOKIE
Dump $_FILES
Dump $_ENV
Dump $_SESSION
Dump $_REQUEST
When I look in /bots/bebot/dark/Sources/Bot.php on line 735 there is this:
$msg = utf8_encode($msg);
Mysql DB is configured with UTF8 ...
greets
Fhey
fhey:
ok,
I commented it out, get another UTF8 error in line 1490
--> commented it out
--> bot is online then.
Let's see if any chars in chat are missing :) ..
greets
fhey
Alreadythere:
utf8_encode() should be part of the default config for PHP, looks like it got disabled on built (Info).
Navigation
[0] Message Index
Go to full version