Welcome Guest, Not a member yet? Register   Sign In
Form validation returning FALSE
#11

As my stomach turns, I found my problem and have a fix.  1) the request method being GET was from the browser requesting the original get for the CI controller file.  When I looked at the results in the browser debug, I was seeing a 404 for the action of the post.  In my old config, somehow I got a rewrite of the FORM post action.  No so with this stack.

So I changed this 
<form action="{site_url}/admin/Log_in" method="post">

to this
<form action="{site_url}/index.php/admin/Log_in" method="post">

and I not longer got 404 on finding the action of the post.

One of the things I noticed while I was trying a LOT of things to get around this is

\system\libraries\Form_validation.php

does a 

$this->CI =& get_instance();
in the constructor and many of the functions return $this.

The makes the return rather large, and redundant and circular.
I wrote my first program in 15 minutes. It took me 3 hours to keypunch it.

I wrote my first BASH script in 5 minutes. It took me a day to find out I had to put a . (period) in front of it to get it to execute.
Reply


Messages In This Thread
Form validation returning FALSE - by dwlamb - 10-14-2017, 12:05 PM
RE: Form validation returning FALSE - by PaulD - 10-15-2017, 04:58 AM
RE: Form validation returning FALSE - by dwlamb - 10-15-2017, 10:23 AM
RE: Form validation returning FALSE - by dwlamb - 10-15-2017, 01:06 PM
RE: Form validation returning FALSE - by dwlamb - 10-15-2017, 06:45 PM
RE: Form validation returning FALSE - by gmgj - 04-17-2019, 11:38 AM
RE: Form validation returning FALSE - by gmgj - 04-30-2019, 03:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB