Php Yii Db探查器不工作-';使能分析'=&燃气轮机;真的
我已经启用了在yii中显示评测,如下所示Php Yii Db探查器不工作-';使能分析'=&燃气轮机;真的,php,yii,profiling,Php,Yii,Profiling,我已经启用了在yii中显示评测,如下所示 'db'=>array( 'connectionString'=>'pgsql:host=localhost;port=5432;dbname=ijob_css', 'username'=>'postgres', 'password'=>'allion123', 'enableProfiling'=>true, 'schemaCachingDuration'=>
'db'=>array(
'connectionString'=>'pgsql:host=localhost;port=5432;dbname=ijob_css',
'username'=>'postgres',
'password'=>'allion123',
'enableProfiling'=>true,
'schemaCachingDuration'=>604800
),
但我仍然没有得到任何显示在网页下的网页和它的空白
在它起作用之前,最近我突然离开了
“enableProfiling”=>false
为什么不起作用?我一定是遗漏了什么。将此添加到主配置解决了问题。”类“=>”CProfileLogRoute“
'components'=>array(
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning',
),
array(
'class'=>'CProfileLogRoute',
),
将此添加到主配置解决了问题。”类“=>”CProfileLogRoute“
'components'=>array(
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning',
),
array(
'class'=>'CProfileLogRoute',
),
是否配置了
log
组件?它必须处理我正在使用的所有评测信息:'enableprofileing'=>true,它对我有效。。。“难道你不能从DB中读取任何内容吗?”RuslanPolutsygan tnx补充道类“=>”CProfileLogRouteislog
是否配置了组件?它必须处理我正在使用的所有评测信息:'enableprofileing'=>true,它对我有效。。。“难道你不能从DB中读取任何内容吗?”RuslanPolutsygan tnx补充道类“=>”CProfileLogRoute