Thread: [Phplib-trackers] [ phplib-Bugs-480851 ] Warnings in sessions.inc
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2001-11-12 10:02:58
|
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? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=480851&group_id=31885 |
|
From: <no...@so...> - 2001-12-10 05:10:04
|
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: 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 |
|
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 |
|
From: <no...@so...> - 2002-01-10 12:44:18
|
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 04:44 Message: Logged In: YES user_id=114789 NB: the previous comment stated that the error lies in file session.inc, while it actually is in user.inc: not the function definition (it is correct in 7.2d and later), but the function usage For a fix look at the patch I submitted (a new version of file user.inc) ---------------------------------------------------------------------- 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 |
|
From: <no...@so...> - 2002-02-26 03:52:22
|
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: Bogdan Stancescu (b_stancescu) Date: 2002-02-25 19:52 Message: Logged In: YES user_id=341406 I don't know if this is late - or if my solution is appropriate - but since the bug is still open... I included phplib in another GPL project and have to make sure it works properly for both PHP3 and PHP4 - especially 4.1.x. Since I noticed that the $str which causes all the trouble is only used in the session class, I created a class-wide "var $daString" and pass that - no references - instead of &$str. Seems to be working fine but I must say that I don't know if this is really a valid solution because I believe I use a rather old version of phplib, and it's quite crippled because I didn't need all the functionality included in the regular release. Hope this helps. ---------------------------------------------------------------------- Comment By: Gaetano Giunta (ggiunta) Date: 2002-01-10 04:44 Message: Logged In: YES user_id=114789 NB: the previous comment stated that the error lies in file session.inc, while it actually is in user.inc: not the function definition (it is correct in 7.2d and later), but the function usage For a fix look at the patch I submitted (a new version of file user.inc) ---------------------------------------------------------------------- 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 |
|
From: <no...@so...> - 2002-02-26 06:26:52
|
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: Closed >Resolution: Fixed >Priority: 1 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: Richard Archer (richardarcher) Date: 2002-02-25 22:26 Message: Logged In: YES user_id=279311 fixed. ---------------------------------------------------------------------- Comment By: Bogdan Stancescu (b_stancescu) Date: 2002-02-25 19:52 Message: Logged In: YES user_id=341406 I don't know if this is late - or if my solution is appropriate - but since the bug is still open... I included phplib in another GPL project and have to make sure it works properly for both PHP3 and PHP4 - especially 4.1.x. Since I noticed that the $str which causes all the trouble is only used in the session class, I created a class-wide "var $daString" and pass that - no references - instead of &$str. Seems to be working fine but I must say that I don't know if this is really a valid solution because I believe I use a rather old version of phplib, and it's quite crippled because I didn't need all the functionality included in the regular release. Hope this helps. ---------------------------------------------------------------------- Comment By: Gaetano Giunta (ggiunta) Date: 2002-01-10 04:44 Message: Logged In: YES user_id=114789 NB: the previous comment stated that the error lies in file session.inc, while it actually is in user.inc: not the function definition (it is correct in 7.2d and later), but the function usage For a fix look at the patch I submitted (a new version of file user.inc) ---------------------------------------------------------------------- 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 |
|
From: <no...@so...> - 2002-02-26 06:27:30
|
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: Closed Resolution: Fixed Priority: 1 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Richard Archer (richardarcher) 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: Richard Archer (richardarcher) Date: 2002-02-25 22:27 Message: Logged In: YES user_id=279311 fixed. ---------------------------------------------------------------------- Comment By: Richard Archer (richardarcher) Date: 2002-02-25 22:26 Message: Logged In: YES user_id=279311 fixed. ---------------------------------------------------------------------- Comment By: Bogdan Stancescu (b_stancescu) Date: 2002-02-25 19:52 Message: Logged In: YES user_id=341406 I don't know if this is late - or if my solution is appropriate - but since the bug is still open... I included phplib in another GPL project and have to make sure it works properly for both PHP3 and PHP4 - especially 4.1.x. Since I noticed that the $str which causes all the trouble is only used in the session class, I created a class-wide "var $daString" and pass that - no references - instead of &$str. Seems to be working fine but I must say that I don't know if this is really a valid solution because I believe I use a rather old version of phplib, and it's quite crippled because I didn't need all the functionality included in the regular release. Hope this helps. ---------------------------------------------------------------------- Comment By: Gaetano Giunta (ggiunta) Date: 2002-01-10 04:44 Message: Logged In: YES user_id=114789 NB: the previous comment stated that the error lies in file session.inc, while it actually is in user.inc: not the function definition (it is correct in 7.2d and later), but the function usage For a fix look at the patch I submitted (a new version of file user.inc) ---------------------------------------------------------------------- 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 |