[pmwiki-users] Warning: Compilation failed

Olga Lositsky olgita3 at gmail.com
Mon Oct 18 16:10:24 CDT 2010


It turned out that the problem lay with our server's version of PHP - the
server was using 4.2, whereas the current whitespace markup rule seems to
require 4.3 at least.

A PmWiki user recommended reverting to an older version of the whitespace
markup rule:

## Test reverting to 2.1.27 version of ws markup rules
Markup('^ws', '<^img', '/^(\\s+)/e', "WSIndent('$1')");
Markup('^ ','block','/^(\\s)/','<:pre,1>$1');

Inserting the above code into the local/config.php file solved the problem!
:)



On Wed, Oct 13, 2010 at 6:21 PM, Petko Yotov <5ko at 5ko.fr> wrote:

> On Wednesday 13 October 2010 17:07:30, Olga Lositsky wrote :
> > *Warning*: Compilation failed: unmatched parentheses at offset 8 in *
> > /var/www/public_html/pmwiki/pmwiki.php* on line *1543*
>
> Hello. This message is caused by a markup definition that doesn't work like
> it
> should. Can you test different wiki markups (like ''' for bold text,
> (:thumblist:) for some directive) and isolate those that seem to trigger
> the
> message? The problem could come from a cookbook recipe.
>
>
> > *Warning*: Cannot add header information - headers already sent by
> (output
> > started at /var/www/public_html/pmwiki/pmwiki.php:1543) in *
> > /var/www/public_html/pmwiki/pmwiki.php* on line *1120
>
> This warning is most likely caused by the previous message - it should
> disappear if the markup problem is fixed.
>
> Petko
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20101018/e8afdbab/attachment.html>


More information about the pmwiki-users mailing list