[pmwiki-users] setcookie() expects parameter 2 to be string
Patrick R. Michaud
pmichaud at pobox.com
Fri Feb 24 08:08:38 CST 2006
On Fri, Feb 24, 2006 at 09:23:46AM +0100, OBUTEX / Hladůvka wrote:
> When opening Read protected Site/Homepage before the user is loged in
> the page Site/Homepage is corrupted with following warnings.
>
> *This is line 209 of local config.php:
> ## If there's no Author yet, use the verified identity.
> if (@$_SESSION['authid'] && !$_COOKIE['author']) {
> $Author = $_SESSION['authid'];
> setcookie('author',$Author,0,'/');
> }
>
> How to fix it ?
Remove or comment out the lines in local/config.php --
using the authenticated identity as author name is the default
behavior for beta26.
(At least it's supposed to be that way -- Bronwyn has reported
that it's not working and I'm still trying to figure out
why this might be the case.)
Pm
More information about the pmwiki-users
mailing list