基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-11-01 11:37:42 HTTP/1.1 GET : sdmach.com/zlyy/5956.html
- 运行时间 : 0.487450s [ 吞吐率:2.05req/s ] 内存消耗:6,780.88kb 文件加载:102
- 查询信息 : 20 queries 2 writes
- 缓存信息 : 1 reads,0 writes
- 配置加载 : 74
- [ CACHE ] INIT File
- [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.002622s ]
- [ BEHAVIOR ] Run cmf\behavior\ReadHtmlCacheBehavior @app_init [ RunTime:0.000348s ]
- [ LANG ] /www/wwwroot/www.sdmach.com/simplewind/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'portal',
1 => 'Article',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'accept-encoding' => 'gzip, br, zstd, deflate',
'host' => 'sdmach.com',
'content-type' => '',
'content-length' => '',
)
- [ PARAM ] array (
'id' => '5956',
'cid' => '7',
)
- [ LANG ] /www/wwwroot/www.sdmach.com/simplewind/cmf/behavior/../lang/zh-cn.php
- [ LANG ] /www/wwwroot/www.sdmach.com/public/../app/admin/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/www.sdmach.com/public/../app/portal/lang/zh-cn/common.php
- [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001049s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run plugins\error\ErrorPlugin @app_begin [ RunTime:0.012226s ]
- [ LANG ] /www/wwwroot/www.sdmach.com/public/../app/portal/lang/zh-cn.php
- [ BEHAVIOR ] Run cmf\behavior\InitAppHookBehavior @module_init [ RunTime:0.000323s ]
- [ LANG ] /www/wwwroot/www.sdmach.com/public/../app/portal/lang/zh-cn/home.php
- [ BEHAVIOR ] Run cmf\behavior\HomeLangBehavior @home_init [ RunTime:0.000437s ]
- [ RUN ] app\portal\controller\ArticleController->index[ /www/wwwroot/www.sdmach.com/app/portal/controller/ArticleController.php ]
- [ VIEW ] /www/wwwroot/www.sdmach.com/public/themes/tpl/portal/article_article.htm [ array (
0 => 'site_info',
1 => 'category',
2 => 'article',
3 => 'prev_article',
4 => 'next_article',
5 => 'theme_vars',
6 => 'theme_widgets',
) ]
- [ BEHAVIOR ] Run cmf\behavior\WriteHtmlCacheBehavior @view_filter [ RunTime:0.000303s ]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 5[/www/wwwroot/www.sdmach.com/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 5[/www/wwwroot/www.sdmach.com/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 23[/www/wwwroot/www.sdmach.com/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 23[/www/wwwroot/www.sdmach.com/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [ DB ] CONNECT:[ UseTime:0.001356s ] mysql:host=47.108.154.156;port=3306;dbname=tp5_www_sdmach_com;charset=utf8
- [ SQL ] SHOW COLUMNS FROM `cmf_plugin` [ RunTime:0.001391s ]
- [ SQL ] SELECT `config` FROM `cmf_plugin` WHERE `name` = 'Error' LIMIT 1 [ RunTime:0.000705s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_plugin',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 3,
'filtered' => 33.333335876464844,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.001364s ]
- [ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '7' AND `relation`.`post_id` = '5956' AND ( `post`.`published_time` < '1730432262' and `post`.`published_time` > '0' ) LIMIT 1 [ RunTime:0.001933s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY,type_status_date',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100,
'extra' => NULL,
) ]
- [ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '7' AND `relation`.`post_id` < '5956' AND ( `post`.`published_time` < '1730432262' and `post`.`published_time` > '0' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.008908s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'relation',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 781,
'filtered' => 33.329998016357422,
'extra' => 'Using index condition; Using where; Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '7' AND `relation`.`post_id` > '5956' AND ( `post`.`published_time` < '1730432262' and `post`.`published_time` > '0' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.003975s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'relation',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 781,
'filtered' => 33.329998016357422,
'extra' => 'Using index condition; Using where; Using temporary; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.001086s ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 7 AND `status` = 1 LIMIT 1 [ RunTime:0.000663s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100,
'extra' => NULL,
) ]
- [ SQL ] UPDATE `cmf_portal_post` SET `post_hits`=`post_hits`+1 WHERE `id` = 5956 [ RunTime:0.002613s ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.001097s ]
- [ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'tpl' [ RunTime:0.000649s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 8,
'filtered' => 12.5,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme` [ RunTime:0.001024s ]
- [ SQL ] UPDATE `cmf_theme` SET `name`='tpl',`version`='1.0.2',`demo_url`='http://www.85253000.com',`author`='xbbdf',`lang`='zh-cn',`author_url`='http://www.85253000.com',`keywords`='网站模板',`description`='网站模板' WHERE `theme` = 'tpl' [ RunTime:0.002511s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'tpl' AND ( `is_public` = 1 OR `file` = 'portal/article_article.htm' ) [ RunTime:0.000694s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 8,
'filtered' => 12.5,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT `path` FROM `cmf_portal_category` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000700s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100,
'extra' => NULL,
) ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` IN (0,7) ORDER BY `path` ASC [ RunTime:0.000662s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'range',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => NULL,
'rows' => 2,
'filtered' => 100,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.004183s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000632s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => NULL,
'partitions' => NULL,
'type' => NULL,
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => NULL,
'filtered' => NULL,
'extra' => 'no matching row in const table',
) ]
- [ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1730432262 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 5 [ RunTime:0.124079s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'category_post',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7775,
'filtered' => 100,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `category_post`.`category_id` = '13' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1730432262 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 4 [ RunTime:0.012946s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'category_post',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 723,
'filtered' => 100,
'extra' => 'Using index condition; Using temporary; Using filesort',
) ]
- [ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1730432262 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 7 [ RunTime:0.125665s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'category_post',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7775,
'filtered' => 100,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1730432263 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 7,7 [ RunTime:0.120709s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'category_post',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7775,
'filtered' => 100,
'extra' => 'Using temporary; Using filesort',
) ]
0.492324s