E_WARNING: PDOStatement::execute(): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'currentOpts.href' in 'where clause'
FILE: _cache/cs_mini/core/class.cs_db.php -> line 160
URL: http://www.bomir.com.pl/components/js/jquery.fancybox/'+currentOpts.href+'
Reload »
001.
<? class cs_db {
002.
003.
004.
function order_by($col, $dir='asc', $ident=false) {
005.
...
155.
global $CONF, $SQL_QU;
156.
try {
157.
if($CONF->SHOW_SQL)
158.
$SQL_QU[]=$query;
159.
$ret=$this->POLACZENIE->prepare($query);
160.
$ret->execute();
161.
if($ret==false) throw new Exception('sql_error');
162.
} catch (Exception $e) {
163.
$mysql_error=$e->getMessage();
164.
165.
if(stristr($mysql_error, 'marked as crashed') && $this->AFTER_REPAIR!=true) {