SkyFire

E_WARNING: PDOStatement::execute(): SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (latin2_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='


FILE: _cache/cs_mini/core/class.cs_db.php -> line 45
URL:  http://www.workprofit.pl/szukaj.html?wojewodztwo=%EF%BF%BD%EF%BF%BDl%EF%BF%BD%EF%BF%BDskie&page_id=38

Reload »
001. <? class cs_db {
002.
003.
004.    public function 
__construct() {
005. ...

040.        global 
$CONF$SQL_QU;
041.        try {
042.            if(
$CONF->SHOW_SQL)
043.                        
$SQL_QU[]=$query;
044.            
$ret=$this->POLACZENIE->prepare($query);
045.            $ret->execute();
046.            if(
$ret==false) throw new Exception('sql_error');
047.        } catch (
Exception $e) {
048.            
$mysql_error=$e->getMessage();
049.
050.            if(
stristr($mysql_error'marked as crashed') && $this->AFTER_REPAIR!=true) {