[pmwiki-users] pmwiki.php - function MarkupToHTML

Knut Alboldt pmwiki at alboldt.de
Wed May 30 06:16:56 CDT 2007


Hi Patrick !

after upgrading to beta52 I've got a "strange" message every now and then:

pat=/^(PLAN|IST|ISTLFD|PLANLFD|PLANB|PLANBLFD|ISTB|ISTBLFD|OFFEN):\s*(.*)$/e 


I looked into pmwiki.php and changed the statement no 1463

from
      if (isset($php_errormsg)) { echo "pat=$p"; unset($php_errormsg); }

to
      if (isset($php_errormsg)) { echo "ERROR: pat=$p $php_errormsg"; 
unset($php_errormsg); }

The message now is:

ERROR: 
pat=/^(PLAN|IST|ISTLFD|PLANLFD|PLANB|PLANBLFD|ISTB|ISTBLFD|OFFEN):\s*(.*)$/e 
Undefined variable: IST

which makes it easier to find the problem.

Is it possible to put this into your code ?

Knut



More information about the pmwiki-users mailing list