collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Login error  (Read 6999 times)

0 Members and 2 Guests are viewing this topic.

Offline fhey

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Login error
« on: December 26, 2008, 08:47:24 pm »
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

Offline fhey

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Login error
« Reply #1 on: December 26, 2008, 08:58:18 pm »
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

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Login error
« Reply #2 on: December 26, 2008, 11:04:19 pm »
utf8_encode() should be part of the default config for PHP, looks like it got disabled on built (Info).

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 335
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal