Monday, September 27, 2010

Re: config.php debug =2 But no debug data

I placed the line on my default.ctp file

THANK YOU

On Sep 5, 1:26 am, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> Have you moved from 1.2 to 1.3? If so, you no longer get the SQL dump by default. See here:http://book.cakephp.org/view/1567/Model-Databases-and-Datasources. You need to add <?php echo $this->element('sql_dump'); ?> to your view (ideally in the layout so it's always available).
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 2 Sep 2010, at 17:51, hvannia wrote:
>
> > Hi,
> > Here comes a very basic question, but here it goes..
> > I had a fresh cake installation and I added some files data from
> > another (backup) cake app.
> > Did not mess around with baked controllers, models and views, but
> > added default.ctp, a Css file and as far as I can recall that's it.
>
> > Now i dont see any debig data a at the bottom of the screen.
> > Checked the confg file and debug=2, also added Config write debug 2 on
> > the app_controller but still no data.
>
> > Im having a hard time developing w/o looking at the queries, any
> > ideas??
>
> > thanks
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: