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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:15:21+00:00 2026-05-23T01:15:21+00:00

Posts: I can’t seem to get my auth controller working. I’m not sure what

  • 0

Posts:
I can’t seem to get my auth controller working. I’m not sure what I am doing wrong.

Basically I’m implementing zend_auth and using a pimcore object adapter that I found on this forum (http://pastebin.com/wzEPE1yk)

You can preview my code here:
http://pastebin.com/87DCqtz2

I’ve created a class called “users” with the fields o_key and password. I have then created two instances of the class, one is called user_brendan and the other is user_jason. I have populated the o_key and password, and when I attempt to login with the form using user:user_brendan, pass:888 it seems to work fine, but when i try anything else it just reloads the form. It won’t even echo out my echo statements as shown in the paste bin.

Can someone please explain?

Here is the code from my view file:

<?php $this->template('includes/head.php'); ?>
<?php $this->headTitle('Login'); ?>
<h1>Login</h1>
<?php echo $this->form->setAction('/login'); ?>
<?php $this->template('includes/footer.php'); ?>

Thanks so much

PS: Cross posted this to the pimcore forum here: if you see the answer, copy it over and i’ll mark you as the answerer http://www.pimcore.org/forum/discussion/555/i-cant-get-my-login-form-working-please-help

  • 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-23T01:15:21+00:00Added an answer on May 23, 2026 at 1:15 am

    The field ‘o_key’ is the key of the object used by pimcore internally (hence the o_-prefix), it’s the name you enter when creating the object. Also make sure your objects are stored in the folder named ‘users’ (or create the Website_Auth_ObjectAdapter-class without the 4th argument).

    Try debugging the $result variable in your _process() method

    (the answer on the Pimcore site is from my colleague :))

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

Sidebar

Related Questions

I know there are similar, more complex posts around, but I just can't get
I'm sorry for yet another of these posts, but from what I can tell,
Post has user and date attributes. How can I turn this posts = Post.objects.order_by('-date')[:30]
I have the following controller view method for my posts: function view($id = null)
How can I select specific rows in a MySQL Table? So instead of select
I have a text area where the users of the system can post anything,
I have a template file ( trendingPosts.php ) for showing 2 latest posts with
I've seen a couple posts about this issue, but so far nothing has seemed
I need to programmatically trigger the change event. This I can usually do, but

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.