[eluser]=G-Man=[/eluser]
Wow, thanks for the fast response!
Well i don't have output compression enabled and error reporting is set to
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
I did enable the internal logging for codeigniter and have this
Code:
DEBUG - 2008-06-08 02:33:08 --> Config Class Initialized
DEBUG - 2008-06-08 02:33:08 --> Hooks Class Initialized
DEBUG - 2008-06-08 02:33:08 --> URI Class Initialized
DEBUG - 2008-06-08 02:33:08 --> Router Class Initialized
DEBUG - 2008-06-08 02:33:08 --> Output Class Initialized
DEBUG - 2008-06-08 02:33:08 --> Input Class Initialized
DEBUG - 2008-06-08 02:33:08 --> Global POST and COOKIE data sanitized
DEBUG - 2008-06-08 02:33:08 --> Language Class Initialized
DEBUG - 2008-06-08 02:33:08 --> Loader Class Initialized
DEBUG - 2008-06-08 02:33:08 --> Controller Class Initialized
DEBUG - 2008-06-08 02:33:08 --> Helpers loaded: url, form
DEBUG - 2008-06-08 02:33:08 --> Session Class Initialized
DEBUG - 2008-06-08 02:33:08 --> Database Driver Class Initialized
Heres my controller
Code:
<?
class Login extends Controller {
function Login()
{
parent::Controller();
$this->load->helper(array('url','form'));
$this->load->library('simplelogin');
$this->load->library('session');
$this->load->database();
}
//
// Displays the login form.
//
function index()
{
$this->load->view('login_view');
}
function check()
{
//Load
$this->load->library('validation');
//Check incoming variables
$rules['username'] = "required|min_length[4]|max_length[32]|alpha";
$rules['password'] = "required|min_length[4]|max_length[32]|alpha";
$this->validation->set_rules($rules);
$fields['username'] = 'Username';
$fields['password'] = 'Password';
$this->validation->set_fields($fields);
if ($this->validation->run() == false) {
$this->session->set_flashdata("LoginResult", "Login Failed");
redirect('/login');
}
else
{
$loginResult = $this->simplelogin->login($this->input->post('username'), $this->input->post('password'));
if($loginResult == true)
{
redirect('/l2admin');
}
else
{
$this->session->set_flashdata("LoginResult", "Login Failed");
redirect('/login');
}
}
}
}
?>
I can comment out the Simplelogin call and still get teh issue, so its not in there. also the URL stays at
/login/check so it's not even getting that far.