Welcome Guest, Not a member yet? Register   Sign In
Codeigniter From Scratch Day 6 Signup - 404 page not found when Create Account
#1

[eluser]swgj19[/eluser]
I have followed day 6-Login of the codeigniter from scratch tutorials. For some reason I am getting "404 Page Not Found" when I click on the "Create Account" button on the login page localhost/ci_day6updated_login/index.php/login/validate_credentials.

Which then shows the error, but directs I think to the right link
localhost/ci_day6updated_login/index.php/login/signup

My code in the login.php controller for function signup is
Code:
function signup()
{
$data['main_content'] = 'signup_form';
$this->load->view('includes/template', $data);
}

Then I have my view signup_form.php

I do not know why the error is occurring if the function should be right and the view is created?

Thanks for the help.




Theme © iAndrew 2016 - Forum software by © MyBB