Hi all!
I setup this $rcmail_config['plugins'] = array('virtuser_query');
I retrieve this error:
[Tue Oct 12 18:07:57 2010] [error] [client *.*.*.*] PHP Fatal error: Cannot redeclare class virtuser_query in /var/www/webmail/plugins/virtuser_query/virtuser_query.php on line 70
Then the script fall!
I got postfix-dovecot-spamassassin-postfixadmin correctly installed and obv roundcube with mysql fault!
Any suggestion?
Tx a lot!
can you compare your copy of the file with the one here /trunk/plugins/virtuser_query/virtuser_query.php ? Roundcube Webmail (http://trac.roundcube.net/browser/trunk/plugins/virtuser_query/virtuser_query.php), sounds like something has just gone a bit wrong.
I changed with the linked version but the error is still the same but on line 116... the end of the script!
[13-ott-2010 11:45:29] PHP Fatal error: Cannot redeclare class virtuser_query in /var/www/webmail/plugins/virtuser_query/virtuser_query.php on line 116
Please can u tell me the correct use of
Quote$rcmail_config['virtuser_query'] = array('email' => '', 'user' => '', 'host' => '');
because in v 0.3.1 i got
Quote$rcmail_config['virtuser_query'] = 'SELECT password FROM postfixadmin.mailbox WHERE username = %u AND active = 1';
tx for advice!
$rcmail_config['virtuser_query'] = array(
'email' => 'SELECT password FROM postfixadmin.mailbox WHERE username = %u AND active = 1',
'user' => '',
'host' => ''
);
However old syntax is still supported.
Error still remaine!
PHP Fatal error: Cannot redeclare class virtuser_query in /var/www/webmail/plugins/virtuser_query/virtuser_query.php on line 116
there are no errors if i disable the plugin ... but then i can't login!
Please give me the right input ;)
ADDE: the error is the same for all the plugins added in array!!!