<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
>From the <a href="http://www.pmwiki.org/wiki/PmWiki/Upgrades">"upgrade"
page</a> on the pmwiki.org site, I found the following:<br>
<br>
<i>How can I test a new version of PmWiki on my wiki without changing
the prior version used by visitors?</i>
<p><i> The easy way to do this is to install the new version in a
separate
directory, and for the new version set (in local/config.php):
</i></p>
<pre class="escaped"><i> $WikiLibDirs = array(&$WikiDir,
new PageStore('/path/to/existing/wiki.d/{$FullName}'),
new PageStore('wikilib.d/{$FullName}'));</i></pre>
<p><i>This lets you test the new version using existing page content
without impacting the existing site or risking modification of
the pages. (Of course, any recipes or local customizations have to
be installed in the new version as well.) </i></p>
<p class="vspace"><i>Then, once you're comfortable that the new version
seems to work
as well as the old, it's safe to upgrade the old version (and one
knows of any configuration or page changes that need to be made).</i>
</p>
<br>
I'm try to install a "test site" so I can muck around with the
configuration files and such without trashing the main site. So, I
installed PmWiki in a new directory called "<b>test</b>"; the main wiki
is on the root directory. It the test site works fine, but it doesn't
see the pages from the main site. I tried to make this work by
putting this in the config file in the config.php file in the
test\local directory:<br>
<br>
$BaseUrl = '<a class="moz-txt-link-freetext"
href="http://websitename.org">http://websitename.org</a>';<br>
$WikiLibDirs = array(&$WikiDir,<br>
new PageStore('$BaseUrl/wiki.d/{$FullName}'),<br>
new PageStore('wikilib.d/{$FullName}'));<br>
<br>
However, this does not seem to work. What am I doing wrong? (I
haven't set up a wiki farm yet, don't know if that's required).<br>
<br>
I am totally ignorant of PHP, by the way.<br>
<pre class="moz-signature" cols="72">--
Philip Yates
515 High St.
Oregon City, OR 97045
(503) 570-8000 cell
(503) 656-1127 home
</pre>
<br>
<pre class="moz-signature" cols="72">--
Philip Yates
515 High St.
Oregon City, OR 97045
(503) 570-8000 cell
(503) 656-1127 home
</pre>
</body>
</html>