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] => 353
[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] => 198
[function] => getTagsByNewsId
[class] => News_Dao
[type] => ->
[args] => Array
(
[0] =>
)
)
[3] => Array
(
[file] => /web/webpont.com/kosarsportnew/szabalyzatok/index.php
[line] => 13
[function] => getNewsById
[class] => News_Dao
[type] => ->
[args] => Array
(
[0] => 24304
)
)
)
[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] => 220
[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] => 202
[function] => getAttachments
[class] => News_Dao
[type] => ->
[args] => Array
(
[0] =>
)
)
[3] => Array
(
[file] => /web/webpont.com/kosarsportnew/szabalyzatok/index.php
[line] => 13
[function] => getNewsById
[class] => News_Dao
[type] => ->
[args] => Array
(
[0] => 24304
)
)
)
[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
)
)