[horde] [Fwd: convert_imp_filters.php fails w/out error]

Ian Smith-Heisters ismithhe at marlboro.edu
Thu Sep 7 08:03:23 PDT 2006


Well, looked at it some more and tracked the failure to these lines in 
ingo/lib/base.php:

$registry = &Registry::singleton();
if (is_a(($pushed = $registry->pushApp('ingo', 
!defined('AUTH_HANDLER'))), 'PEAR_Error')) {
     if ($pushed->getCode() == 'permission_denied') {
         Horde::authenticationFailureRedirect();
     }
     Horde::fatal($pushed, __FILE__, __LINE__, false);
}
$conf = &$GLOBALS['conf'];

Any ideas? I'll see if I can't figure out how to do the conversion 
manually in SQL.

Thanks,
Ian

Ian Smith-Heisters wrote:
> Hi,
> 
> I posted the following to the ingo mailing list last week, but received 
> no response. I thought that perhaps someone on this list might have an 
> idea of how to go about fixing this.
> 
> Might it be possible to just do something like
> 
> update horde_prefs set pref_scope='ingo' where pref_scope='imp' and 
> pref_name='filters';
> 
> I would imagine it'd be more complicated than that, but are the 
> pref_value field datum compatible? Any tips?
> 
> Thanks,
> Ian Smith-Heisters
> 
> -------- Original Message --------
> Subject: convert_imp_filters.php fails w/out error
> Date: Tue, 29 Aug 2006 15:40:34 -0400
> From: Ian Smith-Heisters <ismithhe at marlboro.edu>
> To: ingo at lists.horde.org
> 
> Hi all,
> 
> I'm trying to migrate some IMP filter rules to Ingo using
> convert_imp_filters.php. Running it either by feeding in a userlist, or
> by manually entering usernames both result in absolutely nothing--no
> errors, no messages, just a return value of 255:
> 
> $ php convert_imp_filters.php
> $ echo $?
> 255
> $
> 
> I've looked around and tried a bunch of different approaches. I've tried
> adding an 'echo "Foo";' statement on the second line. But I can't get
> anything out of it. Here's my PHP version info:
> 
> $ php -v
> PHP 5.1.2 (cli) (built: Jul 19 2006 00:07:28)
> Copyright (c) 1997-2006 The PHP Group
> Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
> 
> And the server info:
> 
> $ uname -a
> Linux capsule 2.6.15-26-686 #1 SMP PREEMPT Mon Jul 17 20:14:14 UTC 2006
> i686 GNU/Linux
> 
> Any help will be greatly appreciated; I'm completely stumped.
> 
> thanks,
> Ian Smith-Heisters
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.horde.org/archives/horde/attachments/20060907/64bda3f4/smime.bin


More information about the horde mailing list