[pmwiki-users] Mysterious vanishing page variables...

The Editor editor at fast.st
Tue Sep 12 21:14:33 CDT 2006


Well, I have FAST Data 2.0 just about ready for release--even have the
documentation already written up.  Am just struggling with this one
question I posted earlier.  If I can get this problem resolved I
should be able to finish the edit log function which allows comments
to be updated, removed, or trimmed (by timestamp).  All the other
features seem to be working.

Any suggestions to why this is not working, or a workaround, would be
appreciated.  I'm going to hit the hay and hope an answer presents
itself in the morning!  :)

Cheers,
Caveman


On 9/12/06, The Editor <editor at fast.st> wrote:
> Here's a bit more info on this perplexing problem.  When I use the
> following code, I get both "hi" and the return value I want.
>
>         case "log" :
>                 $FmtPV['$log'] = "hi";
>                 return GetLog($d,$_GET[id]);
>                 break;
>
> When I change it to
>
>         case "log" :
>                 $FmtPV['$log'] = GetLog($d,$_GET[id]);
>                 break;
>
> I get  a blank value for {$log}.  No other changes.  Really bizarre.
> I even stripped out all the markup code in the text returned by
> GetLog, that I thought might be the problem.  No difference.  Very
> frustrated, as my log edit, remove, and trim functions all depend on
> being able to retrieve the specific log entry.
>
> Help?  Otherwise it's working very coooool.
>
> Cheers,
> Caveman




More information about the pmwiki-users mailing list