Thanks for the quick reply,
It's pretty much as per the GuestBook application, index.php sets up the
include path and Zend_Loader. The boot strap looks like this:
defined('APPLICATION_PATH')
or define('APPLICATION_PATH', dirname(__FILE__));
$frontController = Zend_Controller_Front::getInstance();
$frontController->setControllerDirectory(APPLICATION_PATH . '/controllers');
I can't see the models path set anywhere, I assume this is set to the
default location somewhere.
It must be something easy causing this but I just can't seem to find out
what!
Marcello Duarte wrote:
>
> Hi Henry,
>
> Seems to me you have a problem with autoloading. How are you including the
> models path in the bootstrap?
>
>
>
>
> HenryG wrote:
>>
>> Hi all,
>>
>> I hope this is a really easy one. I've just started using
>> findDependentRowset() but I get the following exception when trying to
>> use it.
>>
>> If I call $programmes =
>> $centre1->findDependentRowset('DbTable_Programme');
>> this happens:
>>
>> Message: File "DbTable/Programme.php" does not exist or class
>> "DbTable_Programme" was not found in the file.
>>
>> My application structure is:
>>
>> -application
>> --controllers
>> --models
>> ---DbTable (containing Programme.php with class DbTable_Programme)
>>
>> I can't figure out why it can't find the file or class as they both
>> exist.
>>
>> Any suggestions?
>>
>> Many thanks,
>> Henry
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/findDependentRowset-Class-not-found-in-file-tp21994497p21995365.html
Sent from the Zend Framework mailing list archive at Nabble.com.