Welcome Guest, Not a member yet? Register   Sign In
Problem: I've no idea what's going on
#1

[eluser]Annath[/eluser]
I've been working with CodeIgniter for the first time, and just deployed my application. Everything worked fine on my test server, but when I delpoyed it to the production server I suppose some difference between the two caused it to break. The best way I can describe the problem is that URL's are not being read properly. I got to example.com/index.php/nameofcontroller and it goes to the default controller, as though it is ignoring everything after index.php. Is there anything that might be causing this, or do I need to give more details?
#2

[eluser]ontguy[/eluser]
Did you update the base_url in the config.php?
#3

[eluser]Annath[/eluser]
Yes, the base URL was updated to reflect the production server.
#4

[eluser]Jamie Rumbelow[/eluser]
Try setting the $config['uri_protocol'] to "REQUEST_URI"

Jamie
#5

[eluser]Annath[/eluser]
Thanks a lot! That fixed it.
#6

[eluser]Jamie Rumbelow[/eluser]
Your welcome Smile




Theme © iAndrew 2016 - Forum software by © MyBB