RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > SVN Releases > Issues & Bugs

For more information about the ads and why they're here, please see the FAQ

Reply
  #1  
Old 03-10-2010, 08:06 AM
Roundcube Newcomer
 
Join Date: Jan 2010
Location: Zurich, Switzerland
Posts: 7
Unhappy sieverules logging out

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 03-10-2010, 09:40 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

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.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-10-2010, 07:01 PM
Roundcube Newcomer
 
Join Date: Jan 2010
Location: Zurich, Switzerland
Posts: 7
Default

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 .

Last edited by madsurgeon; 03-10-2010 at 07:02 PM. Reason: making it clearer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-11-2010, 07:24 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

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.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-21-2010, 02:39 PM
Roundcube Newcomer
 
Join Date: Jan 2010
Location: Zurich, Switzerland
Posts: 7
Default changed db

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 03-23-2010, 07:09 PM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

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.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 03-24-2010, 09:13 AM
Roundcube Newcomer
 
Join Date: Jan 2010
Location: Zurich, Switzerland
Posts: 7
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
logout, sieverules


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community