Confusing simple problem |
[eluser]monfreex[/eluser]
Hi all, I know you help me out with my simple problem. I don't if it's a server problem or anything but I have this page: http://tinyurl.com/dl5h24 If you click "Create Account" button, the next page would be a 404 message. As you can see the index function works out great but the register function is not and should just ouput "hello world". Am I missing something? The code below is my default controller: Code: class Start extends Controller {
[eluser]monfreex[/eluser]
Please don't mind this post. I wish I could kick myself! hahaha. Thanks for viewing anyway. I solved it already.
[eluser]Mackstar[/eluser]
This is looking for a controller called register which, you need to add this to your routes file, you can find out how to on the CI section on routes, if you enter the following I can find the register page. http://projects.collaboria.ca/MR/MemberD...t/register Thanks Richard
[eluser]Mackstar[/eluser]
$route['register'] = "start/register"; should do the trick!
[eluser]monfreex[/eluser]
Thank you Mackstar. Your suggestion is much better than the solution I just did. I know it will work. Thank you for replying.
[eluser]slowgary[/eluser]
Just to complete the post for anyone else who has this issue, the problem is that the URL is: Code: http://www.domain.com/index.php Code: http://www.domain.com/register Code: http://www.domain.com/start/register |
Welcome Guest, Not a member yet? Register Sign In |