tags:

views:

41

answers:

2

I just upgraded from cakePHP 1.2.8 to 1.3.5 and now the debug information (that from the level set in the Core) does not seem to be doing anything anymore. No matter what level I set 'debug' to, it doesn't print the queries at the bottom of the screen.

Any idea what I may have done wrong?

+5  A: 

you need to include this element in your default layout (or anywhere, really):

<?php echo $this->element('sql_dump'); ?>

See:

http://book.cakephp.org/view/1567/Model-Databases-and-Datasources & http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3

Leo
+1. Exactly! Debug dumping has been changed.
bancer
+1  A: 

I recommend the use of DebugKit, it provides more debug information than the basic core function and doesn't interfere with your layout because it adds a mini toolbar positioned as absolute at the top of your page.

Mauro Zadunaisky