[pmwiki-users] Transferring Wiki to another server

Jonathan Scott Duff duff at pobox.com
Mon Nov 7 11:34:44 CST 2005

On Mon, Nov 07, 2005 at 12:20:09PM -0500, Bob Hazeldine wrote:
> PHP on new server is 5.0.4
> Pmwiki is 1.0.13

Looking at the code, I'd guess that your previous webserver had a more
forgiving version of PHP installed as that line looks like it might
need addslashes wrapped around part of it. I'm not sure, but here's a
guess at what might work:

$text = preg_replace("/(\\\\*)\\\\\n/e",
    "' '.str_repeat('<br />',strlen('".addslashes($1)."'))",$text);

However, pmwiki 1.0.13 is kind of old and part of a development line
that has dead-ended to be replaced by pmwiki2. You might want to
consider upgrading to pmwiki-2.0.12. See
http://www.pmwiki.org/wiki/PmWiki/UpgradingFromPmWiki1 if you decide to
go this route.

Jonathan Scott Duff
duff at pobox.com

More information about the pmwiki-users mailing list