Welcome Guest, Not a member yet? Register   Sign In
Codeigniter has trouble finding the correct route
#3

[eluser]slapo[/eluser]
[quote author="srisa" date="1235062747"]Last message says the page requested is "index.php?q=welcome". What is this q here? Have you changed the controller and function triggers? You might also have to change the $config['uri_protocol'] to something other than AUTO.[/quote]

Thanks srisa,

the q there is a type, it should have been c as I have it defined in my app's config.php in $config['controller_trigger']. However, it doesn't really matter, as even without any parameters (just with index.php being called), the result is the same and there's "index.php" instead of "index.php?q=welcome" in the log file.

I should also mention that there's a phpinfo.php file which only calls phpinfo(); and it displays what it should (I think) without a problem.

I've tried changing the $config['uri_protocol'] to the other suggested values, but with no success. ORIG_PATH_INFO is the only one with which I get the 404 message. With the rest of the options, I get this:

Code:
DEBUG - 2009-02-19 12:10:49 --> Config Class Initialized
DEBUG - 2009-02-19 12:10:49 --> Hooks Class Initialized
DEBUG - 2009-02-19 12:10:49 --> URI Class Initialized
DEBUG - 2009-02-19 12:10:49 --> No URI present. Default controller set.
DEBUG - 2009-02-19 12:10:49 --> Router Class Initialized
DEBUG - 2009-02-19 12:10:49 --> Output Class Initialized
DEBUG - 2009-02-19 12:10:49 --> Input Class Initialized
DEBUG - 2009-02-19 12:10:49 --> Global POST and COOKIE data sanitized
DEBUG - 2009-02-19 12:10:49 --> Language Class Initialized
DEBUG - 2009-02-19 12:10:49 --> Loader Class Initialized
DEBUG - 2009-02-19 12:10:49 --> Database Driver Class Initialized


It looks like it loads OK, but I'm it still shows the blank page.


Messages In This Thread
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 04:36 AM
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 04:59 AM
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 05:12 AM
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 05:25 AM
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 07:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB