I can access Controller but not method in it... |
[eluser]Ceros[/eluser]
Hi CI developpers, Ok, first I had probs with calling controller ex: http://localhost/MyProject/product/ won't work but putting the index.php in the URL work. Ive created a .htaccess file and now it's working. When I type my controler name, it call the index method. Now the problems is that I can't call other method. ex: http://localhost/MyProject/product/fobar even if i put product/index it's not working. I always get that "404 Page Not Found. The page you requested was not found." This is the CI 404 Page, not the one from Apache. I'm using Apache and PHP5. I tried different .htaccess file, AUTO, QUERY_STRING and everything else. Thanks for your help! Sebastien Dicaire |
Messages In This Thread |
I can access Controller but not method in it... - by El Forum - 01-27-2010, 08:03 AM
I can access Controller but not method in it... - by El Forum - 01-27-2010, 08:07 AM
I can access Controller but not method in it... - by El Forum - 01-27-2010, 08:31 AM
I can access Controller but not method in it... - by El Forum - 01-27-2010, 08:41 AM
I can access Controller but not method in it... - by El Forum - 01-27-2010, 08:57 AM
I can access Controller but not method in it... - by El Forum - 01-27-2010, 10:32 AM
I can access Controller but not method in it... - by El Forum - 01-27-2010, 05:26 PM
I can access Controller but not method in it... - by El Forum - 01-27-2010, 05:43 PM
|