+ Reply to Thread
Results 1 to 7 of 7

Thread: sieverules logging out

  1. #1
    madsurgeon is offline Roundcube Newcomer
    Join Date
    Jan 2010
    Location
    Zurich, Switzerland
    Posts
    7
    Downloads
    0
    Uploads
    0

    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

  2. #2
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    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: Sieverules, SpamAssassin Prefs, and more…

  3. #3
    madsurgeon is offline Roundcube Newcomer
    Join Date
    Jan 2010
    Location
    Zurich, Switzerland
    Posts
    7
    Downloads
    0
    Uploads
    0

    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 08:02 PM. Reason: making it clearer

  4. #4
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    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: Sieverules, SpamAssassin Prefs, and more…

  5. #5
    madsurgeon is offline Roundcube Newcomer
    Join Date
    Jan 2010
    Location
    Zurich, Switzerland
    Posts
    7
    Downloads
    0
    Uploads
    0

    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

  6. #6
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    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: Sieverules, SpamAssassin Prefs, and more…

  7. #7
    madsurgeon is offline Roundcube Newcomer
    Join Date
    Jan 2010
    Location
    Zurich, Switzerland
    Posts
    7
    Downloads
    0
    Uploads
    0

    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts