DB Profiling

Hey All,

I’m trying to setup the DB profiling in Yii as we’re having some issues with processing large amounts of data. I’m using these instructions to set it up: Yii 1.1: Configuring CWebLogRoute for DB profiling

After I set everything up, I get two “Undefined Constant” errors for the Constants used in the config/main.php file (I did declare them in index.php). If I hardcode these two variables to TRUE, the errors go away, but nothing happens. When I try CWebLogRoute, I don’t see anything on the screen, and when I try CFileLogRoute, I don’t see anything written to the Yii logs.

Any ideas as to why this isn’t working as expected? Or that it is and I’m just missing where the output is going?

Thanks in advance for your help!

Yii Version: 1.1.13

PHP: 5.5.3