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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:33:14+00:00 2026-06-10T22:33:14+00:00

I have a small (very small) zend project that covers two modules, the admin

  • 0

I have a small (very small) zend project that covers two modules, the admin and the front module. I have also managed to create a form under the ‘front’ module and was also able to use it in the controllers of the front module as well. Now, my problem is that when I created a form under the ‘admin’ module, and use it in the admin controllers as well, the php cannot anymore detect where to locate the class. Thus, this error is displayed:

Fatal error: Class 'Admin_Form_Login' not found in C:\xampp\htdocs\projects\zend\finder\application\modules\admin\controllers\IndexController.php on line 18

I was so confused that in the front module, it is working but on the admin module, very similar way of creation and usage, it fails. NOTE: I used zf tool to create the forms.

Here is my application.ini, maybe this might help.

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.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0

resources.modules[] =

resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"

resources.view.helperPath.Finder_View_Helper = APPLICATION_PATH "/../library/Finder/View/Helper"

I am using Zend 1.11.12 for this.

Thanks in advance.

  • 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-10T22:33:15+00:00Added an answer on June 10, 2026 at 10:33 pm

    I’m guessing you don’t have a module bootstrap class, as everything else looks fine. So all you need to do is create a file at application/modules/admin/Bootstrap.php which contains the following:

    <?php
    
    class Admin_Bootstrap extends Zend_Application_Module_Bootstrap
    {
    
    }
    

    this will be run by your application bootstrap, and Zend_Application_Module_Bootstrap by default sets up an instance of the module resource autoloader, which will in turn enable resources classes beginning with Admin_.

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

Sidebar

Related Questions

I have a very small VS2008 Winforms project that will not start. When I
i have a very small utilty app written in c# that works fine on
I have a very small activity that must show an image. If picture is
I have a very small header that contains the following code. The code compiles
I have a very small Java codebase that I would like to expose as
Suppose I have a very small float a (for instance a=0.5 ) that enters
I have a very small object graph that I'm using: public struct Address {
I have a very small script that needs to be run on debian installer:
When you need to have very small objects, say that contains 2 float property,
I have a very small part of a Django site that keeps the state

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.