then it shld be fixed ...
but i also noticed something strange... if i do a
new Lab_Model_Department() it works. it only fails if i nv call that b4 i do
something like
$cat->findParent("Lab_Model_Department");
Razorblade wrote:
>
>
> Hi,
> I had the same problem and I solved renaming my model classed with the
> Model_ prefix.
> So if you have a model called 'Pages' you need to rename it in
> Model_Pages.
> Just only the class name, not the file name.
>
> So you will edit your code to get instance
>
> $myPagesModel = new Model_Pages;
>
> Maybe you will encounter another problem loading rowClasses ( if you use
> them ), if this happen you must edit a core file,
> Zend/Loader.php, loadClass method, change "class_exists($class, false)"
> with "class_exists($class)"
>
> Hope this help
>
> Sergio Rinaudo
>
>
>
>> Date: Sat, 9 May 2009 07:37:40 -0700
>> From: [email protected]
>> To: [email protected]
>> Subject: [fw-general] Bug with latest Version? Autoloading does not work
>>
>>
>> i have the latest trunk version 15449. and i noticed that
>>
>> in my bootstrap even with
>>
>> $labRsxLoader->addResourceType('form', 'forms/', 'Form')
>> ->addResourceType('validator', 'validators/', 'Validator')
>> ->addResourceType('filter', 'filters/', 'Filter')
>> ->addResourceType('model', 'models/', 'Model');
>>
>> my models are still not found... and i noticed it because my folder for
>> models is forms and my class is Form.
>> --
>> View this message in context:
>> http://www.nabble.com/Bug-with-latest-Version--Autoloading-does-not-work-tp23461145p23461145.html
>> Sent from the Zend Framework mailing list archive at Nabble.com.
>>
>
> _________________________________________________________________
> Resta in contatto con gli amici, comunica con Messenger!
> http://messenger.it/cominciaAcomunicare.aspx
>
--
View this message in context:
http://www.nabble.com/RE%3A-Bug-with-latest-Version--Autoloading-does-not-work-tp23461537p23461596.html
Sent from the Zend Framework mailing list archive at Nabble.com.