[pmwiki-users] Transferring Wiki to another server
Bob Hazeldine
bhazeldine at lkwdpl.org
Mon Nov 7 11:40:36 CST 2005
I transferred it again, just to be safe.
I tarred the entire directory, moved it to a fileserver, then moved it
to the new server and untarred it.
Same thing happened.
Patrick R. Michaud wrote:
> 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
>>
>
>
--
-Bob Hazeldine
-Lakewood Public Library
More information about the pmwiki-users
mailing list