[dev] convert_imp_filters.php problems

Vilius Sumskas vilius at lnk.lt
Tue Jun 17 13:40:20 PDT 2003


hm, now i get

[root at mail scripts]# php convert_imp_filters.php < test

Warning: main(HORDE_BASE/lib/String.php) [http://www.php.net/function.main]:
failed to create stream: No such file or directory in
/var/www/horde/lib/Prefs.php on line 16

Fatal error: main() [http://www.php.net/function.main]: Failed opening required
'HORDE_BASE/lib/String.php' (include_path='.:/usr/local/lib/php') in
/var/www/horde/lib/Prefs.php on line 16

Quoting Michael M Slusarz <slusarz at bigworm.colorado.edu>:

> Quoting Vilius Sumskas <vilius at lnk.lt>:
>
> | Hello,
> |
> | i was converting old imp filters to ingo filters today and faced some
> | problems.
> | convert script makes new blacklist to delete all files from INBOX,
> | however i had
> | not any rules in my old blacklist. checked my horde_prefs table in
> | database and
> | found this:
> |
> | ingo | blacklist | a:2:{s:1:"a";a:1:{i:0;s:0:"";}s:1:"f";s:0:"";}
> |
> | near my username.
> |
> | isn't it suppose to be a:2:{s:1:"a";a:0:{}s:1:"f";s:0:"";} like in
> | ingo/config/prefs.php ?
> |
> | maybe i'm doing something wrong?
>
> No - the script wasn't handling empty rule lists very well.  This has been
> fixed in CVS - Thanks.
>
> michael






More information about the dev mailing list