PDOException Object ( [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /web/webpont.com/kosarsportnew/php/dbutils.php [line:protected] => 367 [trace:Exception:private] => Array ( [0] => Array ( [file] => /web/webpont.com/kosarsportnew/php/dbutils.php [line] => 367 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /web/webpont.com/kosarsportnew/dao/news_dao.php [line] => 298 [function] => queryList [class] => DB [type] => -> [args] => Array ( [0] => SELECT tag FROM hunbasket.hir_tag WHERE hir_id = ) ) [2] => Array ( [file] => /web/webpont.com/kosarsportnew/dao/news_dao.php [line] => 193 [function] => getTagsByNewsId [class] => News_Dao [type] => -> [args] => Array ( [0] => ) ) [3] => Array ( [file] => /web/webpont.com/kosarsportnew/templates/head.php [line] => 50 [function] => getNewsById [class] => News_Dao [type] => -> [args] => Array ( [0] => B ) ) [4] => Array ( [file] => /web/webpont.com/kosarsportnew/hir.php [line] => 8 [args] => Array ( [0] => /web/webpont.com/kosarsportnew/templates/head.php ) [function] => include ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42000 [1] => 1064 [2] => 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 '' at line 1 ) ) PDOException Object ( [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 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 (pic like '%.pdf' OR pic like '%.xlsx' OR pic like '%.doc' OR pic like '%.do' at line 3 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /web/webpont.com/kosarsportnew/php/dbutils.php [line:protected] => 367 [trace:Exception:private] => Array ( [0] => Array ( [file] => /web/webpont.com/kosarsportnew/php/dbutils.php [line] => 367 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /web/webpont.com/kosarsportnew/dao/news_dao.php [line] => 215 [function] => queryList [class] => DB [type] => -> [args] => Array ( [0] => SELECT pic newspic FROM hunbasket.hirkepek WHERE hirid = AND (pic like '%.pdf' OR pic like '%.xlsx' OR pic like '%.doc' OR pic like '%.docx') ) ) [2] => Array ( [file] => /web/webpont.com/kosarsportnew/dao/news_dao.php [line] => 197 [function] => getAttachments [class] => News_Dao [type] => -> [args] => Array ( [0] => ) ) [3] => Array ( [file] => /web/webpont.com/kosarsportnew/templates/head.php [line] => 50 [function] => getNewsById [class] => News_Dao [type] => -> [args] => Array ( [0] => B ) ) [4] => Array ( [file] => /web/webpont.com/kosarsportnew/hir.php [line] => 8 [args] => Array ( [0] => /web/webpont.com/kosarsportnew/templates/head.php ) [function] => include ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42000 [1] => 1064 [2] => 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 (pic like '%.pdf' OR pic like '%.xlsx' OR pic like '%.doc' OR pic like '%.do' at line 3 ) ) - MKOSZ

Megyei szövetségek