I have this really weird bug in which my components aren't loading.
The really weird thing is that when I remove a hasMany relationship in
one of the models, this bug goes away.

In models/ride.php :
    var $hasMany = array(
        'Registration' => array('className' => 'Registration'),
        'Item' => array('className' => 'Item')
    );

I really don't know what else I should describe about my code without
having to give the entire code of almost all of my models and
controllers.

I've tried debug($this->components) in beforeFilter() in my
AppController and it's confirmed that only the Session component is
loaded. Curiously, I tried debug($this->helpers) too and found that
only the Html helper is loaded. When I remove the entire
aforementioned hasMany array, the components and the helpers load as
they should.

If it's relevant, all of my controllers either use the above model or
use a model that's associated to it in some way. If you need any more
particular info, just ask.

Any help would be appreciated. Thanks!

_bit


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

Reply via email to