Welcome Guest, Not a member yet? Register   Sign In
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;




Theme © iAndrew 2016 - Forum software by © MyBB