[pmwiki-users] Transferring Wiki to another server

Patrick R. Michaud pmichaud at pobox.com
Mon Nov 7 11:32:29 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

and earlier:
> >>Fatal error: preg_replace() [function.preg-replace]: Failed evaluating
> >>code: ' '.str_repeat('<br />',strlen('\')) in
> >>/var/www/htdocs/pmwiki/pmwiki.php on line 821

The backslash in the error message looks mighty suspicious -- 
there should be something other than a quote after the backslash.
Can you try transferring the pmwiki.php and scripts/stdmarkup.php
files again?  Make sure they're correct copies.

Pm

> Jonathan Scott Duff wrote:
> >On Mon, Nov 07, 2005 at 12:08:33PM -0500, Bob Hazeldine wrote:
> >
> >>I'm attempting to transfer a wiki from one webserver to another.  From 
> >>my understanding of pmwiki, I should just be able to transfer the entire 
> >>directory, change the relevant references in config,php, and it should 
> >>work.  If that's wrong let me know.
> >>
> >>The problem is, this doesn't work.  When accessing pmwiki.php on the new 
> >>server, I get the following error:
> >>
> >>Parse error: parse error, unexpected $ in 
> >>/var/www/htdocs/pmwiki/pmwiki.php(821) : regexp code on line 1
> >>
> >>Fatal error: preg_replace() [function.preg-replace]: Failed evaluating 
> >>code: ' '.str_repeat('<br />',strlen('\')) in 
> >>/var/www/htdocs/pmwiki/pmwiki.php on line 821
> >>
> >>Any ideas?
> >
> >
> >Check the version of php on the new server.  What version of pmwiki
> >are you using?
> >
> >-Scott
> 
> -- 
> -Bob Hazeldine
> -Lakewood Public Library
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> 




More information about the pmwiki-users mailing list