Page 1 of 1

Error loading index.php on IIS

Posted: Fri Jul 04, 2008 12:48 pm
by setec
I hope this has been answered and someone can just point me to the thread, but I could not find it as I am not 100% sure what to search on..

I have an index.php file that call require_once('./modules.php'); which in turn calls into a series of php files in a sub-directory under root. The main script is under ./modules/Jig/index.php

All of this is on my IIS server.

I put an echo trail through all of the files and index under root gets called, and calls modules under root, but that is where the trail stops unless I type in the full http://www.mydomain.com/index.php, then it calls into the subdirectory scripts.

Am I missing something? Is there some PHP setting for IIS servers that I am missing or did I just do my modules.php file wrong?

:banghead:

Re: Error loading index.php on IIS

Posted: Wed Jul 09, 2008 4:54 pm
by Benjamin
If index.php is being called, but the files it is suppose to include are not depending on the URL, I would guess that for some bizarre reason the current working directory is being changed or the code that includes it is in some sort of flow control structure. Without seeing the code I can't help more than that.