I've upgrade to php-4.2.2 from 4.0.4pl1 and now I get the following error when trying to logout.
Warning: setcookie() expects parameter 3 to be long, string given in /var/www/html/cacti/logout.php on line 26
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/cacti/logout.php:26) in /var/www/html/cacti/logout.php on line 27
This worked great prior to the upgrade.
Any thought???
Thanks,
Sean
logout.php broke after php upgrade
Moderators: Developers, Moderators
solution: logout.php broke after php upgrade
I had the same problem. It was solved when I changed line 26 of logout.php from
to
Hope this helps!
Code: Select all
setcookie(session_name(),"","","/");
Code: Select all
setcookie(session_name(),"",0,"/");
Who is online
Users browsing this forum: No registered users and 4 guests