On Sat, Jan 22, 2011 at 3:23 PM, opike <hastapast...@gmail.com> wrote:
> Well I looked at the mysql logs and it doesn't look like cakephp is
> even getting to the point of issuing the insert statement.
>
> On Jan 22, 12:54 pm, opike <hastapast...@gmail.com> wrote:
>> I'm trying to troubleshoot an add.ctp view and I'd like to be able to
>> see the insert statement that cake is using. sql_dump() is not
>> currently displaying the insert statement. Is there some way to
>> configure sql_dump to do this or do I need to go into the log files?

Do you have debug set to 2 in core.php? Have you checked
$this->validationErrors?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to