My debug line is as follows:
Configure::write('debug', 2);
but still its not showing queries
On Oct 22, 3:24 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> app/config/core.php - the first line of code.
>
> ---
> /**
> * 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.
> */
> ---
>
> On Oct 22, 12:20 pm, xelios <[EMAIL PROTECTED]> wrote:
>
> > I've an error in my sql query. How can I print query for debugging
> > purposes.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---