Hi Guys,
I've had to restore a wordpress site that was running on IIS6, windows 2003 x64 and using http://www.isapirewrite.com on to a IIS7 windows 2008 r2 with microsofts urlrewrite http://www.iis.net/download/urlrewrite
However with permalinks off, the pages work - Great but not great, there are tonnes of direct links and search engines looking for a the permalinks.
When I turn the permalinks on, using /%postname%/ only I get the following error, this error only shows on the permalinks page in /wp-admin/
Warning: domdocument() expects at least 1 parameter, 0 given in C:\Inetpub\vhosts\domain.com\httpdocs\wp-admin\includes\misc.php on line 483
Fatal error: Call to undefined method: domdocument->load() in C:\Inetpub\vhosts\domain.com\httpdocs\wp-admin\includes\misc.php on line 486
I do have the file in the root of the wordpress folder called web.config with the text in it that it told me too, and even after reverting it and setting the permissions so it could create this file itself I get the same issues.
I'm using wordpress 3.0.1 / PHP 4.4.9 and I can't update it easily, long story, please don't say this is the only answer :( and under real time constraints to get this working.
I can't find anything specific about the issue, loads about IIS7 and urlrewrite that all say the same thing. I've restored and tried this a number of times and always get shoved back at this same brick wall.
Begging for help :)
Cheers
Ian