Immediate Logout Problem

Josko Plazonic plazonic@Math.Princeton.EDU
Tue, 22 May 2001 12:19:10 -0400


Hi,

I was trying to update to new 2.2.5 imp and I keep having the "immediate
logout" problem - I can login but as soon as I click on anything within the
screen (like a message or change folder - anything) I get logged out.  I
already checked and test.php3 works just fine (sessions included) and
patching only horde to 1.2.5 doesn't break anything.  As soon as I patch imp
to bring it to 2.2.5 problems arise (yes, 2.2.4 works/ed just fine).  Any
change in 2.2.5 that could cause different behaviour/problems - like
different requirements (I run php 4.0.4pl1 - do I need to move to 4.0.5 -
anyone used it yet?  and postgresql 7.0.2 but that shouldn't matter should
it?)?

Ok - found the problem :
-       return (($db = pg_pconnect($dbconnectstring))) ;
+       return (($db = pg_connect($dbconnectstring))) ;
on lib/db.pgsql breaks the imp for me.  Just changing that line back to
pg_pconnect makes it work - any ideas why?

Thanks,
Josko