[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.000405s ] mysql:host=127.0.0.1;port=3306;dbname=www_yucongsj_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ey_language` [ RunTime:0.000842s ]
[ SQL ] SELECT `mark` FROM `ey_language` WHERE `is_home_default` = 1 LIMIT 1 [ RunTime:0.000229s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp` [ RunTime:0.000667s ]
[ SQL ] SELECT * FROM `ey_weapp` WHERE `code` = 'Forum' LIMIT 1 [ RunTime:0.000302s ]
[ SQL ] SELECT * FROM `ey_weapp` WHERE `code` = 'Ask' LIMIT 1 [ RunTime:0.000228s ]
[ SQL ] SELECT * FROM `ey_weapp` WHERE `code` = 'Users' LIMIT 1 [ RunTime:0.000246s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_friends` [ RunTime:0.000817s ]
[ 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.000204s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_message` [ RunTime:0.000585s ]
[ 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.000219s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum` [ RunTime:0.000610s ]
[ SQL ] SELECT * FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000286s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_type` [ RunTime:0.000637s ]
[ SQL ] SELECT * FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000218s ]
[ SQL ] SELECT * FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000215s ]
[ 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.000182s ]
[ 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.000289s ]
[ SQL ] SHOW COLUMNS FROM `ey_users` [ RunTime:0.000669s ]
[ SQL ] SELECT * FROM `ey_users` WHERE `admin_id` > 0 AND `users_id` IS NULL LIMIT 1 [ RunTime:0.000233s ]
[ SQL ] SELECT `readperm` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000147s ]
[ SQL ] SHOW COLUMNS FROM `ey_users_level` [ RunTime:0.000583s ]
[ SQL ] SELECT `level_name` FROM `ey_users_level` WHERE `level_value` = 0 LIMIT 1 [ RunTime:0.000162s ]
[ SQL ] SELECT `level` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000121s ]
[ SQL ] SELECT `level_value` FROM `ey_users_level` WHERE `level_id` IS NULL LIMIT 1 [ RunTime:0.000141s ]
[ SQL ] SELECT `level_name` FROM `ey_users_level` WHERE `level_id` IS NULL LIMIT 1 [ RunTime:0.000110s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_userleve` [ RunTime:0.000534s ]
[ SQL ] SELECT `fangwen_id` FROM `ey_weapp_forum_userleve` WHERE `level_id` = 0 AND `type_id` = 7 LIMIT 1 [ RunTime:0.000166s ]
[ SQL ] SELECT `level` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000123s ]
[ SQL ] SELECT `level_name` FROM `ey_users_level` WHERE `level_id` IS NULL LIMIT 1 [ RunTime:0.000119s ]
[ SQL ] UPDATE `ey_weapp_forum` SET `click`=click+1 WHERE `forum_id` = 1 [ RunTime:0.000235s ]
[ 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.000325s ]
[ 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.000334s ]
[ SQL ] SELECT `users_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000180s ]
[ SQL ] SELECT * FROM `ey_users` WHERE `username` IN ('化工小老弟') [ RunTime:0.000259s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum` `a` WHERE `status` = 1 AND `users_id` = 6 LIMIT 1 [ RunTime:0.000203s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_answer` [ RunTime:0.000576s ]
[ 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.000172s ]
[ SQL ] SELECT `username` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000125s ]
[ SQL ] SELECT `forum_title` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000144s ]
[ SQL ] SELECT `users_id` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000136s ]
[ SQL ] SELECT `data`,`status` FROM `ey_weapp` WHERE `code` = 'Users' LIMIT 1 [ RunTime:0.000178s ]
[ SQL ] SELECT `type_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000138s ]
[ SQL ] SELECT `username` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000139s ]
[ SQL ] SELECT `add_time` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000130s ]
[ SQL ] SELECT `click` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000159s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_collect` [ RunTime:0.000506s ]
[ SQL ] SELECT `collect_id` FROM `ey_weapp_forum_collect` WHERE `forum_id` = 1 AND `users_id` IS NULL AND `leixing` = 1 LIMIT 1 [ RunTime:0.000155s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ey_weapp_forum_collect` WHERE `forum_id` = 1 AND `leixing` = 1 LIMIT 1 [ RunTime:0.000161s ]
[ SQL ] SELECT `type_password` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000139s ]
[ SQL ] SELECT `replies` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000141s ]
[ SQL ] SELECT `settingnew` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000267s ]
[ SQL ] SELECT `settingnew_jifen` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000228s ]
[ SQL ] SELECT `scores` FROM `ey_users` WHERE `users_id` IS NULL LIMIT 1 [ RunTime:0.000183s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_settingnew` [ RunTime:0.000697s ]
[ SQL ] SELECT SUM(pscore) AS tp_sum FROM `ey_weapp_forum_settingnew` WHERE `type_id` = 7 AND `forum_id` = 1 LIMIT 1 [ RunTime:0.000204s ]
[ SQL ] SELECT COUNT(settingnew_id) AS tp_count FROM `ey_weapp_forum_settingnew` WHERE `type_id` = 7 AND `forum_id` = 1 LIMIT 1 [ RunTime:0.000152s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_answer_like` [ RunTime:0.000633s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` = 0 AND `forum_id` = 1 AND `agree` = 1 LIMIT 1 [ RunTime:0.000220s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` = 0 AND `forum_id` = 1 AND `oppose` = 1 LIMIT 1 [ RunTime:0.000210s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` IS NULL AND `forum_id` = 1 AND `agree` = 1 LIMIT 1 [ RunTime:0.000155s ]
[ SQL ] SELECT COUNT(like_id) AS tp_count FROM `ey_weapp_forum_answer_like` WHERE `answer_id` IS NULL AND `forum_id` = 1 AND `oppose` = 1 LIMIT 1 [ RunTime:0.000191s ]
[ SQL ] SELECT `price` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000178s ]
[ SQL ] SELECT `reward` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000267s ]
[ SQL ] SELECT `is_gaoliang` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000180s ]
[ SQL ] SELECT `reward` FROM `ey_weapp_forum` WHERE `forum_id` = 1 AND `users_id` IS NULL LIMIT 1 [ RunTime:0.000158s ]
[ SQL ] SELECT COUNT(answer_id) AS tp_count FROM `ey_weapp_forum_answer` WHERE `forum_id` = 1 AND `is_bestanswer` = 1 LIMIT 1 [ RunTime:0.000202s ]
[ SQL ] SELECT `special` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000199s ]
[ SQL ] SELECT `users_id` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000154s ]
[ SQL ] SELECT `scores` FROM `ey_users` WHERE `users_id` = 2 LIMIT 1 [ RunTime:0.000143s ]
[ SQL ] SELECT `admin_id` FROM `ey_users` WHERE `users_id` = 2 LIMIT 1 [ RunTime:0.000134s ]
[ SQL ] SELECT `is_allowanonymous` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000134s ]
[ 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.000125s ]
[ SQL ] SELECT COUNT(forum_id) AS tp_count FROM `ey_weapp_forum` WHERE `status` = 1 AND `users_id` = 2 LIMIT 1 [ RunTime:0.000259s ]
[ 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.000224s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_money` [ RunTime:0.000786s ]
[ 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` = 1 LIMIT 1 [ RunTime:0.000216s ]
[ SQL ] SELECT `is_eye` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000257s ]
[ SQL ] SELECT `is_zhiding` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000203s ]
[ SQL ] SELECT `is_recom` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000211s ]
[ SQL ] SELECT `is_tuijian` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000182s ]
[ SQL ] SELECT `is_yuanchuang` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000181s ]
[ SQL ] SELECT `is_jiacu` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000153s ]
[ SQL ] SELECT `is_lunbo` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000134s ]
[ SQL ] SELECT `status` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000132s ]
[ SQL ] SELECT `gaoliang_color` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000183s ]
[ SQL ] SHOW COLUMNS FROM `ey_weapp_forum_vote` [ RunTime:0.000623s ]
[ SQL ] SELECT * FROM `ey_weapp_forum_vote` WHERE `type_id` = 7 AND `forum_id` = 1 [ RunTime:0.000274s ]
[ 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` = 1 ORDER BY `a`.`pscore`,`a`.`add_time` DESC LIMIT 0,5 [ RunTime:0.000233s ]
[ 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` = 1 ORDER BY `a`.`pscore`,`a`.`add_time` DESC [ RunTime:0.000170s ]
[ SQL ] SELECT COUNT(answer_id) AS tp_count FROM `ey_weapp_forum_answer` `a` WHERE `a`.`type_id` = 7 AND `a`.`forum_id` = 1 AND `a`.`is_review` = 1 LIMIT 1 [ RunTime:0.000191s ]
[ 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` = 1 AND `a`.`is_review` = 1 ORDER BY `a`.`is_bestanswer` DESC,`a`.`add_time` ASC LIMIT 0,20 [ RunTime:0.000332s ]
[ 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.000347s ]
[ SQL ] SELECT `content` FROM `ey_weapp_forum` WHERE `forum_id` = 1 LIMIT 1 [ RunTime:0.000191s ]
[ SQL ] SELECT `parent_id` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000204s ]
[ SQL ] SELECT `type_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 1 LIMIT 1 [ RunTime:0.000199s ]
[ SQL ] SELECT `type_id` FROM `ey_weapp_forum_type` WHERE `type_id` = 1 LIMIT 1 [ RunTime:0.000180s ]
[ SQL ] SELECT `type_name` FROM `ey_weapp_forum_type` WHERE `type_id` = 7 LIMIT 1 [ RunTime:0.000167s ]
[ SQL ] SHOW COLUMNS FROM `ey_config` [ RunTime:0.000719s ]
[ SQL ] SELECT * FROM `ey_config` WHERE `inc_type` = 'language' AND `lang` = 'cn' AND `is_del` = 0 [ RunTime:0.000415s ]