00644: Parse Error, Fatal Error after fresh install
Description: After a fresh install and creating the wiki.d directory. The main page looks all disorganized and out of format. When I try to edit the page, I get the following error:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/htdocs/pmwiki/pmwiki.php(1009) : regexp code on line 3
Fatal error: preg_replace() [function.preg-replace]: Failed evaluating code: CondText(
$pagename,PSS('if e_preview'),PSS(' !!Preview Main.HomePage Page is unsaved (:e_preview:) ---- End of preview -- remember to save\\ Top ')) in /var/www/htdocs/pmwiki/pmwiki.php on line 1009
Any idea as to what's wrong? This seems to happen with any version of pmwiki on this box. I re-installed PHP but that didn't help.
If the page isn't displaying correctly, this is nearly always an indication that PmWiki isn't getting a correct setting for
$PubDirUrl. But the other errors are fairly serious; they seem to point to the source code files themselves not being installed properly. Either that or there's something wrong with the PHP system itself.
You might try installing a later version. If that doesn't work, contact me via email (pmichaud [snail] pobox [period] com) or send a message to the pmwiki-users mailing list.