View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000399||WackoWiki||installer||public||2011-10-05 14:54||2017-08-31 09:36|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Platform||Microsoft||OS||Windows Server||OS Version||2008 R2|
|Target Version||5.5.0||Fixed in Version||5.5.0|
|Summary||0000399: Installation Severely Broken on IIS 7.5|
|Description||I don't have access to the forums so I'm adding this here (it IS a bug technically). The basic idea is that when I try to install WW on IIS 7.5 I run into all sorts of problems.|
First, the CSS doesn't load. Secondly, if you are running in a subdirectory, the installer doesn't seem to know how to handle redirects for form processing.
There's probably a whole slew of problems here, but I need to sit down this weekend and actually figure out what they are, build a list, and get to working on solutions.
||Gave this a shot as top-level (http://wiki.*.com/ instead of http://*.com/wiki/). Posting between forms worked, however there was still the issue of CSS/images not loading.|
||Unfortunately I haven't had time yet to try learning Russian (I've barely managed any Japanese at this rate!) so I ran that through a translator. Looks fine, but we're now quite a few versions of IIS down the road, and PHP is a first-class citizen in that environment. I'll make sure I put up some notes for use on that page (the English version), but there are some things we can change about the wiki to make installation work more easily with recent versions of IIS.|
||I was able to get the installer working by having my_location() (defined in the header.php file of setup) make sure there was a trailing '/' character. I had some other problems though, just running a little low on time to track it all down. Hopefully that'll be resolved soon. Sorry for the delay!|
I fixed the issue of broken css and images by appending a / to the base_url with the patch below. I was not able to install as http://example.com/wiki/ but it did work as http://wiki.example.com/ . That would appear to be a separate issue. I did not encounter other problems with the installation (IIS 6.0 on WS2003 SP2).
diff -r 9f9581ed33ac wacko/config/config_defaults.php
--- a/wacko/config/config_defaults.php Mon Aug 27 02:56:04 2012 +0200
+++ b/wacko/config/config_defaults.php Tue Jan 08 11:14:44 2013 -0800
@@ -26,6 +26,7 @@
'site_desc' => 'Cover what you do best. Link to the rest!',
'base_url' => ($_SERVER['SERVER_PORT'] == 443 ? 'https' : 'http').'://'.$_SERVER['SERVER_NAME'].
($_SERVER['SERVER_PORT'] != 80 ? ':'.$_SERVER['SERVER_PORT'] : '').
+ (strstr($_SERVER['SERVER_SOFTWARE'], 'IIS') ? '/' : '') .
'rewrite_mode' => ($found_rewrite_extension ? '1' : '0'),
'tls' => 0,
just for testing -> replace the following line
'/'.trim(strtr(dirname($_SERVER['SCRIPT_NAME']), '\\', '/'), '/') . '/',
I tested install without my patch and with this change.
It works but the paths now have two slashes, e.g.:
added preg_replace to remove the double slashes:
'/'.preg_replace('/\/\//', '\/', trim(strtr(dirname($_SERVER['SCRIPT_NAME']), '\\', '/'), '/')) ,
|2011-10-05 14:54||AndyM84||New Issue|
|2011-10-05 15:33||administrator||Status||new => acknowledged|
|2011-10-05 15:34||administrator||Tag Attached: IIS|
|2011-10-05 22:55||AndyM84||Note Added: 0000819|
|2011-10-07 07:01||administrator||Note Added: 0000820|
|2011-10-07 13:14||AndyM84||Note Added: 0000821|
|2011-10-18 14:08||AndyM84||Note Added: 0000823|
|2011-10-18 14:42||administrator||Relationship added||related to 0000259|
|2013-01-08 19:41||brendan||Note Added: 0000877|
|2013-01-08 19:44||brendan||Note Edited: 0000877|
|2013-01-08 19:49||administrator||Assigned To||=> administrator|
|2013-01-08 19:49||administrator||Target Version||=> 5.4.0|
|2013-01-20 23:41||administrator||Note Added: 0000881|
|2013-01-23 18:22||brendan||Note Added: 0000884|
|2013-02-24 04:37||administrator||Note Added: 0000887|
|2013-02-24 04:38||administrator||Status||acknowledged => resolved|
|2013-02-24 04:38||administrator||Resolution||open => fixed|
|2013-02-24 04:38||administrator||Fixed in Version||=> 5.4.0|
|2013-07-29 02:21||administrator||Status||resolved => feedback|
|2013-07-29 02:21||administrator||Resolution||fixed => reopened|
|2014-03-21 14:57||administrator||Target Version||5.4.0 => 5.5.0|
|2015-02-19 19:26||administrator||Target Version||5.5.0 => 6.1.x|
|2016-01-23 16:13||administrator||Status||feedback => resolved|
|2016-01-23 16:13||administrator||Resolution||reopened => fixed|
|2016-01-23 16:13||administrator||Fixed in Version||5.4.0 => 5.5.0|
|2016-01-23 16:13||administrator||Target Version||6.1.x => 5.5.0|
|2016-09-21 09:18||administrator||Fixed in Version||5.5.0 => 5.5.rc2|
|2017-08-31 09:36||administrator||Fixed in Version||5.5.rc2 => 5.5.0|