[Kolab-devel] debug("checkuniquemail...) in user.php fails with php-5.2

Richard Bos ml at radoeka.nl
Sun Dec 17 22:44:35 CET 2006


Hi,

I just installed kolab natively on openSUSE-10.2, that comes with php-5.2
When I create the 1st user it does not work; I get the 'create new 
user' webpage, I can populate the key fields and press 'accept'.  Than the 
page hangs.... and no new user is created.

The apache error_log states:
[Sun Dec 17 22:02:21 2006] [error] [client 127.0.0.2] PHP Catchable fatal 
error:  Object of class KolabForm could not be converted to string 
in /srv/www/htdocs/kolab/admin/user/user.php on line 55, referer: 
https://<fqdn>/kolab/admin/user/user.php?action=create

I commented out the debug line, and now it works....:
54 function checkuniquemail( $form, $key, $value ) {
55   // debug("checkuniquemail( $form, $key, $value )");

Why does debug("checkuniquemail ...) not work with php-5.2, does anyone know?

-- 
Richard Bos
Without a home the journey is endless




More information about the devel mailing list