front and back-end web development, Leeds, UK


Richard's Blog - Design, coding and life in Japan

Richard

Getting SQL Logs to output in CakePHP's Debug Kit

 I was having trouble getting SQL logs to display in the Debug Kit for CakePHP, the SQL Logs tab was showing me the following:

Sql Logs

Warning No active database connections

All I needed to do was simply change

Configure::write('debug', 1);

to

Configure::write('debug', 2);

In the core.php file.

Tags:

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Recent Blog Posts