• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting error message

#1
[eluser]Unknown[/eluser]
I am new to CodeIgniter

Please somebody help me in understaning the following error message.

An Error Was Encountered
Unable to set client connection character set: utf8

#2
[eluser]Seppo[/eluser]
Which DB server are you using? Is it Mysql 3.* ?

#3
[eluser]Unknown[/eluser]
Mysql 3.23?

#4
[eluser]Seppo[/eluser]
Yeah, it's not supported by CI... you can "crack" the code to avoid this error to happen, open system/database/drivers/mysql/mysql_driver.php, on line 97 you should have
Code:
return @mysql_query("SET NAMES '".$this->escape_str($charset)."' COLLATE '".$this->escape_str($collation)."'", $this->conn_id);
add a line before it (or replace it) with
Code:
return true;


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.