SkyFire

E_WARNING: PDOStatement::execute(): SQLSTATE[HY000]: General error: 3065 Expression #3 of ORDER BY clause is not in SELECT list, references column 'noxudoldb2.prop.pozycja' which is not in SELECT list; this is incompatible with DISTINCT


FILE: _cache/cs_mini/core/class.cs_db.php -> line 45
URL:  http://www.noxudol.pl/smola-drzewna-akta-tratjara-850.html

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) {