[2]Use of undefined constant weapp_forum_collect - assumed 'weapp_forum_collect' (this will throw an Error in a future version of PHP)[/www/wwwroot/www.yucongsj.com/application/plugins/controller/Forum.php:1618]
[2]Use of undefined constant weapp_forum_collect - assumed 'weapp_forum_collect' (this will throw an Error in a future version of PHP)[/www/wwwroot/www.yucongsj.com/application/plugins/controller/Forum.php:1619]
[ DB ] CONNECT:[ UseTime:0.000425s ] mysql:host=127.0.0.1;port=3306;dbname=www_yucongsj_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ey_language` [ RunTime:0.000800s ]
[ SQL ] SELECT `mark` FROM `ey_language` WHERE `is_home_default` = 1 LIMIT 1 [ RunTime:0.000229s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp` [ RunTime:0.000630s ]
[ SQL ] SELECT * FROM `ey_weapp` WHERE `code` = 'Forum' LIMIT 1 [ RunTime:0.000252s ]
[ SQL ] SELECT * FROM `ey_weapp` WHERE `code` = 'Ask' LIMIT 1 [ RunTime:0.000239s ]
[ SQL ] SELECT * FROM `ey_weapp` WHERE `code` = 'Users' LIMIT 1 [ RunTime:0.000225s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_friends` [ RunTime:0.000797s ]
[ SQL ] SELECT `a`.*,`c`.`head_pic`,c.nickname as at_nickname FROM `ey_weapp_forum_friends` `a` LEFT JOIN `ey_users` `c` ON `c`.`users_id`=`a`.`users_id` WHERE `a`.`users_id` IS NULL OR `a`.`at_users_id` IS NULL [ RunTime:0.000205s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_message` [ RunTime:0.000644s ]
[ SQL ] SELECT COUNT(message_id) AS tp_count FROM `ey_weapp_forum_message` WHERE `is_type` = 0 AND `forum_id` = 0 AND `at_users_id` IS NULL AND `is_read` = 0 LIMIT 1 [ RunTime:0.000178s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum` [ RunTime:0.000674s ]
[ SQL ] SELECT * FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000217s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_type` [ RunTime:0.000660s ]
[ SQL ] SELECT * FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000215s ]
[ SQL ] SELECT * FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000184s ]
[ SQL ] SELECT COUNT(type_id) AS tp_count FROM `ey_weapp_forum_type` `a` WHERE `a`.`is_status` = 1 AND `a`.`is_hidden` = 1 LIMIT 1 [ RunTime:0.000313s ]
[ SQL ] SELECT `a`.* FROM `ey_weapp_forum_type` `a` WHERE `a`.`is_status` = 1 AND `a`.`is_hidden` = 1 ORDER BY `sort_order` ASC,`type_id` ASC LIMIT 0,10 [ RunTime:0.000491s ]
[ SQL ] SHOW COLUMNS FROM `ey_users` [ RunTime:0.000900s ]
[ SQL ] SELECT * FROM `ey_users` WHERE `admin_id` > 0 AND `users_id` IS NULL LIMIT 1 [ RunTime:0.000270s ]
[ SQL ] SELECT `readperm` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000234s ]
[ SQL ] SHOW COLUMNS FROM `ey_users_level` [ RunTime:0.000657s ]
[ SQL ] SELECT `level_name` FROM `ey_users_level` WHERE `level_value` = 0 LIMIT 1 [ RunTime:0.000207s ]
[ SQL ] SELECT `level` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000147s ]
[ SQL ] SELECT `level_value` FROM `ey_users_level` WHERE `level_id` IS NULL LIMIT 1 [ RunTime:0.000163s ]
[ SQL ] SELECT `level_name` FROM `ey_users_level` WHERE `level_id` IS NULL LIMIT 1 [ RunTime:0.000139s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_userleve` [ RunTime:0.000681s ]
[ SQL ] SELECT `fangwen_id` FROM `ey_weapp_forum_userleve` WHERE `level_id` = 0 AND `type_id` = 7 LIMIT 1 [ RunTime:0.000206s ]
[ SQL ] SELECT `level` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000272s ]
[ SQL ] SELECT `level_name` FROM `ey_users_level` WHERE `level_id` IS NULL LIMIT 1 [ RunTime:0.000184s ]
[ SQL ] UPDATE `ey_weapp_forum` SET `click`=click+1 WHERE `forum_id` = 20 [ RunTime:0.000261s ]
[ SQL ] SELECT `a`.* FROM `ey_weapp_forum` `a` WHERE `a`.`status` = 1 AND `a`.`type_id` NOT IN ('') AND `a`.`litpic` <> '/public/static/common/images/not_adv.jpg' ORDER BY `a`.`replies` DESC,`a`.`add_time` DESC LIMIT 0,3 [ RunTime:0.000461s ]
[ SQL ] SELECT `a`.* FROM `ey_weapp_forum` `a` WHERE `a`.`type_id` NOT IN ('') AND `a`.`status` = 1 ORDER BY `a`.`click` DESC,`a`.`add_time` DESC LIMIT 0,8 [ RunTime:0.000444s ]
[ SQL ] SELECT `users_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000224s ]
[ SQL ] SELECT * FROM `ey_users` WHERE `username` IN ('化工小老弟') [ RunTime:0.000304s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum` `a` WHERE `status` = 1 AND `users_id` = 6 LIMIT 1 [ RunTime:0.000281s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_answer` [ RunTime:0.000698s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum_answer` `a` WHERE `is_review` = 1 AND `users_id` = 6 LIMIT 1 [ RunTime:0.000229s ]
[ SQL ] SELECT `username` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000143s ]
[ SQL ] SELECT `forum_title` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000143s ]
[ SQL ] SELECT `users_id` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000134s ]
[ SQL ] SELECT `data`,`status` FROM `ey_weapp` WHERE `code` = 'Users' LIMIT 1 [ RunTime:0.000213s ]
[ SQL ] SELECT `type_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000181s ]
[ SQL ] SELECT `username` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000139s ]
[ SQL ] SELECT `add_time` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000155s ]
[ SQL ] SELECT `click` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000174s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_collect` [ RunTime:0.000528s ]
[ SQL ] SELECT `collect_id` FROM `ey_weapp_forum_collect` WHERE `forum_id` = 20 AND `users_id` IS NULL AND `leixing` = 1 LIMIT 1 [ RunTime:0.000164s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ey_weapp_forum_collect` WHERE `forum_id` = 20 AND `leixing` = 1 LIMIT 1 [ RunTime:0.000193s ]
[ SQL ] SELECT `type_password` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000153s ]
[ SQL ] SELECT `replies` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000151s ]
[ SQL ] SELECT `settingnew` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000163s ]
[ SQL ] SELECT `settingnew_jifen` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000144s ]
[ SQL ] SELECT `scores` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000136s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_settingnew` [ RunTime:0.000522s ]
[ SQL ] SELECT SUM(pscore) AS tp_sum FROM `ey_weapp_forum_settingnew` WHERE `type_id` = 7 AND `forum_id` = 20 LIMIT 1 [ RunTime:0.000189s ]
[ SQL ] SELECT COUNT(settingnew_id) AS tp_count FROM `ey_weapp_forum_settingnew` WHERE `type_id` = 7 AND `forum_id` = 20 LIMIT 1 [ RunTime:0.000194s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_answer_like` [ RunTime:0.000607s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` = 0 AND `forum_id` = 20 AND `agree` = 1 LIMIT 1 [ RunTime:0.000219s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` = 0 AND `forum_id` = 20 AND `oppose` = 1 LIMIT 1 [ RunTime:0.000206s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` IS NULL AND `forum_id` = 20 AND `agree` = 1 LIMIT 1 [ RunTime:0.000169s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` IS NULL AND `forum_id` = 20 AND `oppose` = 1 LIMIT 1 [ RunTime:0.000181s ]
[ SQL ] SELECT `price` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000171s ]
[ SQL ] SELECT `reward` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000193s ]
[ SQL ] SELECT `is_gaoliang` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000143s ]
[ SQL ] SELECT `reward` FROM `ey_weapp_forum` WHERE `forum_id` = 20 AND `users_id` IS NULL LIMIT 1 [ RunTime:0.000160s ]
[ SQL ] SELECT COUNT(answer_id) AS tp_count FROM `ey_weapp_forum_answer` WHERE `forum_id` = 20 AND `is_bestanswer` = 1 LIMIT 1 [ RunTime:0.000193s ]
[ SQL ] SELECT `special` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000146s ]
[ SQL ] SELECT `users_id` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000186s ]
[ SQL ] SELECT `scores` FROM `ey_users` WHERE `users_id` = 2 LIMIT 1 [ RunTime:0.000189s ]
[ SQL ] SELECT `admin_id` FROM `ey_users` WHERE `users_id` = 2 LIMIT 1 [ RunTime:0.000156s ]
[ SQL ] SELECT `is_allowanonymous` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000145s ]
[ SQL ] SELECT `head_pic` FROM `ey_users` WHERE `users_id` = 2 LIMIT 1 [ RunTime:0.000137s ]
[ SQL ] SELECT `head_pic` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000124s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum` WHERE `status` = 1 AND `users_id` = 2 LIMIT 1 [ RunTime:0.000212s ]
[ SQL ] SELECT COUNT(answer_id) AS tp_count FROM `ey_weapp_forum_answer` WHERE `is_review` = 1 AND `users_id` = 2 LIMIT 1 [ RunTime:0.000175s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_money` [ RunTime:0.000516s ]
[ SQL ] SELECT COUNT(money_id) AS tp_count FROM `ey_weapp_forum_money` WHERE `users_id` IS NULL AND `type_id` = 7 AND `forum_id` = 20 LIMIT 1 [ RunTime:0.000172s ]
[ SQL ] SELECT `is_eye` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000160s ]
[ SQL ] SELECT `is_zhiding` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000170s ]
[ SQL ] SELECT `is_recom` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000139s ]
[ SQL ] SELECT `is_tuijian` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000191s ]
[ SQL ] SELECT `is_yuanchuang` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000156s ]
[ SQL ] SELECT `is_jiacu` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000145s ]
[ SQL ] SELECT `is_lunbo` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000138s ]
[ SQL ] SELECT `status` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000143s ]
[ SQL ] SELECT `gaoliang_color` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000136s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_vote` [ RunTime:0.000714s ]
[ SQL ] SELECT * FROM `ey_weapp_forum_vote` WHERE `type_id` = 7 AND `forum_id` = 20 [ RunTime:0.000178s ]
[ SQL ] SELECT `a`.*,`b`.`head_pic`,`b`.`nickname` FROM `ey_weapp_forum_settingnew` `a` LEFT JOIN `ey_users` `b` ON `a`.`users_id`=`b`.`users_id` WHERE `a`.`type_id` = 7 AND `a`.`forum_id` = 20 ORDER BY `a`.`pscore`,`a`.`add_time` DESC LIMIT 0,5 [ RunTime:0.000225s ]
[ SQL ] SELECT `a`.*,`b`.`head_pic`,`b`.`nickname` FROM `ey_weapp_forum_settingnew` `a` LEFT JOIN `ey_users` `b` ON `a`.`users_id`=`b`.`users_id` WHERE `a`.`type_id` = 7 AND `a`.`forum_id` = 20 ORDER BY `a`.`pscore`,`a`.`add_time` DESC [ RunTime:0.000238s ]
[ SQL ] SELECT COUNT(answer_id) AS tp_count FROM `ey_weapp_forum_answer` `a` WHERE `a`.`type_id` = 7 AND `a`.`forum_id` = 20 AND `a`.`is_review` = 1 LIMIT 1 [ RunTime:0.000199s ]
[ SQL ] SELECT `a`.*,`b`.`head_pic`,`b`.`nickname`,`b`.`scores`,`c`.`level_name` FROM `ey_weapp_forum_answer` `a` LEFT JOIN `ey_users` `b` ON `a`.`users_id`=`b`.`users_id` LEFT JOIN `ey_users_level` `c` ON `c`.`level_id`=`b`.`level` WHERE `a`.`type_id` = 7 AND `a`.`forum_id` = 20 AND `a`.`is_review` = 1 ORDER BY `a`.`is_bestanswer` DESC,`a`.`add_time` ASC LIMIT 0,20 [ RunTime:0.000297s ]
[ SQL ] SELECT `a`.* FROM `ey_weapp_forum` `a` WHERE `a`.`users_id` = 2 AND `a`.`status` = 1 ORDER BY `a`.`add_time` ASC LIMIT 0,5 [ RunTime:0.000340s ]
[ SQL ] SELECT `content` FROM `ey_weapp_forum` WHERE `forum_id` = 20 LIMIT 1 [ RunTime:0.000265s ]
[ SQL ] SELECT `parent_id` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000187s ]
[ SQL ] SELECT `type_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 1 LIMIT 1 [ RunTime:0.000223s ]
[ SQL ] SELECT `type_id` FROM `ey_weapp_forum_type` WHERE `type_id` = 1 LIMIT 1 [ RunTime:0.000157s ]
[ SQL ] SELECT `type_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000250s ]
[ SQL ] SHOW COLUMNS FROM `ey_config` [ RunTime:0.000774s ]
[ SQL ] SELECT * FROM `ey_config` WHERE `inc_type` = 'language' AND `lang` = 'cn' AND `is_del` = 0 [ RunTime:0.000375s ]