【发布时间】:2013-09-18 10:32:06
【问题描述】:
我已启用配置文件以显示在 yii 中,如下所示。
'db'=>array(
'connectionString'=>'pgsql:host=localhost;port=5432;dbname=ijob_css',
'username'=>'postgres',
'password'=>'allion123',
'enableProfiling'=>true,
'schemaCachingDuration'=>604800
),
但我仍然没有在网站页面下显示任何内容并且它是空的。
在它起作用之前,最近我被
'enableProfiling'=>假
为什么它不起作用?我一定是错过了什么。
【问题讨论】:
-
是否配置了
log组件?它必须处理所有分析信息 -
我正在使用:'enableProfiling'=>true,它对我有用...你不能从 DB 中读取任何内容吗?
-
@RuslanPolutsygan tnx 添加此解决方案。 'class'=>'CProfileLogRoute