On Wed, 18 Jul 2012 21:43:02 +0200, Tiger!P wrote:

> When setting "$avelsieve_backend = 'File';" in the config file, I get the
> following in the apache error log, when I visit
> http://example.com/squirrel/plugins/avelsieve/table.php:
> PHP Parse error:  syntax error, unexpected T_LIST, expecting T_STRING in 
> /usr/share/squirrelmail/plugins/avelsieve/include/DO_Sieve_File.class.php on 
> line 55,
> 
> This is also mentioned in ticket 252 [1] of avelsieve
> 
> [1] http://email.uoa.gr/avelsieve/ticket/252

And on the mailing list:

http://blog.gmane.org/gmane.mail.squirrelmail.plugins/month=20091001
http://permalink.gmane.org/gmane.mail.squirrelmail.plugins/15350

Quoting from the last mail:

| For now rename it to listscripts() and it should stop complaining. I
| don't know if this will make it work properly, though; it needs some
| further testing.

listscripts() is indeed used in other backends; and I wouldn't worry
about side effects, since list() doesn't do anything anyway:

#v+
    /**
     * Get scripts list from SIEVE server.
     */
    function list() {
        $scripts = array();
        /* dirlist() ... */
        return $scripts;
    }
#v-

But if it's no more than an annoying entry in the apache log, there's
probably no immediate hurry to fix it right now.

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Dire Straits: Private Investigations

Attachment: signature.asc
Description: Digital signature

Reply via email to