Error Info:

MESSAGE: Unknown column 'hits' in 'order clause'
TYPE: User Warning
FILE: /www/tcg/tongchenggou/ZOL/Abstract/Pdo.php
LINE: 273

Stack trace:

Exception 'ZOL_Error' with message 'Unknown column 'hits' in 'order clause''

#1 /www/tcg/tongchenggou/Html/Goods/activity.php(69):
ZOL_Controller_Front::run()

#2 /www/tcg/tongchenggou/ZOL/Controller/Front.php(49):
Activity_Page_Activity->__construct(Object(ZOL_Request), Object(ZOL_Response))

#3 /www/tcg/tongchenggou/App/Activity/Page/Activity.php(10):
Activity_Page_Abstract->startService(Object(ActivityArrayApi))

#4 /www/tcg/tongchenggou/App/Activity/Page/Abstract.php(15):
Yar_Server->handle()

#5 ActivityArrayApi->searchTuanPaging(array, 'hits desc', '1', '24')

#6 /www/tcg/tongchenggou/App/Activity/Page/Activity.php(91):
Activity_Service_Tuan->search(array, 'hits desc', '0', '24')

#7 /www/tcg/tongchenggou/App/Activity/Service/Tuan.php(52):
Activity_Helper_Tuan->listByCondition(array, 'hits desc', '0', '24')

#8 /www/tcg/tongchenggou/App/Activity/Helper/Tuan.php(198):
Db_DAO::getData('zs_goods_activity_tuan', array, 'tuan_num > 0 and confirm = 1 and is_finish = 0 and start_time <= 1488390447 and end_time >= 1488390447 and tuan_type = 1 and is_show = 1', array, '0', '24')

#9 /www/tcg/tongchenggou/Db/DAO.php(73):
ZOL_Abstract_Pdo->getAll('SELECT * FROM zs_goods_activity_tuan WHERE tuan_num > 0 and confirm = 1 and is_finish = 0 and start_time <= 1488390447 and end_time >= 1488390447 and tuan_type = 1 and is_show = 1 ORDER BY hits desc LIMIT 0,24')

#10 /www/tcg/tongchenggou/ZOL/Abstract/Pdo.php(345):
ZOL_Abstract_Pdo->query('SELECT * FROM zs_goods_activity_tuan WHERE tuan_num > 0 and confirm = 1 and is_finish = 0 and start_time <= 1488390447 and end_time >= 1488390447 and tuan_type = 1 and is_show = 1 ORDER BY hits desc LIMIT 0,24')

#11 /www/tcg/tongchenggou/ZOL/Abstract/Pdo.php(273):
trigger_error('Unknown column 'hits' in 'order clause'', '512')

Debug Info:

269 sleep($reconnectNum);
270 }
271 return $this->query($sql);
272 }
>>273 trigger_error($error[2], E_USER_WARNING);
274 }
275 $reconnectNum = 0;
276
277 #添加日志功能
278 if(IS_DEBUGGING && isset ($_SERVER["REQUEST_URI"])){

Error Info:

MESSAGE: Unknown column 'hits' in 'order clause'
TYPE: User Warning
FILE: /www/tcg/tongchenggou/ZOL/Abstract/Pdo.php
LINE: 273

Stack trace:

Exception 'ZOL_Error' with message 'Unknown column 'hits' in 'order clause''

#1 /www/tcg/tongchenggou/Html/Goods/activity.php(69):
ZOL_Controller_Front::run()

#2 /www/tcg/tongchenggou/ZOL/Controller/Front.php(49):
Activity_Page_Activity->__construct(Object(ZOL_Request), Object(ZOL_Response))

#3 /www/tcg/tongchenggou/App/Activity/Page/Activity.php(10):
Activity_Page_Abstract->startService(Object(ActivityArrayApi))

#4 /www/tcg/tongchenggou/App/Activity/Page/Abstract.php(15):
Yar_Server->handle()

#5 ActivityArrayApi->searchTuanPaging(array, 'hits desc', '1', '24')

#6 /www/tcg/tongchenggou/App/Activity/Page/Activity.php(91):
Activity_Service_Tuan->search(array, 'hits desc', '0', '24')

#7 /www/tcg/tongchenggou/App/Activity/Service/Tuan.php(52):
Activity_Helper_Tuan->listByCondition(array, 'hits desc', '0', '24')

#8 /www/tcg/tongchenggou/App/Activity/Helper/Tuan.php(198):
Db_DAO::getData('zs_goods_activity_tuan', array, 'confirm = 1 and is_finish = 0 and start_time > 1488390447 and tuan_type = 1 and is_show = 1', array, '0', '24')

#9 /www/tcg/tongchenggou/Db/DAO.php(73):
ZOL_Abstract_Pdo->getAll('SELECT * FROM zs_goods_activity_tuan WHERE confirm = 1 and is_finish = 0 and start_time > 1488390447 and tuan_type = 1 and is_show = 1 ORDER BY hits desc LIMIT 0,24')

#10 /www/tcg/tongchenggou/ZOL/Abstract/Pdo.php(345):
ZOL_Abstract_Pdo->query('SELECT * FROM zs_goods_activity_tuan WHERE confirm = 1 and is_finish = 0 and start_time > 1488390447 and tuan_type = 1 and is_show = 1 ORDER BY hits desc LIMIT 0,24')

#11 /www/tcg/tongchenggou/ZOL/Abstract/Pdo.php(273):
trigger_error('Unknown column 'hits' in 'order clause'', '512')

Debug Info:

269 sleep($reconnectNum);
270 }
271 return $this->query($sql);
272 }
>>273 trigger_error($error[2], E_USER_WARNING);
274 }
275 $reconnectNum = 0;
276
277 #添加日志功能
278 if(IS_DEBUGGING && isset ($_SERVER["REQUEST_URI"])){
ZOL团购-ZOL商城

数码产品团购

更多团购商品 >>