[imp] IMPs behaiour
Martín Marqués
martin@bugs.unl.edu.ar
Tue, 6 Nov 2001 10:31:49 -0300
On Mar 06 Nov 2001 10:24, you wrote:
> Quoting Martín Marqués <martin@bugs.unl.edu.ar>:
> > I just downloaded a CVS of IMP+HORDE and I find that when I change my
> > preferences what IMP does is try to insert a new value, and when the
> > database server gives an error, does an update.
> > Shouldn't it have a session variable, or something when the user is in
> > the options that says if a field is in the prefs database or it's using
> > the default?
>
> How would you make this work? Sessions go away when the user logs
> out/closes their session...
When the user gets to the options, you need to make a select query to get the
opion that is loaded and put that as default.
If there is no value for that specific option, the global default is used. At
this moment we know if there is a value loaded in the database, so can choose
for update (if there is a value) or to insert (if there isn't a value loaded).
Was I clear?
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
>From chuck@horde.org Date: Tue, 6 Nov 2001 08:52:48 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 69465 invoked from network); 6 Nov 2001 13:53:25 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.197.108)
by clark.horde.org with SMTP; 6 Nov 2001 13:53:25 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id 3FAAD39A6; Tue, 6 Nov 2001 08:52:48 -0500 (EST)
Received: from 145.254.193.98 ( [145.254.193.98])
as user chuck@localhost by marina.horde.org with HTTP;
Tue, 6 Nov 2001 08:52:48 -0500
Message-ID: <1005054768.3be7eb3011fae@marina.horde.org>
Date: Tue, 6 Nov 2001 08:52:48 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <1005047396.3be7ce64a10e5@isp.polynet.lviv.ua>
In-Reply-To: <1005047396.3be7ce64a10e5@isp.polynet.lviv.ua>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] Nested folders
Quoting anri@polynet.lviv.ua:
> there is the problem with nested folders in IMP.
> I have some branchy structure of my imap folders (e.g.
> INBOX.level1.level2).
> I can access INBOX and INBOX.level1.level2 with IMP, but cannot get to
> INBOX.level1 . It is displayed as "INBOX.level1." in IMP's folder-select
> list.
> Looks like there should be "INBOX.level1" - without last 'dot'.
This is fixed now.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin
>From chuck@horde.org Date: Tue, 6 Nov 2001 09:44:35 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 71778 invoked from network); 6 Nov 2001 14:45:13 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.197.108)
by clark.horde.org with SMTP; 6 Nov 2001 14:45:13 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id 8299F39A6; Tue, 6 Nov 2001 09:44:35 -0500 (EST)
Received: from 145.254.193.98 ( [145.254.193.98])
as user chuck@localhost by marina.horde.org with HTTP;
Tue, 6 Nov 2001 09:44:35 -0500
Message-ID: <1005057875.3be7f753566a7@marina.horde.org>
Date: Tue, 6 Nov 2001 09:44:35 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <1004982185.3be6cfa917840@webmail.decf.berkeley.edu>
In-Reply-To: <1004982185.3be6cfa917840@webmail.decf.berkeley.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] saving sig_first pref doesn't seem to work
Quoting nlin@newton.berkeley.edu:
> When I go into edit my identities, if I uncheck the sig_first pref checkbox,
> and then click on "Change". When the identity refreshes, that checkbox is
> still checked.
Works fine here.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin
>From chuck@horde.org Date: Tue, 6 Nov 2001 09:47:42 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 72677 invoked from network); 6 Nov 2001 14:48:19 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.197.108)
by clark.horde.org with SMTP; 6 Nov 2001 14:48:19 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id EAAF13972; Tue, 6 Nov 2001 09:47:42 -0500 (EST)
Received: from 145.254.193.98 ( [145.254.193.98])
as user chuck@localhost by marina.horde.org with HTTP;
Tue, 6 Nov 2001 09:47:42 -0500
Message-ID: <1005058062.3be7f80ec38ff@marina.horde.org>
Date: Tue, 6 Nov 2001 09:47:42 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Fwd: Help
----- Forwarded message from "Bellazi, Karim" <Karim.Bellazi@KPNQwest.com> -----
Date: Tue, 6 Nov 2001 15:31:38 +0100
From: "Bellazi, Karim" <Karim.Bellazi@KPNQwest.com>
Reply-To: "Bellazi, Karim" <Karim.Bellazi@KPNQwest.com>
Subject: Help
To: "'chuck@horde.org'" <chuck@horde.org>
Hello,
I try to install imp with ldap and imap and i have many problems.
The problem i try to resolve in the moment seems to be a phplib problem.
When i go to the test.php3 URL all is ok except when i click on the "click
here to test PHPLIB for Horder.
I obtain the error message :
Warning: Failed opening '/KQ/apache/apache_1.3.22/htdocs/horde/test.php3'
for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
When i take a look to the log file error log i have this error messages :
[Tue Nov 6 14:58:22 2001] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Tue Nov 6 15:10:02 2001] [notice] caught SIGTERM, shutting down
[Tue Nov 6 15:10:09 2001] [notice] Apache/1.3.22 (Unix) PHP/4.0.6
configured --
resuming normal operations
[Tue Nov 6 15:10:09 2001] [notice] Accept mutex: sysvsem (Default: sysvsem)
and if i put in the php.ini the extension modules imap.so ldap.so and
mysql.so
the error_log always tell me that :
PHP Warning: Unable to load dynamic library './imap.so /*
IMAP s
upport */' - ./imap.so /* IMAP support */: cannot open shared
obj
ect file: Aucun fichier ou répertoire de ce type in Unknown on line 0
Do you have an idea? Thanks by advance.
And second i don't success when i try to connect to the ldap base (on
another server) and when i try to go on the login.php3 i have the error
message :
Warning: Undefined variable: id_ in /KQ/apache/apache_1.3.22/php/ct_ldap.inc
on line 59
Warning: Undefined variable: id_ in /KQ/apache/apache_1.3.22/php/ct_ldap.inc
on line 41
Warning: Undefined variable: id_ in /KQ/apache/apache_1.3.22/php/ct_ldap.inc
on line 43
Session_ldap failed: Session: freeze() failed.
This a problem with tha environment variable $id. Do you know about that.
Bye and thanks by advance if you have answers about my problems.
System Engineer
KPNQwest France
Adresse physique : "Le Méliès" - 261 rue de Paris - 8ème étage 93556
Montreuil Cedex France
Phone : 33 (0)1 49 72 67 04
Cellular : 33 (0)6 20 68 79 23
Adresse postale : Le River Seine - 25 quai Gallieni 92158 Suresnes cedex
Mailto:karim.bellazi@kpnqwest.com <mailto:karim.bellazi@kpnqwest.com>
<http://www.kpnqwest.com/>
----- End forwarded message -----
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin