[pmwiki-users] Fix blogit for use with PHP 5.5
pmwiki-tigerp at tigerp.net
Thu Oct 23 14:24:29 CDT 2014
A few months ago I created a test website with pmwiki and blogit .
Now my system has been upgraded to PHP 5.5 and blogit is no longer
I followed the steps from the site  for changing the code for PHP
5.5, but I still have a problem with 1 line of code.
The original code line is (line 239):
Markup('blogit', 'fulltext', '/\(:blogit (list|cleantext)\s?(.*?):\)(.*?)\(:blogitend:\)/esi',
I replaced it with the following:
Markup_e('blogit', 'fulltext', '/\(:blogit (list|cleantext)\s?(.*?):\)(.*?)\(:blogitend:\)/si',
But this results in the following message in apache's error.log:
PHP Parse error: syntax error, unexpected '$m' (T_VARIABLE) in
/home/tigerp/www/pmwiki-2.2.62/pmwiki.php(458) : runtime-created
function on line 1
How can I fix this issue?
All the other changes I made seem to be working.
A random quote:
Never take life seriously, nobody gets out alive, anyway.
More information about the pmwiki-users