Jump to content

Recommended Posts

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?

 

 

Link to comment
https://forums.phpfreaks.com/topic/197861-zend-framework-modules/
Share on other sites

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.