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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:14:21+00:00 2026-06-05T20:14:21+00:00

My application structure is like this: application modules default student controllers forms studentParent.php models

  • 0

My application structure is like this:

  • application
    • modules
      • default
      • student
        • controllers
        • forms
          • studentParent.php
        • models
        • views
        • Boostrap.php

I have a studentParent.php inside forms folder of student module.

class Student_Form_studentParent extends Zend_Dojo_Form{
}

Whenever I call this form class inside controller of student module, I get class not found error
I have placed Bootstrap.php inside student module.

class Student_Bootstrap extends Zend_Application_Module_Bootstrap
{

}

Here’s my application.ini file configuration

resources.frontController.params.displayExceptions = 0
resource.modules=""
resources.view = ""
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
resources.layout.layout = "main_template"

My Bootstrap.php file:

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
     protected function _initDefaultModuleAutoloader()
     {
         $moduleLoader = new Zend_Application_Module_Autoloader(
    array(
        "namespace" => '',
        "basePath"  => APPLICATION_PATH.'/modules/default'
        )
      );

          Zend_Controller_Action_HelperBroker::addPrefix('App_Action_Helper');

          return $moduleLoader;
     }
}
  • 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-06-05T20:14:22+00:00Added an answer on June 5, 2026 at 8:14 pm
    resource.modules=""
    

    should be:

    resources.modules=""
    

    (i.e. resources plural).

    I would also recommend that you use an upper case letter to start your class names, so Student_Form_StudentParent instead of Student_Form_studentParent (the filename will need to be StudentParent.php as well). Personal preference I suppose, but if the framework does it one way and your app does it another then your class naming will not be consistent.

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

Sidebar

Related Questions

I have a structure like follows: /application ..... --/modules ----/structure ------/controllers --------/indexController.php ------/forms --------/Department.php
I am have modular structure in my project --application ----modules -----admin ------models -----client ------models
So this is my project directory structure: application/ layouts/ scripts/ default.phtml partials/ partial.phtml modules/
Guys I have the following structure in my project. application/ Bootstrap.php configs/ application.ini modules/
I have directory structure like so: |-- ROOT |-- Project1 | |-- application |
Normally it would be in such a structure: ../application/modules/somemodule/views/scripts/index/index.phtml How I move it to:
I have two modules like this (very very simplified): main.py: from window import *
I have some questions about the structure of ZF modules and models. (I'm talking
I have XML file (output of some application) like this: <data> <call function=get_user_data> <output>
i have been using a modular structure for my zend framework application. This is

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.