ajlisowski Posted June 30, 2010 Share Posted June 30, 2010 Hey all, I am trying to get my module to properly auto-load my resources. Right now I have two modules- login and projectplan. login uses a form that is located in: applications/modules/login/forms/Login.php And the class is login_Form_Login. This gets loaded fine. Projectplan has a model and it is located in: applications/modules/projectplan/models/DbTable/project.php. And its class name is: projectplan_Model_DbTable_project It is giving the following error: Class 'projectplan_Model_DbTable_project' not found Any idea why its not finding this model? In my config I have: resources.modules[] = "" Which should initiate the autoloader for each of my modules. Link to comment https://forums.phpfreaks.com/topic/206293-zendframework-modules-and-models/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.