Welcome Guest, Not a member yet? Register   Sign In
Big server problem.
#1

[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!
#2

[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.
#3

[eluser]TheFuzzy0ne[/eluser]
I'm guessing you're using short tags and the server doesn't support them. Use <?php instead of <?
#4

[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!




Theme © iAndrew 2016 - Forum software by © MyBB