[ewiki] auth_liveuser problems and ewiki logging

Hi there,

i'am working on a ewiki installation and i want to use the
auth_liveuser plugin. With this, i was running in several problems.

I installed the plugin and the Live User Package like in the README
described, but if i try to access the LogIn page i get the error:

        An internal error has occurred. Please consult the 
        error logs for additional information

and the Apache ErrorLog says the following:

        [db_error: message="DB Error: mismatch" code=-7
        mode=callback callback=_liveuser _error_handler prefix="" info="SELECT
        sum(delay) as delay_count from `liveuser_plugin_login_log` WHERE time>
        DATE_SUB(NOW(), INTERVAL 1 HOUR)"]

        /usr/share/php/PEAR.php:778 call_user_func('_liveuser_error_
        handler','Object')

        /usr/share/php/DB.php:748 pear_error('DB Error:
        mismatch','-7','16','_liveuser_err or_handler','SELECT sum(delay) as
        delay_count from `liveuser_plugin_login_log` WHERE time> DATE_SUB(NO
        W(), INTERVAL 1 HOUR)') 

        /usr/share/php/PEAR.php:536
        db_error('-7','16','_liveuser_error_handler','SEL ECT sum(delay) as
        delay_count from  `liveuser_plugin_login_log` WHERE time>
        DATE_SUB(NOW(), INTERVAL 1 HOUR)') 

        /usr/share/php/DB/common.php:500 raiseerror('','-7','','','SELECT
        sum(delay) as delay_count f rom `liveuser_plugin_login_log` WHERE time>
        DATE_SUB(NOW(), INTERVAL 1 HOUR)','DB_Error','1') 

        /usr/s hare/php/DB/common.php:990 raiseerror('-7') 

        /usr/share/php/DB/common.php:949 executeemulatequery('0', 'Array')

        /usr/share/php/DB/common.php:1211 execute('0','Array') 

        /usr/share/ewiki/plugins/auth-liveuser/auth_liveuser.php:469
        getone('SELECT sum(delay) as delay_count from
        `liveuser_plugin_login_log` WHERE time> DATE_SUB(NOW(), INTERVAL 1
        HOUR)','Array') 

        /usr/share/ewiki/plugins/auth-liveuser/auth_live user.php:284
        liveweb_query_delay_data('Array')

        /usr/share/ewiki/ewiki.php:604 ewiki_page_liveuser_log
        in('LogIn','','view') 

        /usr/share/ewiki/example-1.php:8 ewiki_page()

The ewiki log says nothing, i configured it the following way:

        define("EWIKI_LOGLEVEL", "2");          # 0=error 1=warn 2=info 3=debug
        define("EWIKI_LOGFILE", "/tmp/ewiki.log");

in config.php which is called from index.php (copied examples/nanotheme.php)
and includes ewiki.php. The file /tmp/ewiki.log exists and is writable,
if the file don't exist, ewiki will not create a new one. It seems
ewiki did not attempt to write into this file.

Is there someone who can give me any hints? I don't really speak PHP and
mysql.

Regards
Steve

Other related posts: