FIXED! -- -- Re: [pmwiki-users] Custom Cookie Name does not prevent re-entering Author name at each EDIT?
Xax
xax at mclink.it
Thu Oct 20 14:19:48 CDT 2005
Patrick R. Michaud said the following on 20/10/2005 20.57:
> Aha. Based on the config.php you sent me, the problem appears to
> be the commentsmailed.php recipe, which is apparently destroying
> the value of the $Author variable in PmWiki. Commentsmailed.php
> is it's *always* setting the value of $Author from the most recent
> request, even when it should be coming from a cookie, or even when
> there is no previous request (in which case it's setting it to empty).
>
> What's more, since commentsmailed.php is setting the value of $Author,
> the normal author.php code doesn't set a cookie, since another module
> has apparently taken over the handling of the $Author variable.
>
> Try commenting out the line in commentsmailed.php (line 143?) that
> reads
>
> SDV($Author, $_REQUEST['author']); // should I?
>
> and see if that solves the Author problem.
>
> Pm
>
YES!
It DID work!
Many thankissimo!
It would be wise to update the related documentation AND the cookbook
scripts.
Thanks again.
Happy Hyperguru.
More information about the pmwiki-users
mailing list