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 id desc limit 100' at line 1
select * from uq_cart where uid = order by id desc limit 100
Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean in /www/wwwroot/laiweite.cn/UQframework/class/db.class.php:8
Stack trace:
#0 /www/wwwroot/laiweite.cn/App/b2c/home/modules/cart.mod.php(8): db->get_all('cart', 'uid = order by...')
#1 /www/wwwroot/laiweite.cn/UQframework/mytpl.class.php(8): cart_mod->get_list(Array)
#2 /www/wwwroot/laiweite.cn/temp/b2c/templates_c/home/%%6C^6C1^6C12A5DC%%index.html.php(23): mytpl->load_module(Array, Object(mytpl))
#3 /www/wwwroot/laiweite.cn/UQframework/vendor/smarty/Smarty.class.php(625): include('/www/wwwroot/la...')
#4 /www/wwwroot/laiweite.cn/UQframework/vendor/smarty/Smarty.class.php(483): Smarty->fetch('/www/wwwroot/la...', NULL, NULL, true)
#5 /www/wwwroot/laiweite.cn/UQframework/mytpl.class.php(8): Smarty->display('/www/wwwroot/la...')
#6 /www/wwwroot/laiweite.cn/UQframework/mcore.class.php(8): mytpl->displays()
#7 /www/wwwroot/laiweite.cn/App/b2c/home/controls/cart.class.php(8): control->display()
#8 /www/wwwroot/laiweite.cn/UQframework/mcore.class.p in /www/wwwroot/laiweite.cn/UQframework/class/db.class.php on line 8