Код: Выделить всё
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning',
),
// uncomment the following to show log messages on web pages
array(
'class'=>'CWebLogRoute',
),
),
),
А на самом деле выполняется (просмотрено через mysql-proxy):11:40:45.265444 trace system.db.CDbCommand Querying SQL: SELECT * FROM `customers` `t` WHERE name LIKE '%' :query '%'
ORDER BY rderBy LIMIT 10. Bound with :query='', rderBy=''
in D:\projects\web\customers\protected\views\site\customers\list\grid.php
(40)
in D:\projects\web\customers\protected\views\site\customers\list.php (62)
in D:\projects\web\customers\protected\controllers\CustomersController.php
(26)
Почему в логе Yii токены пустые?SELECT * FROM `customers` `t` WHERE name LIKE '%' 'z' '%' ORDER BY 'gender' LIMIT 10