Error404 when trying to access another controller |
Hi guys. need help. I've uploaded my codeigniter project on a free webhost site. when i run it seems to be okay but when i try to access my other controller it says that error 404
when i developed it offline running using xampp the url works fine: Code: http://localhost/ciblog/index.php/pages/index and so this one Code: http://localhost/ciblog/index.php/admincontroller/index but when i type this one Code: http://freedomain.somefreedomain.com/index.php/admincontroller/index/ i encountered error404 in my Controller Folder i have 2 Controllers Pages.php = Which is basically the "FrontEnd" AdminController.php = Which is basically the "BackEnd" or the administration htaccess Code: RewriteEngine on here is my routes: PHP Code: $route['default_controller'] = 'pages'; Below is the Screenshot of the URL that works using offline/localhost
Just a random guy from Internet
You spelt admin wrong:
http://freedomain.somefreedomain.com/ind...ler/index/ admimcontroller is spelt wrong.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
(10-14-2015, 03:20 PM)iamthwee Wrote: You spelt admin wrong: sorry i typed it wrong here. But still i didn't resolve the issue ![]()
Just a random guy from Internet
Do you know if the free site supports mod rewrite. free sites are notorious for being restrictive.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
(10-14-2015, 11:30 PM)iamthwee Wrote: Do you know if the free site supports mod rewrite. free sites are notorious for being restrictive. Hi thanks for the help. I already solve it . The problem was the Name of the controller instead of AdminController i renamed it to Admincontroller . Just found the fix in stackoverflow. Thanks iamthwee for your help ![]()
Just a random guy from Internet
|
Welcome Guest, Not a member yet? Register Sign In |