ajlisowski Posted April 7, 2010 Share Posted April 7, 2010 Hey all, I am not sure if anyone here has any experience with Zend Framework. I am trying to get modules working correctly and am struggling. Basically I have used zend tools to create a project and then create some modules. I have set up my module directory in the config file but when I go to localhost/mysite/public/modulename it says page not found. Any idea what I am doing wrong? Quote Link to comment https://forums.phpfreaks.com/topic/197861-zend-framework-modules/ Share on other sites More sharing options...
Mchl Posted April 7, 2010 Share Posted April 7, 2010 did you create controllers, actions and views for these modules? Quote Link to comment https://forums.phpfreaks.com/topic/197861-zend-framework-modules/#findComment-1038356 Share on other sites More sharing options...
ajlisowski Posted April 7, 2010 Author Share Posted April 7, 2010 Yes sir. I used the zend tools command to create a default controller /view for the module. I made sure it had the correct prefix. I tried the entire thing again from scratch and somehow, someway, after some messing around I got it working. The sad part is, it worked how it should. I simply created the module, created the default controller and then added in the following code to my ini resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" resources.modules[] = "" Worked like a charm this time. I swear, I spent maybe 6 hours messing around, finding other guides, asking for help and then one time it just worked. Didnt really do anything different. Oh well, Im sure Ill break something soon. Thanks a ton for taking the time to help. Quote Link to comment https://forums.phpfreaks.com/topic/197861-zend-framework-modules/#findComment-1038379 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.