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

[eluser]Deadly[/eluser]
I've removed the .htaccess altogether for now, and the form is at least erroring out now:

Code:
A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/redux_auth_model.php

Line Number: 505

A Database Error Occurred
Error Number: 1048

Column 'group_id' cannot be null

INSERT INTO `users` (`username`, `password`, `email`, `group_id`, `ip_address`) VALUES ('deadly', 'fa2dab6534185fa758ff05befc0a500ef36bf819', '[email protected]', NULL, '127.0.0.1')
#22

[eluser]Ben Edmunds[/eluser]
OK, good start.

Are you planning are using groups? Are you using the beta version of redux or has a new release came out? Be aware that being beta it has a few bugs...


The simplest solution (quick fix) to your problem here is to change your DB to not require anything for group_id. But let me know what version your using and I'll walk you through the code to fix the problem/add the group.
#23

[eluser]Deadly[/eluser]
Yep, got the groups thing sorted. Then ran into some login issues. Ugh. Then figured I'd try DX again just to confirm it was the htaccess thing across the board, which it was. I'm now up and running with DX and it seems to be good so far. Thanks much for the help and such, appreciate it.




Theme © iAndrew 2016 - Forum software by © MyBB