Welcome Guest, Not a member yet? Register   Sign In
Help! DX Auth, set_value vs. $this->input->post()
#11

[eluser]Ben Edmunds[/eluser]
What do you get when you echo the register call?

Are you using the default sample views?
#12

[eluser]Deadly[/eluser]
Where/how should I do that echo? Not sure, sorry... :red:

I added in a log_message call as well, but it doesn't return anything:

Code:
if ($this->form_validation->run() === FALSE)
        {
            log_message('debug','form validation returned FALSE');
            $data['content'] = $this->load->view('register', null, true);
            $this->load->view('template', $data);
        }
#13

[eluser]Ben Edmunds[/eluser]
In the controller that calls auth->register().

Are you using the sample controllers/views or using your own?
#14

[eluser]Deadly[/eluser]
Using the samples actually, so I'm working in the welcome.php controller for the most part. Er, when you say auth->register, are you referring to DX or Redux? I don't see 'auth' anywhere...
#15

[eluser]Ben Edmunds[/eluser]
redux auth has a method named register. I would assume that dx auth has a similar method though.
#16

[eluser]Deadly[/eluser]
Yeah of course, sorry. I have to believe something might be wrong with the form_validation routines, and I really don't know what or why. If I try to submit the unpopulated form, I should be at least some validation errors returned, but nothing at all.
#17

[eluser]Deadly[/eluser]
Just created a whole new virtual site, populated only by the sample application. Database is properly setup, everything else working. But I just. can't. submit. this form.
#18

[eluser]Ben Edmunds[/eluser]
Which auth system are you using now, DX Auth?

If so, maybe someone else can help you with it since I've never used it.


If no one comes to your rescue by tomorrow I'll load up DX Auth and see whats up...
#19

[eluser]Deadly[/eluser]
No no, I haven't moved. Staying on Redux. I'm at the same exact place I was with DX, so it must be something else.
#20

[eluser]Deadly[/eluser]
OK, might be on to something here. I've created a rudimentary test form and am just trying to display the posted values on another page. If I point to a URL WITHOUT the index.php in it (I am hiding it in .htaccess), then the form fails. If I put the full path INCLUDING index.php, I see the values!




Theme © iAndrew 2016 - Forum software by © MyBB