[Tickets #12410] Re: After upgrading to 3.1.1 from 3.0.x Ingo fails to display Sieve Rules

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Nov 29 10:31:00 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12410
------------------------------------------------------------------------------
  Ticket             | 12410
  Updated By         | m.roth at roth-digital.de
  Summary            | After upgrading to 3.1.1 from 3.0.x Ingo fails to
                     | display Sieve Rules
  Queue              | Ingo
  Version            | 3.1.1
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


m.roth at roth-digital.de (2013-11-29 10:31) wrote:

Hello,

you must insert a semicolon at the end of the line. So you must insert  
"print_r($scripts);"

I have the same error und found out, that the $scripts variable is set  
to a string "sieve"

I used the backend configuration from the backends.ph and copied it  
into my backend.local.php:

$backends['sieve'] = array(
     'disabled' => false,
     'transport' => array(
         Ingo::RULE_ALL => array(
             'driver' => 'timsieved',
             'params' => array(
                 'hostspec' => 'localhost',
                 'logintype' => 'PLAIN',
                 'usetls' => false,
                 'port' => 4190,
                 'scriptname' => 'ingo',
                 'debug' => true,
             ),
         ),
     ),
     'script' => array(
         Ingo::RULE_ALL => array(
             'driver' => 'sieve',
             'params' => array(
                 'utf8' => false,
              ),
         ),
     ),
     'shares' => false
);

Can you help me to locate the error.

Best wishes,
Michael Roth

> I've restarted my Apache2 severeal times, but the error did not go away!
>
> If I insert "print_r($scripts)"  before line 116 in  
> "/var/www/horde/ingo/lib/Factory/Script.php" as suggested, so it reads
> --- snip ---
> public function createAll()
>     {
>         $scripts = $GLOBALS['session']
>             ->get('ingo', 'backend/script', Horde_Session::TYPE_ARRAY);
>         $instances = array();
>         /* 2013-10-11, 10:04:36, haasc: fuer debugging */
>         print_r($scripts)
>         foreach (array_keys($scripts) as $rule) {
>             $instances[$rule] = $this->create($rule);
>         }
>         return $instances;
>     }
> --- snap ---
>
> and reload the page, the whole Horde-WebUI (not only Ingo!) wents just white.
> No error in "var/log/syslog", no error in "/var/log/apache2/error.log" ...
>
> After removing or commenting the "print_r($scripts)"-line,  
> everything is again OK besides that no sieve-filters are displayed  
> in Ingo.
>
> Where can I look further?
>
> System Debian, Horde 5.1.2. Ingo 3.1.2.
> The Mailserver resides on different machine.
> I have several sieve-scripts, which I can manage on the mailserver  
> via sievshell, so that it is verfied that timsieved is working.
>






More information about the bugs mailing list