[imp] Session Mgmt problem? 2.3.7 login fails.
Mike Coughlan
mcoughlan@gothambroadband.com
Tue, 24 Jul 2001 10:17:07 -0400
Regarding the botched session mgmt, I'm not sure where the return 0 is
coming from. I'm in the process of setting up a PHP debugger (for the first
time) to try and gain more insight. Perhapse an important library is not
being included? At one point, I was very dissappointed to see the include
paths from php_info() listing /usr/lib/php4/ when in fact in did not find
PEAR and I had to add it to php.ini!
Am I to assume that it is session management that needs fixing? If there is
anyway to "trouble shoot from the ground up" to find which component is
broken? It is a Horde component?
There was an initial Horde install (and removal) from Debian Stable. Is it
possible there is some cruft left somewhere that is confusing HORDE & IMP
2.3.7?
Here are the php version numbers, all from Debian "Testing". Do you
recommend I go onto PHP 4.0.6?
dpkg -l | grep php
rc php3 3.0.18-0potato1 A server-side,
HTML-embedded scripting language
ii php4 4.0.5-2 A server-side,
HTML-embedded scripting language
ii php4-cgi 4.0.5-2 A server-side,
HTML-embedded scripting language
ii php4-dev 4.0.5-2 Files for PHP4 module
development
ii php4-imap 4.0.5-2 IMAP module for php4
ii php4-ldap 4.0.5-2 LDAP module for php4
ii php4-mysql 4.0.5-2 MySQL module for php4
ii php4-pear 4.0.5-2 PEAR - PHP Extension and
Application Repository
Here is a recursive grep of /tmp from the root horde, Chuck. It looks good
to me. Thanks for all your help.
imp/config/conf.php.dist:$conf['log']['name'] = '/tmp/imp.log';
imp/config/conf.php:$conf['log']['name'] = '/tmp/imp.log';
imp/docs/INSTALL: cd /tmp
imp/po/shtool: tmpdir="/tmp"
imp/scripts/imp-cleanup.cron:# any attachments that are stranded by IMP
users in the /tmp directory.
imp/scripts/imp-cleanup.cron:for IMP_FILE in `find /tmp -name *.att -ctime 1
`; do
lib/Horde.php: * If a specific setting cannot be found, it defaults to
/tmp
lib/Horde.php: $tmp_locations = array('/tmp', '/var/tmp', 'c:\temp');
lib/Token/file.php: $this->params['stub_dir'] = '/tmp';
> -----Original Message-----
> From: Chuck Hagenbuch [mailto:chuck@horde.org]
> Sent: Tuesday, July 24, 2001 2:42 AM
> To: imp@lists.horde.org
> Subject: Re: [imp] Session Mgmt problem? 2.3.7 login fails.
>
>
> Quoting Mike Coughlan <mcoughlan@gothambroadband.com>:
>
> > "Warning: open(0/sess_3de595e3c457d4dcdca1bff8a047a84f, O_RDWR)
> failed: No
> > such file or directory (2) in /usr/share/horde/test.php on line 12"
>
> That's bad. Where is that 0 coming from? Do you have a really
> strange temp
> directory setting somewhere?
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>