Big server problem. |
[eluser]Sanity11[/eluser]
Hi all, We have made a website in CI. We have uploaded everything to the server and we get a very odd problem: www.koenexclusief.nl/beta. It displays the code from the controller?! It also shows a .php error and a 404.... ? Please help us out. This is a real problem and we don't know if it's the server or CI? Thanks!
[eluser]jedd[/eluser]
My gut feel is that you have an echo where you shouldn't in your controller - website_main.php, perhaps - or you have a space in front of one of your <?php tags, or perhaps some spaces after a closing ?> tag.
[eluser]TheFuzzy0ne[/eluser]
I'm guessing you're using short tags and the server doesn't support them. Use <?php instead of <?
[eluser]Sanity11[/eluser]
Yeah, I also thought about the short tags. I will ask my colleagues to change that first thing in the morning. I will also check on the space before the tags. Thanks al lot guys! |
Welcome Guest, Not a member yet? Register Sign In |