warning: setcookie() expects at most 6 parameters, 7 given in \modules\persistent_login\persistent_login.module on line 405 is showing directly after login.

Double dutch to me but perhaps this means something to you? Previousy error was setcookie lifetime at 200000 in setting.php which was subsequently changes to 0.

Comments

markus_petrux’s picture

Status: Active » Postponed (maintainer needs more info)

Ugh, it seems I introduced something new to PHP 5.2.0 by mistake. Please, edit the file persistent_login.module and replace the function _persistent_login_setcookie with this one:

function _persistent_login_setcookie($name, $value, $expire = 0) {
  $params = session_get_cookie_params();
  setcookie($name, $value, $expire, $params['path'], $params['domain'], $params['secure']);
}

This is fixed now in CVS. Anything else? I believe I don't get what you mean by "Previousy error was setcookie lifetime at 200000 in setting.php which was subsequently changes to 0". :-/ ...hmm... if you're installing the module, then please be sure to follow installation instructions. You should set your cookie lifetime to 0.

markus_petrux’s picture

Status: Postponed (maintainer needs more info) » Fixed

Let me assume this is fixed. Please, open a separate issue if you have any support request or bug report. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.