before you run the pr () command
echo Configure::read();
This should return your current debugging level, if it is zero, it is not installed correctly. Therefore, debug () or pr () do not work, as they rely on debugging greater than 0.
The default FYI behavior in CakePHP 2 will require you to specify Configure :: read ('debug'); to get the debug level
source
share