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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:05:07+00:00 2026-05-29T08:05:07+00:00

My login form was working before but I noticed today it’s not working anymore.

  • 0

My login form was working before but I noticed today it’s not working anymore. I don’t understand why. I’m freaking out. I tried lots of things and kinda narrowed it down to the validation. With this code I should be seeing “its good!” after pressing the submit button but it stays on the “Invalid” and the var_dump() always displays false. On the login form I have a username and password field and a submit button with name=”submit”. The form does submit to the correct controller (login).

public function login()
    {
        var_dump($this->input->post());

        if(!$this->input->post('submit'))
        {
            echo 'invalid';
            $this->load->view('header');
            $this->load->view('login');
            $this->load->view('footer');
        }
        else
        {
            echo 'its good!';
        }
    }
  • 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-29T08:05:09+00:00Added an answer on May 29, 2026 at 8:05 am

    What about doing a var_dump() or print_r() of $_POST?
    If $_POST is empty, have a look at your view and make sure you haven’t set your forms ‘method’ attribute to ‘get’. It should be set to ‘post’.

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

Sidebar

Related Questions

My registration page and login form is working fine. If any member register and
I was working on a Login Form ( AJAX ) enabled. When a use
I'm working on a website with a login form. To log in, a postback
I have the WordPress Login form working in the front-end of my website, to
I've got my Spring Security custom login form working. It displays errors if the
Here is my scenario. I have a working login form that functions correctly. I
I am working on login/signup module(FYI no rolls/membership just a simple login form),data flow
I am working on sencha2.0. I have one login form and I want to
Login Form: $authAdapter = Zend_Registry::get('authAdapter'); $authAdapter ->setIdentity($formData['email']) ->setCredential($password) ->setCredential(1); Bootstrap: protected function _initAuth(){ $this->bootstrap('db');
I have a login form which appears at the top of all of my

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.