[pmwiki-users] [listes] Problem with preg_replace / php / Yosemite

Velosteph velosteph at ferrosteph.net
Mon Nov 10 02:09:36 CST 2014


Hi
I'am just faced on the same problem. 
In my case it was and old cookbook SortByScore which is not okay with the
new PHP
By the way, it seems that there are many cookbook not compatible with the
new php, and you need to check each one by one :(
Regards
Stephane
 

A vélo vous y seriez déjà
-----Original Message-----
From: pmwiki-users [mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of
Michael Benjamin
Sent: dimanche 9 novembre 2014 4:58
To: PmWiki Users
Subject: [listes] [pmwiki-users] Problem with preg_replace / php / Yosemite


Hi -

I recently upgrade my machine/server to OS X Yosemite, and I'm having 
problems with my PMWiki site:

PMWiki verion:
   pmwiki-2.2.69
PhP version:
   5.5.14

My page comes up with many many lines of:

Deprecated: preg_replace(): The /e modifier is deprecated, use 
preg_replace_callback instead in
/Library/WebServer/Documents/mysite/pmwiki/pmwiki.php on 
line 1665

On Line 1665 of pmwiki.php there is:
   else $x=preg_replace($p,$r,$x);

This seems to be the culprit, but the PMWiki troubleshooting page
   http://www.pmwiki.org/wiki/PmWiki/Troubleshooting

seems to acknowledge this problem and state that it is fixed after
pmwiki-2.2.55

I must be missing something. Can someone help point it out to me?

Many thanks!

Mike


_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list