FILE: D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\Lib\Driver\Db\DbMysql.class.php LINE: 320
错误位置
TRACE
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (320) trace(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 '-10,10' at line 1
[ SQL语句 ] : select * from news where hand = '40' order by time desc limit -10,10 , , ERR)
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\Lib\Core\Model.class.php (1078) DbMysql->query(select * from news where hand = '40' order by time desc limit -10,10 )
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\App\Lib\Action\SiteAction.class.php (84) Model->query(select * from news where hand = '40' order by time desc limit -10,10 )
[24-10-12 08:19:10] () SiteAction->news_list(40, 1)
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\Lib\Core\App.class.php (170) ReflectionMethod->invokeArgs(, Array)
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\Lib\Core\App.class.php (208) App::exec()
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\Common\runtime.php (243) Think::start()
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\ThinkPHP.php (30) require(D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\Common\runtime.php)
[24-10-12 08:19:10] D:\vhostroot\LocalUser\njyqyy218\www\index.php (21) require(D:\vhostroot\LocalUser\njyqyy218\www\ThinkPHP\ThinkPHP.php)