Hi there
I have installed the sieverules plugin and adapted the config.
It correctly shows the "Filters" tab and shows the installed filters from the former managesieve pluging.
However, when I click on any of the filters, roundcube logs out and I presents the login screen.
It also happens without clicking on any of the filters. Just waiting with the Filters tab open is enough. The plugin seems to logout roundcube without me doing anything.
What can I do about this?
Thanks
Please check your error log I think you will see something about session. In this case your RC database is incorrectly setup it should use UTF-8 charset.
What I can see in the rrors log is this:
[10-Mar-2010 10:15:21] PHP Fatal error: Call to a member function connect() on a non-object in /usr/share/roundcube/program/include/rcmail.php on line 408
However, I am not sure if it has anything to do with the described problem, since this error occurs only twice in the logs, whereas I have tested the logging out many more times.
And the behaviour remains the same also when I change
$rcmail_config['sieverules_folder_encoding'] = null;
to
$rcmail_config['sieverules_folder_encoding'] = 'UTF7-IMAP';
in config.inc.php .
please double check your db to make sure that the tables use utf8 collation. also what version of rc are you running? and what version of sieverules are you running? thanks.
Ok, now I've got around to change the db to utf8 - but still the same problem.
/etc/roundcube/debian-db.php:
$dbuser='roundcube';
$dbpass='xxxxxxxx';
$basepath='';
$dbname='roundcubemail';
$dbserver='';
$dbport='';
$dbtype='pgsql';
And this is my db:
Name | Owner | Encoding | Collation | Ctype | Access privileges
roundcubemail | roundcube | UTF8 | C | C |
I have also enabled all debug options but when roundcube crashes still see only:
[21-Mar-2010 16:26:58] PHP Fatal error: Call to a member function connect() on a non-object in /usr/share/roundcube/program/include/rcmail.php on line 408
The sql log shows at the time:
[21-Mar-2010 16:26:58 +0100]: query(1): SELECT vars, ip, EXTRACT (EPOCH FROM changed) AS changed
FROM session
WHERE sess_id='9ce09cc682ae44c7ca4c7192f5b32a24'
[21-Mar-2010 16:26:58 +0100]: query(1): SELECT * FROM users WHERE user_id='1'
I am running roundcube 0.3.1 and
sieverules.php: * @version 1.6
Net_Sieve.php:* @version 1.2.0
hmm i think may be misunderstood your problem could you please check in the file rcube_sieve.php in the plugin folder and change private $cache = true to false and see if that make any difference, this controls the only thing that i know of which causes this problem so if it makes no difference them i'm afraid i'm out of ideas.
Well, I've tried that now and roundcube does not logout anymore, but it freezes :-(
So I am going to continue using the old managesieve plugin...
Even though yours seems to be much better.