[imp] IMP 2.2.6 problems

Brent J. Nordquist bjn@horde.org
Mon, 23 Jul 2001 14:10:20 -0500 (CDT)


On Mon, 23 Jul 2001, Daniel Spratlen <spratlen@arches.uga.edu> wrote:

> Hi, I just downloaded the new rpm's for RH7 for imp 2.2.6 and horde
> 1.2.6.  I use postgresql.  I proformed my upgrade by getting the three
> rpm's that I needed, and then rpm -Uvh *.rpm.  That all went fine, but
> now imp is broken.  Here is what I get:
>
> Warning: 1 is not a valid PostgreSQL link resource in
> /var/www/horde-phplib/db_pgsql.inc on line 52

Ick.  Sorry, I hadn't gotten time to test 2.2.6 with PostgreSQL yet.  Can
you please run the following two commands and reply with the output; then
I'll try to reproduce this here.  What version of Horde/IMP were you
upgrading from?  And just to double-check, did you upgrade any other RPMs
during this process, or only Horde/IMP?

$ cat /etc/issue
$ rpm -qa | egrep "^(apache|php|postgresql)-"

> I tried moving the prepend.php3.rpmsave to prepend.php3 and still no go.

Hm, I hadn't considered that angle either.  The RPMs may need a pre/post
script to handle that file specially, due to the risk of the security fix
ending up in the rpmsave file and not taking effect.  RPM users should
watch this closely during the upgrade to 2.2.6.

-- 
Brent J. Nordquist <bjn@horde.org> N0BJN
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942