[horde] ingo - missing function
Chris Lafty
clafty at stlawu.edu
Fri Jul 11 16:06:13 UTC 2008
I'm testing a complete horde upgrade to the latest versions, but I'm
experiencing issues with INGO. I'm trying to active a sieve script and
here is the error I receive:
[Fri Jul 11 11:14:47 2008] [error] [client 10.32.140.72] PHP Fatal
error: Call to undefined method Ingo_Script_sieve::addblock() in
/var/www/html/horde/ingo/lib/Script/sieve.php on line 294, referer:
https://mymailtest2.stlawu.edu/horde/services/prefs.php?app=ingo
[Fri Jul 11 11:14:47 2008] [error] [client 10.32.140.72] PHP Stack
trace:, referer:
https://mymailtest2.stlawu.edu/horde/services/prefs.php?app=ingo
[Fri Jul 11 11:14:47 2008] [error] [client 10.32.140.72] PHP 1.
{main}() /var/www/html/horde/ingo/script.php:0, referer:
https://mymailtest2.stlawu.edu/horde/services/prefs.php?app=ingo
[Fri Jul 11 11:14:47 2008] [error] [client 10.32.140.72] PHP 2.
Ingo_Script_sieve->generate() /var/www/html/horde/ingo/script.php:28,
referer: https://mymailtest2.stlawu.edu/horde/services/prefs.php?app=ingo
[Fri Jul 11 11:14:47 2008] [error] [client 10.32.140.72] PHP 3.
Ingo_Script_sieve->_addBlacklistBlocks()
/var/www/html/horde/ingo/lib/Script/sieve.php:555, referer:
https://mymailtest2.stlawu.edu/horde/services/prefs.php?app=ingo
In horde/ingo/lib/Script/sieve.php, I had to add (line 163):
function addBlock($block)
{
$this->_blocks[] = $block;
}
I found this in older revisions and it fixed my error, but I received
"There was an error activating the script. The driver said: Not
currently in TRANSACTION state" The first time I tried to activate my
sieve script. Logged out and tried it again with success. Is this code
missing for a reason? Or is the addblock call left over from something?
Mail server: cyrus-imapd-2.2.12-8.1.RHEL4
Horde servers:
Upgrading From RHEL 4 (32bit, php4):
Address Book (turba) H3 (2.1.4)
File Manager (gollem) H3 (1.0.3)
Filters (ingo) H3 (1.1.3) (sieve.php version 1.63.10.30 - doesn't
contain a call to addblock)
Mail (imp) H3 (4.1.4)
SLU WebMail (horde) 3.1.4
TO:
RHEL 5 (64bit, php5)
Address Book (turba) H3 (2.2.1) .
*Dynamic Mail (dimp) H3 (1.0)
File Manager (gollem) H3 (1.0.3)
Filters (ingo) H3 (1.2) (sieve.php version 1.63.10.34 - contains a call
to addblock which doesn't exist)
Horde (horde) 3.2.1
Mail (imp) H3 (4.2)
*Mobile Mail (mimp) H3 (1.1)
More information about the horde
mailing list