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

  • Home
  • SEARCH
  • 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 8602457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:05:25+00:00 2026-06-12T02:05:25+00:00

I have started learning zend framework. I am using version 1.12. I am using

  • 0

I have started learning zend framework. I am using version 1.12. I am using modular approach. I have created one module called ‘admin’. Following the my structure of the site

application/
   (...other directories)
   modules/
       admin/
          controllers/
             IndexController.php
          forms/
             Login.php
          views/
             scripts/
                (...view scripts)
          Bootstrap.php

In this module I have created one form called ‘login’ using zf tool. whose class is created like this.

class Admin_Form_Login extends Zend_Form
{
    public function init()
    {

    } 
}

now the problem comes when I called this form in my admin module’s index controller.

class Admin_IndexController extends Zend_Controller_Action {
    public function indexAction() 
    {   
        $form = new Admin_Form_Login;
     }
}

It gives me error like this.

Fatal error: Class 'Admin_Form_Login' not found in E:\xampp\htdocs\novo\application\modules\admin\controllers\IndexController.php on line 13.

I am not sure what I am doing wrong. anybody, please help me.
  • 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-12T02:05:26+00:00Added an answer on June 12, 2026 at 2:05 am

    I think you can do th enext things:
    1. Enable autoloading for module’s models:
    in application.ini:

    resources.modules = []
    resources.views = []
    resources.frontController.moduleDirectory = APPLICATION_PATH . "/modules"
    
    1. Create form in modules/admin/models/Form/Login.php and call class Admin_Model_Form_Login
    2. Check your module bootstrap. It should be:

      class Admin_Bootstrap extends Zend_Application_Module_Bootstrap

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

Sidebar

Related Questions

I have started learning Zend Framework, Now I have created few almost 6 projects
I have started learning the javascript module pattern and I have the following code:
i have learned MVC Architecture from Zend Framework, and i just started learning in
I have started learning HTTPUNIT and found one basic example. In this example it
I have just started learning python version 3 and trying to create a file
I'm new to PHP and I recently started learning Zend Framework. What DAL are
I have started learning Ruby recently and I was trying out the following piece
I have recently started learning Perl and one of my latest assignments involves searching
I just started learning Zend. I managed to get the basic working (using zf
I have started learning Python by writing a small application using Python 3.1 and

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.