Re: Media plugin and user plugin

2011-09-18 Thread WebbedIT
It would be mch better if you tried to debug why it is causing the user record not to save. My questions where the first steps in trying to do that. HTH, Paul @phpMagpie On Sep 17, 6:51 pm, Zaky Katalan-Ezra wrote: > I didn't change register action at all. > I just added the Media behaviors to

Re: Media plugin and user plugin

2011-09-17 Thread Zaky Katalan-Ezra
I didn't change register action at all. I just added the Media behaviors to user model $actsAs. Its working perfectly in other controllers. Anyway I found a solution: I needed the media plugin in order to upload the user profile image. I removed the 'Media.Coupler' from the user model $actsAs and

Re: Media plugin and user plugin

2011-09-16 Thread WebbedIT
More information required ... - have you echoed $this->data on submit to see what data there is - how are you calling save in the controller? - have you looked at the sql dump to see what Cake is trying? HTH, Paul @phpMagpie On Sep 15, 11:11 am, ZAky wrote: > adding media plugin, 'Media.Coupler

Media plugin and user plugin

2011-09-15 Thread ZAky
adding media plugin, 'Media.Coupler', behavior to users plugin model prevent creating new user. I want to save the profile image path in users table. Any suggestions? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site htt