Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CakePHP - HABTM problem - SOLVED

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
mbang



Joined: Wed Dec 29, 2010 10:08 pm
Posts: 2

PostPosted: Wed Dec 29, 2010 10:15 pm    Post subject: CakePHP - HABTM problem - SOLVED Reply with quote

Thanks for a good series regarding CakePHP. I'm reading it with interest and I'm also trying to make my own solutions. I have a problem with the latest tutorial regarding fileshare. When I create a new upload and select a user to share with and save I don't get any error, but there is no data being saved in the joined table. If I edit the upload and select one or more users in the SharedUser list the correct data is being saved in the joined table. Is this by design or is there anything I have missed ?

Last edited by mbang on Thu Dec 30, 2010 9:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
mbang



Joined: Wed Dec 29, 2010 10:08 pm
Posts: 2

PostPosted: Thu Dec 30, 2010 9:42 pm    Post subject: SOLVED Reply with quote

I have solved it. The tutorial did not use the SharedUser in the input form and did not send the correct data through the controller.
After fixing that everything works.....
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast