Page 1 of 1

Please provide a config.php and include.php for IIS

Posted: Mon Dec 20, 2004 3:36 pm
by Mark Keus
I cannot get this to work in windows with IIS. I get errors during installation:

Notice: Undefined index: SCRIPT_FILENAME in C:\Inetpub\wwwroot\cmsmadesimple\install.php on line 265

Notice: Undefined index: SCRIPT_FILENAME in C:\Inetpub\wwwroot\cmsmadesimple\install.php on line 265


I am able to continue, then the index.asp gives me this:

Notice: Undefined index: SCRIPT_URL in C:\Inetpub\wwwroot\cmsmadesimple\index.php on line 57

Warning: Smarty error: unable to read resource: "db:/index.php" in C:\Inetpub\wwwroot\cmsmadesimple\smarty\Smarty.class.php on line 1083

It must be something with the path settings, which differ between apache and IIS. Could someone provide a configuration suitable for Windows 2000 with IIS installed in c:\inetpub\wwwroot\cmsmadesimple ?

Please provide a config.php and include.php for IIS

Posted: Mon Dec 20, 2004 3:48 pm
by Ted
This should all be fixed in development. Though not ready for release yet, it might be worth looking into a development build and see if it works better for you. I'm expecting a 0.8 beta release today or tomorrow (most likely tomorrow).

No luck there

Posted: Fri Dec 24, 2004 8:14 am
by Mark Keus
I installed your latest build. If I comment out the IIS fix like this (include.php, lines 132 - 135):

#Fix for IIS (and others) to make sure REQUEST_URI is filled in
#if (!$_SERVER['REQUEST_URI'])
#{
# $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING'];
#}


then I'm still stuck with a smarty error:

Warning: Smarty error: unable to read resource: "db:-1" in C:\Inetpub\wwwroot\cmsmadesimple\lib\smarty\Smarty.class.php on line 1088

Please provide a config.php and include.php for IIS

Posted: Fri Dec 24, 2004 9:50 am
by Mark Keus
Thanks, that worked...