00161: Windows/IIS installation fails
Description: Initial error messages:
Notice: Undefined index: REQUEST_URI in E:\Inetpub\pmwiki-2.0.devel26\pmwiki.php on line 212
Warning: Cannot modify header information - headers already sent by (output started at E:\Inetpub\pmwiki-2.0.devel26\pmwiki.php:212) in E:\Inetpub\pmwiki-2.0.devel26\pmwiki.php on line 591
Does not run using argument URLS: http://localhost/pmwiki2/pmwiki.php/Main/HomePage
--> Does not work
http://localhost/pmwiki2/pmwiki.php?pagename=Main.HomePage
--> Works!
Does anyone have an IIS-based webserver w/PHP that I could use to evaluate and test PmWiki installation on windows environments...? --Pm
Patrick, you can use mine. http://glossopian.co.uk if you like. Do you still have the access details I gave you last time? Or do you need them again. I'm trying to get this to go at work & I am experiencing exactly this isssue. --David Jackson
Update - I got it going by RTFC (Reading the F!%*ing comments) & setting $EnablePathInfo = 0;
in config.php fixed it. Now to see if my current site works. The offer above still stands though if Pm needs it.
Feedback - V2.7 Beta7 is OK with IIS providing you remember to add a copy of sessionauth.php to the scripts directory and set $EnablePathInfo
= 0. As for RTFC (above) it does fix the 404 problem but previous releases did not require it. The comment only refers to 404 errors after the home page. I did not even get the home page so it was not obvious. I too am prepared to test IIS/PHP/Windows installs.
Sessionauth.php is no longer needed as a separate script -- it's the default for PmWiki 2. --Pm