Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/270.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Yii Db探查器不工作-';使能分析'=&燃气轮机;真的_Php_Yii_Profiling - Fatal编程技术网

Php Yii Db探查器不工作-';使能分析'=&燃气轮机;真的

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'=>

我已经启用了在yii中显示评测,如下所示

'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补充道类“=>”CProfileLogRouteis
log
是否配置了组件?它必须处理我正在使用的所有评测信息:'enableprofileing'=>true,它对我有效。。。“难道你不能从DB中读取任何内容吗?”RuslanPolutsygan tnx补充道类“=>”CProfileLogRoute