[Pmwiki-users] [=text=][=text=] => error
Patrick R. Michaud
pmichaud
Tue May 4 22:51:08 CDT 2004
On Tue, May 04, 2004 at 08:05:16PM +0100, J. Meijer wrote:
> Writing [=text=][=text=] results in the following error (PmWiki
> 0.6.15, W2K, IIS, PHP4.3.5):
There must be something else going on, as I cannot duplicate this
error on pmichaud.com.
> Parse error: parse error, unexpected T_STRING, expecting ']' in
> c:\inetpub\wwwroot\pmwiki\pmwiki0615.php(881) : regexp code on line 1
> Fatal error: Failed evaluating code: $KPV[16??17] in
> c:\inetpub\wwwroot\pmwiki\pmwiki0615.php on line 881
Based on the code evaluation of $KPV reported in this error, I'm guessing
that somehow preg_replace thinks that the $KeepToken character is a digit.
Are you setting any internationalizations or otherwise changing the
locale being used?
At any rate, try setting $KeepToken="\263\263\263"; in config.php and
see if that fixes the problem.
Pm
More information about the pmwiki-users
mailing list