Welcome Guest, Not a member yet? Register   Sign In
CI & IIS: Selects the controllers right, but doesn't execute the code?


I've got CI running on IIS. I've got it running with ISAPI_rewrite and can successfully access my controllers using


The problem is the controller contents come up and are not rendered/executed by PHP/CI. I get the actual code spit out at me.

Does anyone have any ideas why this is? I've got PHP installed as an ISAPI module with the correct web service extensions - and I know that rewrite is working because I can switch between controllers - it just will not render the output once it's grabbed from the controller.

Anyone have this issue as well? I can't seem to find an answer.

Site I was using was using <? instead of <?php and on a new install of PHP it doesn't allow for the shortened version.

Always a stupid solution.

[eluser]Michael Wales[/eluser]
Rather than go through and change all of your <? to <?php you could have CI rewrite the short tags for you. It will suck up a small amount of resources, but it's a solution...

There's a config in the php.ini that you can set to allow short tags. No rewriting necessary.

Theme © iAndrew 2016 - Forum software by © MyBB