Could someone help me with this?

Brian French wrote:
I should have elaborated more. When you view that link then go to view a 
particular user:
http://www.myclubbersguide.com/users/view/6
The associations dont seem to be working and i am now getting a php error.

(i have a view method in the users controller, but i commented it out so 
the scaffolding can do its thing)

Brian

AD7six wrote:
  
Hi Brian,

I took a peek at your link: I don´t quite understand what the problem
is, can you elaborate?

The sql at the foot of the page shows that sql queries are being
executed for your associations. If you look at the user "test" you can
see that there are results for each association type.

Where is this coming from: array ( [User] => Array ( [id] => 2 [name]
=> Fan User [login] => f etc.

if you have created a method named view in your users controller, there
will be no scaffolding for that action.

cheers,

AD7six
PS. the method pr() gives you shorter debugging code and easier to read
output.


    
  
    





  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to