Welcome Guest, Not a member yet? Register   Sign In
Default Controller Has Erratic Display
#1

[eluser]Eric Cope[/eluser]
On my test server (also my workstation), a CodeIgniter Installation fails to display the default controller/view. On my production server, it displays fine. Both servers have slightly different installations, but no major differences. Any ideas why this would happen?
#2

[eluser]johnwbaxter[/eluser]
Do you need to define the index.php as the home page in your config.php for the local version?
#3

[eluser]Colin Williams[/eluser]
What does "fails to display" actually mean? Do you get a CI 404, Apache 404, otherwise?
#4

[eluser]Eric Cope[/eluser]
[quote author="Colin Williams" date="1230441808"]What does "fails to display" actually mean? Do you get a CI 404, Apache 404, otherwise?[/quote]

I get nothing. Firefox shows "done", but there is not data transfer.
#5

[eluser]Colin Williams[/eluser]
You have a PHP error. Check your error logs. There must be differences in your server configurations. One might have short tags enabled, one might not. One might be a different version and you are using functions that do not exist. Run phpinfo() in both environments and find the culprit.




Theme © iAndrew 2016 - Forum software by © MyBB