Routes file doesn't work |
I will give you my files first, and after that I will explain my problem:
application/config/routes.php file: https://pastebin.com/jbBeqmEs application/controllers/Users.php file: https://pastebin.com/6KwPn5Cq application/view/users/registration.php file: https://pastebin.com/ZrY8nhxu When I try to enter my beta domain, which is Code: http://drpciv.mauriceltd.co.uk/registration I recieve Quote:404 But I declared the route in the route.php file.. I read everything about routing from documentation but still I don't have any ideea why this doesn't work.
change directory
application/users/registration.php to application/view/users/registration.php
Hi Maurice,
Do you have proper .htaccess file in the root path of your website? It should be there to route the request to your index.php file. First check whether http://drpciv.mauriceltd.co.uk/index.php/registration is working. If that is the case then the issues with your .htaccess file. If so, you can follow the article here at http://www.thephpcode.com/blog/view/remo...niter.html to fix the issue.
Using and
![]()
I did the .htaccess thing and the problem is not that, now I still get 404 error code, but in an CodeIgniter template display
In your form you are not telling it where to go on the action field.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(06-09-2017, 06:37 AM)Maurice Wrote: I did the .htaccess thing and the problem is not that, now I still get 404 error code, but in an CodeIgniter template display application/controllers/Users.php <- is the real name of the file the first letter uppercase too? did you try http://drpciv.mauriceltd.co.uk/users/registration ? InsiteFX action is not required. Maurice can not access http://drpciv.mauriceltd.co.uk/registration |
Welcome Guest, Not a member yet? Register Sign In |