pass-by-reference Error (old server)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux