Array
(
[0] => SET NAMES utf8mb4
[1] => SELECT id FROM ucms_cases where (cid='56') and isok=1 AND id< order by aorder desc,id desc limit 0,1
)
Array
(
[0] => D:\wwwroot\nicopulse.com\index.php line:11 class:->match_route
[1] => D:\wwwroot\nicopulse.com\inc\func.php line:1951 class:->init_route
[2] => D:\wwwroot\nicopulse.com\inc\func.php line:2023 class:->include
[3] => D:\wwwroot\nicopulse.com\cache\template\735d\491a\580764aedc41c8c647d6.html line:52 class:->a
[4] => D:\wwwroot\nicopulse.com\inc\func.php line:4 class:->alist
[5] => D:\wwwroot\nicopulse.com\inc\func.php line:353 class:db->query
[6] => D:\wwwroot\nicopulse.com\inc\func.php line:1583 class:db->errorMessage
)
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 'order by aorder desc,id desc limit 0,1' at line 1Array
(
[0] => SET NAMES utf8mb4
[1] => SELECT id FROM ucms_cases where (cid='56') and isok=1 AND id< order by aorder desc,id desc limit 0,1
[2] => SELECT id,title,cid FROM ucms_cases where id in(0) order by aorder desc,id desc
[3] => SELECT id FROM ucms_cases where (cid='56') and isok=1 AND id> order by aorder desc,id asc limit 0,1
)
Array
(
[0] => D:\wwwroot\nicopulse.com\index.php line:11 class:->match_route
[1] => D:\wwwroot\nicopulse.com\inc\func.php line:1951 class:->init_route
[2] => D:\wwwroot\nicopulse.com\inc\func.php line:2023 class:->include
[3] => D:\wwwroot\nicopulse.com\cache\template\735d\491a\580764aedc41c8c647d6.html line:53 class:->a
[4] => D:\wwwroot\nicopulse.com\inc\func.php line:4 class:->alist
[5] => D:\wwwroot\nicopulse.com\inc\func.php line:353 class:db->query
[6] => D:\wwwroot\nicopulse.com\inc\func.php line:1583 class:db->errorMessage
)
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 'order by aorder desc,id asc limit 0,1' at line 1
Array
(
[0] => SET NAMES utf8mb4
[1] => SELECT id FROM ucms_cases where (cid='56') and isok=1 AND id< order by aorder desc,id desc limit 0,1
[2] => SELECT id,title,cid FROM ucms_cases where id in(0) order by aorder desc,id desc
[3] => SELECT id FROM ucms_cases where (cid='56') and isok=1 AND id> order by aorder desc,id asc limit 0,1
[4] => SELECT id,title,cid FROM ucms_cases where id in(0) order by aorder desc,id asc
[5] => SELECT id FROM ucms_cases where (cid='56') and isok=1 AND pic<>'' AND id<> order by aorder desc,id desc limit 0,5
)
Array
(
[0] => D:\wwwroot\nicopulse.com\index.php line:11 class:->match_route
[1] => D:\wwwroot\nicopulse.com\inc\func.php line:1951 class:->init_route
[2] => D:\wwwroot\nicopulse.com\inc\func.php line:2023 class:->include
[3] => D:\wwwroot\nicopulse.com\cache\template\735d\491a\580764aedc41c8c647d6.html line:72 class:->alist
[4] => D:\wwwroot\nicopulse.com\inc\func.php line:353 class:db->query
[5] => D:\wwwroot\nicopulse.com\inc\func.php line:1583 class:db->errorMessage
)
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 'order by aorder desc,id desc limit 0,5' at line 1