home controller functions not loading (uri protocol???) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: home controller functions not loading (uri protocol???) (/showthread.php?tid=21685) |
home controller functions not loading (uri protocol???) - El Forum - 08-17-2009 [eluser]mikegioia[/eluser] I have a bunch of functions (like login, register) in the home controller that loads. The index function is loading okay but any of the other functions are not loading the pages. I have a function called register() but I get a 404 when navigating to it. I've tried all the URI protocol's (PATH_INFO, QUERY_STRING, etc) but none seem to work. Is there something I haven't configured? I really don't want to have to make separate files/folders for all of these controller functions. Thanks for any help! Mike home controller functions not loading (uri protocol???) - El Forum - 08-31-2009 [eluser]fcambounet[/eluser] I'm having the same issue, except that calls to specific functions end up firing up the index function and not the requested function. Does anyone have a lead on why this could be happening ? home controller functions not loading (uri protocol???) - El Forum - 08-31-2009 [eluser]mikegioia[/eluser] haven't been able to solve the problem, but I've had to awfully create separate controller classes for each one. so instead of a register() function in the home controller, i have to have an entire Register class with its own index function. however, the procedures inside that class seem to be working for subpages so it may just be a root issues. not sure why it's happening though. home controller functions not loading (uri protocol???) - El Forum - 08-31-2009 [eluser]fcambounet[/eluser] I reduced the issue to the ID part of the URL actually not getting through. The function itself, when fired up without any parameter, is recognized. ie : /controller/function does work but : /controller/function/id does not work and the index function is actually called. This may have to do with the facebook environment / setting under which i'm developping, while using the install guide found here : http://www.simpleprojectz.com/2008/10/facebook-codeigniter/ I tried changing the uri_protocol to all values though. |