DB Error: syntax error
db_error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => -2
[message] => DB Error: syntax error
[userinfo] => SELECT title_en as title, content_en as content, id, pic_1 FROM takeproperty_static_info WHERE id_menu= AND edate < 1 AND active = 'checked' ORDER BY pos ASC [nativecode=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 edate < 1 AND active = 'checked' ORDER BY pos ASC' at line]
[backtrace] => Array
(
[0] => Array
(
[file] => /homepages/29/d159882044/htdocs/pear/DB.php
[line] => 748
[function] => pear_error
[class] => db_error
[type] => ->
[args] => Array
(
[0] => DB Error: syntax error
[1] => -2
[2] => 1
[3] => 1024
[4] => SELECT title_en as title, content_en as content, id, pic_1 FROM takeproperty_static_info WHERE id_menu= AND edate < 1 AND active = 'checked' ORDER BY pos ASC [nativecode=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 edate < 1 AND active = 'checked' ORDER BY pos ASC' at line]
)
)
[1] => Array
(
[file] => /homepages/29/d159882044/htdocs/pear/PEAR.php
[line] => 541
[function] => db_error
[class] => db_error
[type] => ->
[args] => Array
(
[0] => -2
[1] => 1
[2] => 1024
[3] => SELECT title_en as title, content_en as content, id, pic_1 FROM takeproperty_static_info WHERE id_menu= AND edate < 1 AND active = 'checked' ORDER BY pos ASC [nativecode=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 edate < 1 AND active = 'checked' ORDER BY pos ASC' at line]
)
)
[2] => Array
(
[file] => /homepages/29/d159882044/htdocs/pear/DB/common.php
[line] => 500
[function] => raiseerror
[class] => pear
[type] => ::
[args] => Array
(
[0] =>
[1] => -2
[2] =>
[3] =>
[4] => SELECT title_en as title, content_en as content, id, pic_1 FROM takeproperty_static_info WHERE id_menu= AND edate < 1 AND active = 'checked' ORDER BY pos ASC [nativecode=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 edate < 1 AND active = 'checked' ORDER BY pos ASC' at line]
[5] => DB_Error
[6] => 1
)
)
[3] => Array
(
[file] => /homepages/29/d159882044/htdocs/pear/DB/mysql.php
[line] => 776
[function] => raiseerror
[class] => db_mysql
[type] => ->
[args] => Array
(
[0] => -2
[1] =>
[2] =>
[3] =>
[4] => 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 edate < 1 AND active = 'checked' ORDER BY pos ASC' at line
)
)
[4] => Array
(
[file] => /homepages/29/d159882044/htdocs/pear/DB/mysql.php
[line] => 228
[function] => mysqlraiseerror
[class] => db_mysql
[type] => ->
[args] => Array
(
)
)
[5] => Array
(
[file] => /homepages/29/d159882044/htdocs/pear/DB/common.php
[line] => 1146
[function] => simplequery
[class] => db_mysql
[type] => ->
[args] => Array
(
[0] => SELECT title_en as title, content_en as content, id, pic_1 FROM takeproperty_static_info WHERE id_menu= AND edate < 1 AND active = 'checked' ORDER BY pos ASC
)
)
[6] => Array
(
[file] => /homepages/29/d159882044/htdocs/pear/DB/common.php
[line] => 1596
[function] => query
[class] => db_mysql
[type] => ->
[args] => Array
(
[0] => SELECT title_en as title, content_en as content, id, pic_1 FROM takeproperty_static_info WHERE id_menu= AND edate < 1 AND active = 'checked' ORDER BY pos ASC
)
)
[7] => Array
(
[file] => /homepages/29/d159882044/htdocs/static_info.php
[line] => 15
[function] => getall
[class] => db_mysql
[type] => ->
[args] => Array
(
[0] => SELECT title_en as title, content_en as content, id, pic_1 FROM takeproperty_static_info WHERE id_menu= AND edate < 1 AND active = 'checked' ORDER BY pos ASC
)
)
)
[callback] =>
)