Warning: setcookie() expects parameter 3 to be long, string given in /web/pwebtech/docs/project/functions.php on line 2607
how do i fix this error?
I had the same problem. I fixed it by setting parameter 3 to 0.
setcookie("uid", $user[id], "0", "", "", $SSL);
instead of: setcookie("uid", $user[id], "", "", "", $SSL);
The latest version in cvs has corrected this issue.
Log in to post a comment.
Warning: setcookie() expects parameter 3 to be long, string given in /web/pwebtech/docs/project/functions.php on line 2607
how do i fix this error?
I had the same problem. I fixed it by setting parameter 3 to 0.
setcookie("uid", $user[id], "0", "", "", $SSL);
instead of:
setcookie("uid", $user[id], "", "", "", $SSL);
The latest version in cvs has corrected this issue.