Hi Vincent, Am Samstag, den 08.01.2011, 16:08 +0100 schrieb Vincent Bernat: > OoO En cette nuit nuageuse du mardi 02 novembre 2010, vers 00:57, Marcus > Schopen <mar...@localguru.de> disait : > > > I'm using the SieveRules plugin[1] and getting the following error when > > trying to create a new rule: > > > "PHP Fatal error: Call to a member function connect() on a non-object > > in /usr/share/roundcube/program/include/rcmail.php on line 408" > > > I'm not sure if this is a roundcube core problem or just a problem of > > the sieve plugin, but a > > > diff /usr/share/roundcube/program/include/rcmail.php > > /usr/share/roundcube/program/include/rcmail.php.orig > > 408d407 > > < if(!$this->imap) $this->imap_init(); > > Hi! > > Your diff is pretty minimalist.
Don't understand. > Where did you add this line exactly? Insert line if(!$this->imap) $this->imap_init(); after line 407 in /usr/share/roundcube/program/include/rcmail.php: ---------------- [...] public function imap_connect() { $conn = false; if ($_SESSION['imap_host'] && !$this->imap->conn) { ----->if(!$this->imap) $this->imap_init(); if (!($conn = $this->imap->connect($_SESSION['imap_host'], .... [...] ---------------- Ciao! -- "Some things don't need the thought people give them." -Hobbes -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org