[pmwiki-users] basepage and PTVs not working.

Patrick R. Michaud pmichaud at pobox.com
Tue Nov 6 17:50:10 CST 2007


On Tue, Nov 06, 2007 at 06:41:14PM -0500, Stirling Westrup wrote:
> I have a problem with using PTVs relative to a basepage, on a site I'm working
> on. I can't point to the site under development, but I managed to reproduce it
> on a different site hosted by the same farm. All attempts to duplicate the
> problem on PmWiki have failed, and I can't figure out what's different.

>   <?php if (!defined('PmWiki')) exit();
>   ini_set('display_errors', 1);
>   $EnableDiag=1;
>   $EnablePathInfo = 1;
>   $PubDirUrl = "http://sti.pooq.com/patterns/pub";
>   $FarmPubDirUrl = "http://sti.pooq.com/wikipub";
>   $ScriptUrl = "http://sti.pooq.com/patterns";
>   $DefaultPasswords['admin'] = crypt('quick');
> 
> Does anyone have any ideas what could be going wrong? My farmconfig.php file
> is completely empty, so its nothing that I'm doing there.

You may need to set $EnableRelativePageVars=1; .  This is not yet the
default, although it's likely to become the default before 2.2.0
is released.

Pm



More information about the pmwiki-users mailing list