Warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\wwwroot\vtestcn\wwwroot\controllers\ContentController.php on line 129
Exception

Exception

Description

[content][show] SQL execute failed :SELECT * FROM fn_content_1 WHERE `catid`=33 AND `status`=1 and `listorder`>= and `id`> 22 ORDER BY `listorder` ASC,`id` ASC LIMIT 1
Error Message: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 `id`> 22 ORDER BY `listorder` ASC,`id` ASC LIMIT 1' at line 1
Error Code:1064
Error SQL:SELECT * FROM fn_content_1 WHERE `catid`=33 AND `status`=1 and `listorder`>= and `id`> 22 ORDER BY `listorder` ASC,`id` ASC LIMIT 1

Source File

D:\wwwroot\vtestcn\wwwroot\core\lib\mysql.class.php(55)

Stack Trace

#0 D:\wwwroot\vtestcn\wwwroot\core\lib\mysql.class.php(55)Controller::halt([content][show] SQL execute failed :SELECT * FROM fn_content_1 WHERE `catid`=33 AND `status`=1 and `listorder`>= and `id`> 22 ORDER BY `listorder` ASC,`id` ASC LIMIT 1
Error Message: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 `id`> 22 ORDER BY `listorder` ASC,`id` ASC LIMIT 1' at line 1
Error Code:1064
Error SQL:SELECT * FROM fn_content_1 WHERE `catid`=33 AND `status`=1 and `listorder`>= and `id`> 22 ORDER BY `listorder` ASC,`id` ASC LIMIT 1)
#1 D:\wwwroot\vtestcn\wwwroot\core\lib\mysql.class.php(87)mysql->query(SELECT * FROM fn_content_1 WHERE `catid`=33 AND `status`=1 and `listorder`>= and `id`> 22 ORDER BY `listorder` ASC,`id` ASC LIMIT 1)
#2 D:\wwwroot\vtestcn\wwwroot\core\Model.php(654)mysql->fetch_row(SELECT * FROM fn_content_1 WHERE `catid`=33 AND `status`=1 and `listorder`>= and `id`> 22 ORDER BY `listorder` ASC,`id` ASC)
#3 D:\wwwroot\vtestcn\wwwroot\controllers\ContentController.php(134)Model->getOne(`catid`=33 AND `status`=1 and `listorder`>= and `id`> 22 ORDER BY `listorder` ASC,`id` ASC..)
#4 D:\wwwroot\vtestcn\wwwroot\core\App.php(155)ContentController->showAction()
#5 D:\wwwroot\vtestcn\wwwroot\index.php(19)App::run(Array)