ispCP - Board - Support
php5-idn (Debian lenny) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Tickets / Roadmap / Timeline (/forum-50.html)
+--- Thread: php5-idn (Debian lenny) (/thread-8473.html)



php5-idn (Debian lenny) - Jillian - 11-17-2009 07:10 PM

After I installed php5-idn package to system, I got this error:
Fatal error: Only variables can be passed by reference in /var/www/ispcp/gui/include/ispcp-functions.php on line 329

Code:
Code:
function encode_idna($input) {
        if (function_exists('idn_to_ascii')) {
              return idn_to_ascii($input, 'utf-8');
        }

        $IDN = new idna_convert();
        $output = $IDN->encode($input);
        return $output;
}



RE: php5-idn (Debian lenny) - Nuxwin - 11-18-2009 04:39 AM

Hello ;

What ispCP version you used ?

I've installed the lastest revision and the php5-idn package under Debian Lenny. I've added a new user account, new belong to subdomain and i can't reproduce the bug. Sorry


RE: php5-idn (Debian lenny) - Jillian - 11-23-2009 01:45 PM

ispCP version is 1.0.2