[Phplib-trackers] [ phplib-Bugs-480851 ] Warnings in sessions.inc
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2002-01-10 10:52:29
|
Bugs item #480851, was opened at 2001-11-12 02:02 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=480851&group_id=31885 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Warnings in sessions.inc Initial Comment: Hi, I get following warnings on using "sessions.inc": Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in session.inc on line 262 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in session.inc on line 273 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in session.inc on line 304 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in session.inc on line 305 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in session.inc on line 311 Warning: Cannot add header information - headers already sent by (output started at session.inc:262) in session.inc on line 392 Warning: Cannot add header information - headers already sent by (output started at session.inc:262) in session.inc on line 117 Warning: Cannot add header information - headers already sent by (output started at session.inc:262) in session.inc on line 404 By the way, I have switched "allow_call_time_pass_reference" to true, but it doesn't matter. Can someone help me? ---------------------------------------------------------------------- Comment By: Gaetano Giunta (ggiunta) Date: 2002-01-10 02:52 Message: Logged In: YES user_id=114789 It depends on php.ini settings: in version 4.1 the default value for allow_call_time_pass_reference has been set to Off. If you have this, and error_reporting = ALL, you will get some warnings (the warnings come before PHPLIB sends the headers for caching, thus generating the rest of the warnings). The problem lies in calls to seesion- >serialize() in session.inc wrongly using &$string instead of $string. Short-term Solution: set allow_call_time_pass_reference to On Long-term Solution: fix damn calls to session->serialize() in session.inc (PLEEZ, SOMEONE WITH A CVS ACCOUNT DO THIS BEFORE 7.4 FINAL IS OUT)!!! ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-12-09 21:10 Message: Logged In: NO I am running into the same problem. Has anyone come up with a solution to this? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=480851&group_id=31885 |