hmm, its broken again this morning.  Cache fully switched off.
issue unresolved.

here are the paths its looking in (App::path('Model', 'Calendar')):
    [0] => /Users/willbarker/Dropbox/tractor2/app/Plugin/Calendar/
Model/
    [1] => /Users/willbarker/Dropbox/tractor2/app/Plugin/Calendar/
models/
    [2] => /Users/willbarker/Dropbox/tractor2/app/Plugin/Calendar/Lib/
Model/

and my Event model is in Calendar/Model, feeling lonely and ignored.

doing this:

                if ($className == 'Event'){
                        echo $className."<br><pre>";
                        print_r($paths);
                        echo "</pre>";
                }

in App.php in the core, I get a different result:

Array
(
    [0] => /Users/willbarker/Dropbox/tractor2/Tractor/Model/
    [1] => /Users/willbarker/Dropbox/tractor2/app/Model/
    [2] => /Users/willbarker/Dropbox/tractor2/app/models/
)

it dosn't seem to know im wanting the plugin model






On Oct 22, 3:41 pm, José Lorenzo <[email protected]> wrote:
> Well, it happens because in certain pages you visit some classes are loaded
> and in other pages it could load different ones. The cache will be written
> (appending new classes) every time, but in debug mode it gets cleaned after
> a short period, hence the erratic behavior of sometimes being able to load
> the class and some others not.
>
> I'm glad that resolved the issue :)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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