[pmwiki-users] New recipe: Fox
Hans
design5 at softflow.co.uk
Tue Dec 19 12:41:04 CST 2006
Tuesday, December 19, 2006, 6:24:18 PM, marc wrote:
> So, the question is - probably for Pm - in what circumstances can
> UpdatePage receive identical input, yet produce different results?
I take it that your problem with page save is only with fox.php, and
you can save pages fine from the normal edit window.
I don't know if calling the Lock function does make a difference,
i.e. HandelEdit calls Lock before calling UpdatePage, in fox.php Lock
is not called. When Pm wrote about how to use UpdatePage he did not
mention Lock. But it may be an idea to try and add Lock(2); at the
beginning of FixHandlePost, and Lock(0); at the end of the function
before Redirect, and see what happens? Just guessing, as I have no
clue.
Please note that in the latest fox.php I removed function
FoxUpdatePage, and integrated the call to UpdatePage in both
FoxHandlePost and FoxHandleDelete (and in FoxHandleInit, which is for
resetting the foxcount variable).
Hans
More information about the pmwiki-users
mailing list