Page 1 of 1

Install 0.11.2 IIS6 PHP 4.3.10

Posted: Wed Dec 28, 2005 3:30 pm
by angelo
Hey folks -- I'm bitten once again by the IIS lack of "real" server variables once again.

After upgrading from 0.10.4 to 0.11.2, at the top of each page, I get a notice that REQUEST_URI is undefined at (path...to... index.php) line 24.

I fixed this in this version by adding

$_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'];

at the top of index.php just after the comments, and this seems to fix it.

But, I know how to fix this, whereas everyone else might not.

Thanks

Angelo

Re: Install 0.11.2 IIS6 PHP 4.3.10

Posted: Wed Dec 28, 2005 5:13 pm
by westis
Thanks Angelo,

I've added this to the tracker for the CMSMS Core project in the CMSMS Forge and the developers will fix it in svn shortly. :D

I would be one of those who wouldn't know how to fix it if I had been using IIS... :-)

Re: Install 0.11.2 IIS6 PHP 4.3.10

Posted: Thu Jan 05, 2006 8:46 am
by askme
Thanks angelo I had also same problem at line 24 of Index.php and I added this line as mentioned by you and all problem solved.
Thanks