Re: get error messages

2006-07-07 Thread rpetrain
It is returning false. Once we have determined that then how do go about getting the error message so we know what went wrong? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

get error messages

2006-07-06 Thread rpetrain
How does one get the error message when trying to save data to the database? This is the edit form. When I try to save it comes back to the form but there are no error message on the page. ?php echo $html-formTag('/admin/edituser')? ?php echo $html-hidden('user/id'); ? pFirst Name: ?php

Re: get error messages

2006-07-06 Thread nate
Okay, you're talking about validation rules. The messages in tagErrorMsg are only triggered if you define validation rules for those fields, and the data that you attempt to save doesn't meet the validation criteria. If you're talking about a database error when saving, you can check the return

Re: get error messages

2006-07-06 Thread Ryan Petrain
Is there an overall error object that can be used to get the last error that was generated?I think the problem I am having is that I am using validation rules on a model that does not have them defined so it simply reloads the page with no visible errors. --RyanOn 7/6/06, nate [EMAIL PROTECTED]