[ingo] Ingo Fails In Script.php @ 116:createAll
Adam Tauno Williams
awilliam at whitemice.org
Tue Apr 15 12:30:01 UTC 2014
I am attempting to update a Horde instance that uses Ingo with a SIEVE
backend. The filters application runs - but there are no filters
displayed and no "New Rule" button.
In the logs I see:
2014-04-15T08:25:54-04:00 WARN: HORDE [ingo] PHP ERROR: array_keys()
expects parameter 1 to be array, string given [pid 5795 on line 116 of
"/srv/www/vhosts/horde/ingo/lib/Factory/Script.php"]
2014-04-15T08:25:54-04:00 WARN: HORDE [ingo] PHP ERROR: Invalid argument
supplied for foreach() [pid 5795 on line 116 of
"/srv/www/vhosts/horde/ingo/lib/Factory/Script.php"]
- which is -
/**
* Returns all Ingo_Script instances.
*
* @return array All Ingo_Script instances.
* @throws Ingo_Exception
*/
public function createAll()
{
$scripts = $GLOBALS['session']
->get('ingo', 'backend/script', Horde_Session::TYPE_ARRAY);
$instances = array();
foreach (array_keys($scripts) as $rule) {
$instances[$rule] = $this->create($rule);
}
return $instances;
}
-
which I interpret as getting the list of scripts from the server?
This is a working SIEVE backend that is accessed succesfully from an
older version of Horde. The connectivity parameters in the
backends.local.php are correct. Any suggestions?
$backends['sieve'] = array(
'disabled' => false,
'transport' => 'timsieved',
'hordeauth' => 'full',
'params' => array(
// Hostname of the timsieved server
'hostspec' => '**************',
// Login type of the server
'logintype' => 'PLAIN',
// Enable/disable TLS encryption
'usetls' => false,
// Port number of the timsieved server
'port' => 2000,
// Name of the sieve script
'scriptname' => 'ingo',
'debug' => false,
),
'script' => 'sieve',
'scriptparams' => array(
'utf8' => false,
),
'shares' => false
);
--
Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA
More information about the ingo
mailing list