Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7698859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:20:31+00:00 2026-05-31T22:20:31+00:00

I am running Zend Framework 1.11.10 on Ubuntu 11.10. I have created 3 modules

  • 0

I am running Zend Framework 1.11.10 on Ubuntu 11.10. I have created 3 modules named “admin”, “music”, “movies”. But when I visit “/admin”, “/music” or “/movies”, I get a 404 error.

I have tried different combinations of autoloaders in both application.ini and bootstrap but none worked. So, I have created yet another fresh project. Created the modules, turned on error reporting and here is the source code: https://bitbucket.org/masnun/zf-modules/src

I really can’t find what’s going wrong. I want “/admin” to load the admin module (admin/index/index”).

Any helps?

Regards,
Masnun

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:20:32+00:00Added an answer on May 31, 2026 at 10:20 pm

    The project in the repository is not configured for use with modules. The easiest way to get things going, is to put app/controllers and app/views in a module default and then switch the following in your application.ini:

    resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
    -->
    resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
    

    After that the URLs /{module}/{controller}/{action} should work, if no module is specified, default will be used.

    For ZF to recognize resources from modules, you should place a bootstrap.php in each module’s folder containing the following:

    class {MODULE}_Bootstrap extends Zend_Applocation_Module_Bootstrap {}
    

    and add resources.modules[] = "" to your application.ini

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just installed Zend Framework and am running through a tutorial, but have hit
I am trying to get Zend Framework's quickstart tutorial up and running, but i
I'm trying to get the zend framework running, but the include path doesn't like
I have some Zend Framework apps running and it's time to add user access
Running on W7, php5.3.5. I have downloaded and installed Zend framework files. Now I'm
I have a website running using Zend Framework and am trying to setup Zend
I installed the Zend Framework, but I have a big problem here. When I
I am running Zend Server,Zend Studio (Trial versions) on Ubuntu 9.10. I am also
I am trying to get my ZEND application up on my apache server running
On my new Ubuntu system, I've managed to get Apache2 up and running for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.