function edit($id=null){
...
if (empty($this->data)) {
$this->data = $this->Profile->read(null, $id);
...
}
On Thu, Apr 29, 2010 at 5:38 PM, Jeremy Burns <jeremyburns@me.com> wrote:
OK - that might be it then. Only just discovered this functionality - maybe it's a 1.3 thing.What's in $this->data?
Jeremy BurnsOn 29 Apr 2010, at 15:33, Andrei Mita wrote:1.2.7 i believe.
On Thu, Apr 29, 2010 at 5:32 PM, Andrei Mita <andrei.mita@gmail.com> wrote:Terribly sorry for the whole controller dump.
I only meant this:
Notice (8): Undefined property: View::$Profile [APP/views/profiles/edit.ctp, line 17]Fatal error: Call to a member function value() on a non-object in /var/www/fotopoetica/app/views/profiles/edit.ctp on line 17
On Thu, Apr 29, 2010 at 5:24 PM, Andrei Mita <andrei.mita@gmail.com> wrote:
In the view?
If yes, I get this:
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
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
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:
Post a Comment