Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
PHP IIS trouble
Avatar
pcrequest #1
Member since Jul 2006 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: PHP IIS trouble
I'm having a lot of trouble getting dokuwiki to work on a new machine.  I was able to deploy on Win2k Pro IIS with PHP 4x this Spring w/o much trouble (took me half a day to feel my way out).  Recently there was a need to move my wiki to an XP Pro machine and I've spent days to no avail.

I've got a clean XP install (with IIS 5.1).  The php.net manual has plenty (too much maybe) documentation on setting this up.  I'm trying the PHP 5.2 manual isntall.  Browsing some test php pages in my browser results in the source being displayed rather than ran.  Like:

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>

But my wiki site mostly works.  I can view all page.  If I click Edit for a page, the edit icons don't show up.  When I Save the page I get a bunch of error output:


Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 14466 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17093 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17499 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 19385 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 18049 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17367 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17418 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17227 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 16608 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17315 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17664 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 18144 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17068 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 16869 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 16815 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 17281 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 13400 in C:\Inetpub\wiki\itwiki\inc\common.php on line 391

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wiki\itwiki\inc\common.php:391) in C:\Inetpub\wiki\itwiki\inc\actions.php on line 223

The changes take effect if I visit the page.  I'm not sure how to check version, but I was using the previous stable release (Release 2006-03-09?)  Thanks in advance.
Avatar
ChrisS #2
Member since Sep 2006 · 91 posts
Group memberships: Members, Wiki Managers
Show profile · Link to this post
Its a known problem and solved in the latest release.  Please upgrade to DW 2006-11-06.

Its caused by a change to the pcre library that will have occurred when you updated your PHP ... for details refer to http://bugs.splitbrain.org/?do=details&id=938.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-02-26, 14:41:30 (UTC +01:00)