我明白了:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\APP\www\protected\extensions\less\lib\lessphp\lessc.inc.php on line 504
我认为这可能与此有关:
'components'=>array(
'less'=>array(
'class'=>'ext.less.components.LessCompiler',
'forceCompile'=>true, // indicates whether to force compiling
//'compress'=>false, // indicates whether to compress compiled CSS
//'debug'=>false, // indicates whether to enable compiler debugging mode
'paths'=>array(
'less/style.less'=>'css/style.css',
),
),
答案 0 :(得分:1)
尝试此设置:
'components'=>array(
'less'=>array(
'class'=>'ext.less.components.LessCompiler',
'forceCompile'=>YII_DEBUG, // indicates whether to force compiling
//'compress'=>false, // indicates whether to compress compiled CSS
//'debug'=>false, // indicates whether to enable compiler debugging mode
'paths'=>array(
'less/style.less'=>'css/style.css',
),
),
更改您的forceCompile = YII_DEBUG。 IN DEBUG模式设置'forceCompile'=> true。当您使用Debug时,增加PHP MAX执行时间