Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/web1/html/site/ebiz/sys/lib.db.mysql.php on line 285

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/www/web1/html/site/ebiz/sys/lib.db.mysql.php on line 604

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/web1/html/site/ebiz/sys/lib.db.mysql.php on line 285
array(5) {
  ["str_query"]=>string(405) "select  t.*, s.V1, s.V2, s.T1,count(*) as level from `kat` u, `kat` t
              left join string_kat s on s.S_TABLE='kat' and s.FK=t.ID_KAT
              and s.BF_LANG=if(t.BF_LANG_KAT & 128, 128, 1 << floor(log(t.BF_LANG_KAT+0.5)/log(2)))
      WHERE t.ROOT = 2 AND u.ROOT = 2
        AND t.LFT BETWEEN u.LFT AND u.RGT and t.LFT<>u.LFT and t.LFT >=  and t.RGT <= 
      GROUP BY t.LFT order by LFT"
  ["rsrc"]=>bool(false)
  ["flt_runtime"]=>float(8.2015991210938E-5)
  ["int_result"]=>int(1064)
  ["str_error"]=>string(194) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and t.RGT <= 
      GROUP BY t.LFT order by LFT' at line 5"
}