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 7029115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:29:45+00:00 2026-05-28T00:29:45+00:00

I am having problems with modules, I searched the web but I can not

  • 0

I am having problems with modules, I searched the web but I can not get this to work.

This is my directory structure

Layout
application
  configs
  Modules
    default
        controllers
        models
        views
          helper
          scripts
             index
             error
        Bootstrap.php
    Bootstrap.php
docs
library
  DoctrineORM 2.1.5
test

My application.ini

[production]
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"

resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.modules[] =

resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0

resources.router.routes.home.route = /home
resources.router.routes.home.default.module = default
resources.router.routes.home.default.controller = index
resources.router.routes.home.default.action = index

[staging : production]

[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1

[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1

My Bootstap.php (all Bootstrap.php files are the same)

class Bootstrap extends Zend_Application_Module_Bootstrap

}

All I get is an blank page.

  • 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-28T00:29:46+00:00Added an answer on May 28, 2026 at 12:29 am

    Within a module based ZF application, there are two different types of Bootstrap files: application bootstrap and module bootstrap. This Bootstrap.php in your application directory should look like:

    class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {}
    

    The Bootrap.php in each module directory should look like:

    class ModuleName_Bootstrap extends Zend_Application_Module_Bootstrap {}
    

    (ModuleName should be replaced with the name of the module).

    It is also advisible to define the default module name and whether the default module has a namespace prefix:

    resources.frontController.defaultmodule = "example"
    resources.frontController.params.prefixDefaultModule = 1
    

    This tells the frontController that the default module is example and that all classes within that module are prefixed with Example_.

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

Sidebar

Related Questions

I am having problems trying to map an HttpHandler in the web.config. This is
I'm having problems understanding how htaccess redirects work: Can I do a background redirect,
Im having problems with classpaths. I have used them before with import but I'm
Hey everyone i am trying to write this code and I am having problems
I am having problems getting any kernel modules to build on my machine. Whenever
I'm trying to play around with URL rewrites and can't get it to work.
I'm switching from Haskell to OCaml but I'm having some problems. For instance, I
spring3 jpa(hibernate) for my project but im having problems with the Hibernate Persistence class
I'm having problems getting this simple test to pass on RSpec 2.8. I want
I'm having problems redirecting stdio of another program using subprocess module. Just reading from

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.