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

Genevieve Romier genevieve.romier at urec.cnrs.fr
Thu Dec 11 12:04:48 UTC 2008


Hi,

Thanks a lot!
I use php 5.1.2. It is not the last version. That could be the reason.

Geneviève Romier

Marijn Kruisselbrink wrote:
> 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.
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4063 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.drupal.org/pipermail/support/attachments/20081211/7f11149b/attachment.bin 


More information about the support mailing list