[pmwiki-users] PIT conflicts with Guestbook (was: PITS does not add a new issue number)

David Sovinski aslan at aslandata.com
Thu Jul 14 16:00:16 CDT 2005


pm
Thank you for looking at this for me/us.

I have issued
(:$Guestbook:)
within the wiki page.
And that is what is displayed the "(:Guestbook:)" command instead of 
presenting the form.
If I comment out PITS then Guestbook works fine

Dave

Patrick R. Michaud wrote:

>On Wed, Jul 13, 2005 at 11:23:37PM -0500, David Sovinski wrote:
>  
>
>>I'm still hoping to get some help to figure out why they conflict.
>>...
>>"Config One"
>>include_once('cookbook/PITS.php');
>>include_once('cookbook/guestbook.php');
>>PITS will not get a new issue number
>>    
>>
>
>The guestbook.php recipe takes some serious liberties with setting
>the value of $pagename -- in particular, it undoes any setting of
>$pagename that might've been done by a previous recipe or config.php
>setting.  So, guestbook.php needs to be rewritten to not do this;
>in the meantime it means it must be loaded before anything else.
>
>  
>
>>"Config Two"
>>include_once('cookbook/guestbook.php');
>>include_once('cookbook/PITS.php');
>>guestbook does not work but PITS does
>>    
>>
>
>How does the guestbook "not work" -- i.e., what is failing
>about the guestbook?
>
>Pm
>
>
>  
>





More information about the pmwiki-users mailing list