[support] Drupal 5-13 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 102.

Marijn Kruisselbrink m.kruisselbrink at student.tue.nl
Thu Dec 11 11:58:08 UTC 2008


It seems the latest drupal 6.7/5.13 releases (probably unintentionally) 
introduced a dependency on php5, by calling a function with an extra 
parameter that did not exist in earlier versions of php.

Marijn

On Thursday 11 December 2008 12:40:06 Genevieve Romier wrote:
> Hello all,
>
> I've just installed the last 5.13 Drupal core version on my test
> platform and I get a similar message at each connexion for each user I
> can login for.
>
> It is probably similar as the Gavin Henry described in his email
>
> The message is "warning: Wrong parameter count for
> session_set_cookie_params() in /..../drupal/includes/session.inc on line
> 102."
>
> That seems to be the only bad thing I get.
>
> I currently wonder if it is careful to deploy it on my production site
> without understanding this issue. I used the UPGRADE.txt document to
> upgrade my site.
>
> I would be interested to know if other people got the same problem.
>
> Thanks for your help,
>
> Geneviève Romier
> www.projet-plume.org
>
> Gavin Henry wrote:
> > Hi All,
> >
> > We've just installed Drupal 6.7 for our new site with php 4.4 and
> > MySQL 5 and sessions don't work.
> >
> > We were on postgres 7.4 and sessions worked, switching to MySQL (can't
> > go back) and sessions broke.
> >
> > What info can we provide?
> >
> > mysql -v
> > mysql  Ver 14.12 Distrib 5.0.70, for pc-linux-gnu (i686) using readline
> > 5.2
> >
> >  php -v
> > PHP 4.4.8-pl0-gentoo with Suhosin-Patch 0.9.6 (cli) (built: Aug  9
> > 2008 09:12:56)
> > Copyright (c) 1997-2008 The PHP Group
> > Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
> >     with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend
> > Technologies with Suhosin v0.9.18, Copyright (c) 2002-2006, by
> > Hardened-PHP Project
> >
> > Thanks.




More information about the support mailing list