cakePHP Debug Mode 0 Problem in IE – Page Redirect Problem / Issue
Tuesday, October 13, 2009 14:58Posted in category cakePHP Interview Questions
No Comments
Don’t make debug mode to 0 (zero) because there is a bug in this mode which you run you application in IE 8. Your page will be redirect again and again. Keep debug level above 0.
Have look at the following code. APP -> CONFIG -> CORE.PHP
// Acess the following code in APP -> CONFIG -> CORE.PHP
/**
* CakePHP Debug Level:
*
* Production Mode:
* 0: No error messages, errors, or warnings shown. Flash messages redirect.
*
* Development Mode:
* 1: Errors and warnings shown, model caches refreshed, flash messages halted.
* 2: As in 1, but also with full debug messages and SQL output.
* 3: As in 2, but also with full controller dump.
*
* In production mode, flash messages redirect after a time interval.
* In development mode, you need to click the flash message to continue.
*/
Configure::write('debug', 1);
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.


