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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:02:46+00:00 2026-05-22T18:02:46+00:00

I am this tutorial to implement login system in my application. It is giving

  • 0

I am this tutorial to implement login system in my application. It is giving me following error in process action:

Message: Method "getAuthAdapter" does not exist and was not trapped in __call() 

on following line:

$adapter = $this->getAuthAdapter($form->getValues());

So now I have to implement getAuthAdapter() function but how to code in this function.

Thanks

  • 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-22T18:02:46+00:00Added an answer on May 22, 2026 at 6:02 pm

    If you want to authentication via database you can use this code:

    protected function _getAuthAdapter($userLogin, $userPass){
        $authAdapter = new Zend_Auth_Adapter_DbTable(
            Zend_Db_Table::getDefaultAdapter(),
            'user', //db table name
            'login', // identity column
            'password' // credential column
        );
        $authAdapter->setIdentity($userLogin)->setCredential($userPass);
        return $authAdapter;
    }
    

    Database authentication docs you can find here

    For other adapters look here

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

Sidebar

Related Questions

I've been following this tutorial on how to implement a Silverlight application. The tutorial
I have to implement login in iPhone application via SSL. What does it mean?
Following from this tutorial.. http://net.tutsplus.com/articles/news/codeigniter-from-scratch-day-6-login/ I have successfully implemented and created/logged in users.. I
I'm trying to implement the shake tutorial on this page, but I think I'm
I've been following this tutorial (lesson 6) in order to build and deploy a
I'm following this tutorial (seems good) for Rails. After I run ruby script/generate scaffold
I was following this tutorial . I need to use a php file's ouput
I'm planning to implement an Android application that requires a login screen. If the
I am following the spring MVC tutorial and also reading this article on mvc
I got started by following this awesome tutorial , but wanted to do the

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.