[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.000470s ] mysql:host=127.0.0.1;port=3306;dbname=www_yucongsj_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ey_language` [ RunTime:0.000865s ]
[ SQL ] SELECT `mark` FROM `ey_language` WHERE `is_home_default` = 1 LIMIT 1 [ RunTime:0.000246s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp` [ RunTime:0.000924s ]
[ SQL ] SELECT * FROM `ey_weapp` WHERE `code` = 'Forum' LIMIT 1 [ RunTime:0.000372s ]
[ SQL ] SELECT * FROM `ey_weapp` WHERE `code` = 'Ask' LIMIT 1 [ RunTime:0.000309s ]
[ SQL ] SELECT * FROM `ey_weapp` WHERE `code` = 'Users' LIMIT 1 [ RunTime:0.000264s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_friends` [ RunTime:0.001014s ]
[ 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.000252s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_message` [ RunTime:0.000715s ]
[ 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.000262s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum` [ RunTime:0.000735s ]
[ SQL ] SELECT * FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000300s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_type` [ RunTime:0.000764s ]
[ SQL ] SELECT * FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000336s ]
[ SQL ] SELECT * FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000371s ]
[ 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.000378s ]
[ 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.000428s ]
[ SQL ] SHOW COLUMNS FROM `ey_users` [ RunTime:0.000771s ]
[ SQL ] SELECT * FROM `ey_users` WHERE `admin_id` > 0 AND `users_id` IS NULL LIMIT 1 [ RunTime:0.000264s ]
[ SQL ] SELECT `readperm` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000159s ]
[ SQL ] SHOW COLUMNS FROM `ey_users_level` [ RunTime:0.000590s ]
[ SQL ] SELECT `level_name` FROM `ey_users_level` WHERE `level_value` = 0 LIMIT 1 [ RunTime:0.000213s ]
[ SQL ] SELECT `level` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000196s ]
[ SQL ] SELECT `level_value` FROM `ey_users_level` WHERE `level_id` IS NULL LIMIT 1 [ RunTime:0.000159s ]
[ SQL ] SELECT `level_name` FROM `ey_users_level` WHERE `level_id` IS NULL LIMIT 1 [ RunTime:0.000126s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_userleve` [ RunTime:0.000625s ]
[ SQL ] SELECT `fangwen_id` FROM `ey_weapp_forum_userleve` WHERE `level_id` = 0 AND `type_id` = 7 LIMIT 1 [ RunTime:0.000192s ]
[ SQL ] SELECT `level` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000149s ]
[ SQL ] SELECT `level_name` FROM `ey_users_level` WHERE `level_id` IS NULL LIMIT 1 [ RunTime:0.000126s ]
[ SQL ] UPDATE `ey_weapp_forum` SET `click`=click+1 WHERE `forum_id` = 4 [ RunTime:0.000308s ]
[ 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.000398s ]
[ 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.000408s ]
[ SQL ] SELECT `users_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000214s ]
[ SQL ] SELECT * FROM `ey_users` WHERE `username` IN ('化工小老弟') [ RunTime:0.000352s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum` `a` WHERE `status` = 1 AND `users_id` = 6 LIMIT 1 [ RunTime:0.000343s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_answer` [ RunTime:0.000594s ]
[ 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.000264s ]
[ SQL ] SELECT `username` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000180s ]
[ SQL ] SELECT `forum_title` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000241s ]
[ SQL ] SELECT `users_id` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000225s ]
[ SQL ] SELECT `data`,`status` FROM `ey_weapp` WHERE `code` = 'Users' LIMIT 1 [ RunTime:0.000244s ]
[ SQL ] SELECT `type_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000203s ]
[ SQL ] SELECT `username` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000226s ]
[ SQL ] SELECT `add_time` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000247s ]
[ SQL ] SELECT `click` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000204s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_collect` [ RunTime:0.000556s ]
[ SQL ] SELECT `collect_id` FROM `ey_weapp_forum_collect` WHERE `forum_id` = 4 AND `users_id` IS NULL AND `leixing` = 1 LIMIT 1 [ RunTime:0.000194s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ey_weapp_forum_collect` WHERE `forum_id` = 4 AND `leixing` = 1 LIMIT 1 [ RunTime:0.000197s ]
[ SQL ] SELECT `type_password` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000204s ]
[ SQL ] SELECT `replies` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000214s ]
[ SQL ] SELECT `settingnew` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000184s ]
[ SQL ] SELECT `settingnew_jifen` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000185s ]
[ SQL ] SELECT `scores` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000187s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_settingnew` [ RunTime:0.000649s ]
[ SQL ] SELECT SUM(pscore) AS tp_sum FROM `ey_weapp_forum_settingnew` WHERE `type_id` = 7 AND `forum_id` = 4 LIMIT 1 [ RunTime:0.000225s ]
[ SQL ] SELECT COUNT(settingnew_id) AS tp_count FROM `ey_weapp_forum_settingnew` WHERE `type_id` = 7 AND `forum_id` = 4 LIMIT 1 [ RunTime:0.000177s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_answer_like` [ RunTime:0.000568s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` = 0 AND `forum_id` = 4 AND `agree` = 1 LIMIT 1 [ RunTime:0.000228s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` = 0 AND `forum_id` = 4 AND `oppose` = 1 LIMIT 1 [ RunTime:0.000185s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` IS NULL AND `forum_id` = 4 AND `agree` = 1 LIMIT 1 [ RunTime:0.000255s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` IS NULL AND `forum_id` = 4 AND `oppose` = 1 LIMIT 1 [ RunTime:0.000240s ]
[ SQL ] SELECT `price` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000193s ]
[ SQL ] SELECT `reward` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000216s ]
[ SQL ] SELECT `is_gaoliang` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000228s ]
[ SQL ] SELECT `reward` FROM `ey_weapp_forum` WHERE `forum_id` = 4 AND `users_id` IS NULL LIMIT 1 [ RunTime:0.000217s ]
[ SQL ] SELECT COUNT(answer_id) AS tp_count FROM `ey_weapp_forum_answer` WHERE `forum_id` = 4 AND `is_bestanswer` = 1 LIMIT 1 [ RunTime:0.000240s ]
[ SQL ] SELECT `special` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000197s ]
[ SQL ] SELECT `users_id` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000181s ]
[ SQL ] SELECT `scores` FROM `ey_users` WHERE `users_id` = 2 LIMIT 1 [ RunTime:0.000167s ]
[ SQL ] SELECT `admin_id` FROM `ey_users` WHERE `users_id` = 2 LIMIT 1 [ RunTime:0.000288s ]
[ SQL ] SELECT `is_allowanonymous` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000225s ]
[ SQL ] SELECT `head_pic` FROM `ey_users` WHERE `users_id` = 2 LIMIT 1 [ RunTime:0.000190s ]
[ SQL ] SELECT `head_pic` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000175s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum` WHERE `status` = 1 AND `users_id` = 2 LIMIT 1 [ RunTime:0.000286s ]
[ 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.000211s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_money` [ RunTime:0.000784s ]
[ 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` = 4 LIMIT 1 [ RunTime:0.000213s ]
[ SQL ] SELECT `is_eye` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000217s ]
[ SQL ] SELECT `is_zhiding` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000265s ]
[ SQL ] SELECT `is_recom` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000229s ]
[ SQL ] SELECT `is_tuijian` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000164s ]
[ SQL ] SELECT `is_yuanchuang` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000216s ]
[ SQL ] SELECT `is_jiacu` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000196s ]
[ SQL ] SELECT `is_lunbo` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000175s ]
[ SQL ] SELECT `status` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000212s ]
[ SQL ] SELECT `gaoliang_color` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000207s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_vote` [ RunTime:0.000780s ]
[ SQL ] SELECT * FROM `ey_weapp_forum_vote` WHERE `type_id` = 7 AND `forum_id` = 4 [ RunTime:0.000194s ]
[ 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` = 4 ORDER BY `a`.`pscore`,`a`.`add_time` DESC LIMIT 0,5 [ RunTime:0.000269s ]
[ 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` = 4 ORDER BY `a`.`pscore`,`a`.`add_time` DESC [ RunTime:0.000230s ]
[ SQL ] SELECT COUNT(answer_id) AS tp_count FROM `ey_weapp_forum_answer` `a` WHERE `a`.`type_id` = 7 AND `a`.`forum_id` = 4 AND `a`.`is_review` = 1 LIMIT 1 [ RunTime:0.000253s ]
[ 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` = 4 AND `a`.`is_review` = 1 ORDER BY `a`.`is_bestanswer` DESC,`a`.`add_time` ASC LIMIT 0,20 [ RunTime:0.000364s ]
[ SQL ] SELECT `is_review` FROM `ey_weapp_forum_answer` WHERE `answer_id` = 2 LIMIT 1 [ RunTime:0.000246s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `agree` = 1 AND `answer_id` = 2 LIMIT 1 [ RunTime:0.000230s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `oppose` = 1 AND `answer_id` = 2 LIMIT 1 [ RunTime:0.000182s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum` WHERE `status` = 1 AND `users_id` = 2 LIMIT 1 [ RunTime:0.000316s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum_answer` WHERE `is_review` = 1 AND `users_id` = 2 LIMIT 1 [ RunTime:0.000321s ]
[ SQL ] SELECT `username` FROM `ey_weapp_forum_answer` WHERE `answer_id` = 0 LIMIT 1 [ RunTime:0.000199s ]
[ SQL ] SELECT `add_time` FROM `ey_weapp_forum_answer` WHERE `answer_id` = 0 LIMIT 1 [ RunTime:0.000161s ]
[ SQL ] SELECT `content` FROM `ey_weapp_forum_answer` WHERE `answer_id` = 0 LIMIT 1 [ RunTime:0.000163s ]
[ SQL ] SELECT `users_id` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000174s ]
[ 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.000363s ]
[ SQL ] SELECT `content` FROM `ey_weapp_forum` WHERE `forum_id` = 4 LIMIT 1 [ RunTime:0.000192s ]
[ SQL ] SELECT `parent_id` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000206s ]
[ SQL ] SELECT `type_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 1 LIMIT 1 [ RunTime:0.000167s ]
[ SQL ] SELECT `type_id` FROM `ey_weapp_forum_type` WHERE `type_id` = 1 LIMIT 1 [ RunTime:0.000165s ]
[ SQL ] SELECT `type_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000181s ]
[ SQL ] SHOW COLUMNS FROM `ey_config` [ RunTime:0.000788s ]
[ SQL ] SELECT * FROM `ey_config` WHERE `inc_type` = 'language' AND `lang` = 'cn' AND `is_del` = 0 [ RunTime:0.000402s ]