[eluser]gtech[/eluser]
I might have an idea.... the clue is in the error message
in your file system\database\drivers\mysql\mysql_driver.php
what line of code is at line 227 on your setup?
mine is this
Code:
function escape_str($str)
{
if (get_magic_quotes_gpc())
{
return $str; // <------ GTECH... THIS IS MY LINE 227
}
if (function_exists('mysql_real_escape_string'))
{
return mysql_real_escape_string($str, $this->conn_id);
}
elseif (function_exists('mysql_escape_string'))
{
return mysql_escape_string($str);
}
else
{
return addslashes($str);
}
}
Now whats odd is I put an echo before my line 227 ran the code above, and the echo was displayed.. This means on my set up it does not even call mysql_real_escape_string, because get_magic_quotes_gpc() condition is met.
On yours it seems as if the if condition is not true, and then calls mysql_real_escape_string, which throws an error.... what is also odd is that its saying that mysql_real_escape_string is on line 227 in your errormessage... however mine is return $str.... which suggests our driver files differ slightly!
what does your line 227 looklike?
aaaand
what does the escape_str function look like?