pass-by-reference Error (old server)
| From: | Michelle Konzack | Date: | Tue, 12 Jul 2016 14:05:55 +0000 |
| Subject: | pass-by-reference Error (old server) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-325642@lists.php.net to get a copy of this message | ||
Hello *,
I have updated an old Debian/Squeezy server and now I get an PHP error
message and my website does not more work:
PHP Fatal error: Call-time pass-by-reference has been removed in
/srv/..../includes/00_main.inc on line 252
The offending lines are:
249: if ( $_POST['admin'] == 'admin' ) {
250:
251: function do_auth() {
252: if (pam_auth($_POST['user'], $_POST['pass'], &$PAM_ERR)) {
253: $TIME=time() + 900;
OK, it is the part with "&$PAM_ERR" and I do not know, how to solv this.
Any suggestions?
Thanks in avance
--
Michelle Konzack ITSystems
GNU/Linux Developer 0033-6-61925193