On Fri, Aug 05, 2011 at 02:11:46PM -0700, Maria McKinley wrote:
> On 8/4/11 2:45 PM, Alexandros Vellis wrote:
> > On Thu, 04 Aug 2011 13:07:59 -0700
> > Maria McKinley<maria@...> wrote:
> >> Hi there,
> >> I recently did an upgrade to squirrelmail 2:1.4.21-1 and avelsieve
> >> 1.9.9-2 on a debian squeeze machine. Now when we log into
> >> squirrelmail we can only see the list of folders on the left, but
> >> nothing else. I see the following messages in the logs:
> >> PHP Warning: in_array() expects parameter 2 to be array, null given
> >> in /usr/share/squirrelmail/plugins/avelsieve/setup.php on line 181,
> >> referer: https://www.shadlen.org/squirrelmail/src/left_main.php
> >> I am using php5. Any ideas what could be going wrong? I'm afraid my
> >> experience with php is fairly limited.
> > Try copying config/config_sample.php to config/config.php and
> > subsequently editing it to your liking.
> > Alexandros
> Thanks. When I started over, I didn't enable any of the plugins, and
> that worked fine. But as soon as I enabled the avelsieve plugin the same
> thing happened. I tried using the avelsieve-config.php.dpkg-dist instead
> of mine, but that just seemed to break the whole thing. I couldn't even
> get to the login page, and had the following error in the log:
> PHP Warning: fputs(): SSL: Broken pipe in
> /usr/share/squirrelmail/plugins/avelsieve/include/managesieve.lib.php on
> line 732, referer: https://www.shadlen.org/squirrelmail/src/webmail.php
> So, I just confirmed that the problem must be with the squirrel mail
> plugin, and not something screwy with the sieve filters themselves, as I
> was able to set up roundcube to edit filters without any problems.
> Any ideas on what might have gone wrong with the avelsieve plugin?
Well, I don't know for that part. Looks strange to me. Regarding your
first problem, your config should have at least the lines
$avelsieve_enable_rules = array();
which would make that second parameter of in_array() in the given file
an array as needed. You don't seem to have one while I know that the
default installation of 1.9.9-2 has such.
.''`. Jan Hauke Rahm <jhr@...> http://www.jhr-online.de
: :' : Debian Developer http://www.debian.org
`. `'` Member of the Linux Foundation http://www.linux.com
`- Fellow of the Free Software Foundation Europe http://www.fsfe.org