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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Mark Keus

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

Post 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 ?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

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

Post 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).
Mark Keus

No luck there

Post 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
Mark Keus

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

Post by Mark Keus »

Thanks, that worked...
Locked

Return to “[locked] Installation, Setup and Upgrade”