From: Jason M. <ja...@st...> - 2002-08-01 17:23:24
|
Magnus Stenman said: > CVS ver ( Thu Aug 1 16:38:59 UTC 2002 [+0000] ) > php-4.0.6 (RedHat 7.2 +errata) > > Only config difference to my working stable version > is register_globals=off > > > I get a bunch of these just after login: > > 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 > /home/httpd/webmail-beta/squirrelmail/functions/imap_messages.php on line 124 > > same message for > line 158 > line 190 > line 436 > line 568 > > > /magnus hmm... Im guessing these are coming from global.php because of lines like this: $_SESSION =& $HTTP_SESSION_VARS; As far as I can tell we either remove the reference (not sure what negative effects that might have) or change you php.ini setting for call-time pass-by-reference to On. Would you take the & off those lines and see what happens? I don't have a PHP version < 4.1 handy. Any other ideas anyone? \___ Jason Munro \___ AIM:jmunr0 \__ ja...@st... \__ http://www.sunflower.com/~jmunro/ |