Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter won't run on Windows IIS
#1

[eluser]meigwilym[/eluser]
I've used CI many times on LAMP servers in the past with little hassle. But I've got PHP 5.2.5 on IIS 6.0 and CI will not load.

I've set the query string to PATH_INFO, and it gets the segments with no problems (or loads the default controller). But the script stops at line ~198 in system/codeigniter/CodeIgniter.php

Code:
$CI = new $class();

I can echo some text before this line, but not after it. I'm not a OO expert so I'm unsure as to what could be causing the problem.

Any advice?

Thanks,

Mei
#2

[eluser]jtkendall[/eluser]
Hi meigwilym,

Have you tried adding ini_set('display_errors', true); before the error_reporting(E_ALL); line in index.php? Are you getting a specific error, or is the page just dying? A exact error message would help in figuring out the issue.
#3

[eluser]jalalski[/eluser]
Try changing the ci/libraries/Log.php, line 46 to:

Code:
if ( ! is_dir($this->log_path) /*OR ! is_really_writable($this->log_path)*/)

and see if that makes a difference.

Let us know if it does and I'll file a bug report.




Theme © iAndrew 2016 - Forum software by © MyBB