Welcome Guest, Not a member yet? Register   Sign In
CI 1.6 Using on IIS server with mod_rewrite produces errors on the index page
#1

[eluser]Sondlen[/eluser]
I wanted to get rid of the index.php requirement on the IIS server and followed this guide to do it since I couldn;t really find anything here.

http://bakery.cakephp.org/articles/view/cakephp-on-iis

We got that installed and now I can access the controllers directly, with no errors, but the main page at http://dev.mysite.com/ produces these errors. Something that might help is that I can't go to http://dev.mysite.com/index.php without it throwing a 404 error when the mod_rewrite is enabled. I can access it when we turn it off though.

Code:
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Notice</p>
<p>Message:  Undefined offset:  0</p>
<p>Filename: libraries/Router.php</p>
<p>Line Number: 180</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Notice</p>
<p>Message:  Undefined offset:  0</p>
<p>Filename: libraries/Router.php</p>
<p>Line Number: 186</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Notice</p>

<p>Message:  Undefined offset:  0</p>
<p>Filename: libraries/Router.php</p>
<p>Line Number: 189</p>

</div>




Theme © iAndrew 2016 - Forum software by © MyBB