[imp] Updating Pear on a RH7.2 system
Ty Christensen
webmaster@mastermindpro.com
Fri, 2 Nov 2001 21:00:14 -0800
Actually, I have absolutely no basis for the assumption other than a
sneaking suspicion that comes from reading about similar problems with PEAR
on the list.
Since I have done what was recommended elsewhere (install the RPM's and
replace PEAR with the tar from horde.org), I guess I should assume
otherwise.
Here's the critical excerpt from horde.php:
//The auth section
$conf['auth']['driver'] = 'sql';
$conf['auth']['params'] = array();
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'hordemgr';
$conf['auth']['params']['password'] = '*****';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_users';
//The preferences section
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'hordemgr';
$conf['prefs']['params']['password'] = '*****';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';
Here's an excerpt from servers.php in the imp/config directory:
$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'localhost',
'protocol' => 'imap',
'port' => 143,
'folders' => '/',
'namespace' => '',
'maildomain' => 'why.mastermindpro.com',
'smtphost' => 'why.mastermindpro.com',
'realm' => '',
'preferred' => ''
);
I have verified that the MySQL database is installed, named correctly, and
has the proper permissions. I did use the sql scripts to create the db and
the tables. I added a user name and password combination to the horde_users
table.
Again, the symptoms are:
Horde- After entering the user name and password that I created in the db
and clicking login, the page is immediately reloaded with the password
window being blank but the user name intact.
Imp- Clicking on the Imp icon gives a 404 error after about 20 seconds. No
option is there to logon.
Do I have to encrypt or hash the password field in the db rather than just
have it be clear-text? If so, how do I do that? I'm totally clueless as to
why Imp times out, though, so any and all recommendations accepted and
appreciated.
My system should be sufficient :^), now I'm just trying to get my knowledge
of Horde and Imp to be sufficient.
Thanks,
Ty
-----Original Message-----
From: Chuck Hagenbuch [mailto:chuck@horde.org]
Sent: Friday, November 02, 2001 9:09 AM
To: imp@lists.horde.org
Subject: Re: [imp] Updating Pear on a RH7.2 system
Quoting Ty Christensen <webmaster@mastermindpro.com>:
> 3) I've got Horde authenticating via MySQL, and when I try to login, I
> get nothing and am promptly put back at the login page. I assume this
> is also a PEAR problem.
What basis do you have for making that assumption?
> So, from reading on the list, it appears that I need an even newer
> version of PEAR. How can I get just the newer version of PEAR from CVS
> or snapshot?
The PEAR tarball on horde.org is sufficient.
-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
--
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
>From chuck@horde.org Date: Sat, 3 Nov 2001 00:01:49 -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 21576 invoked from network); 3 Nov 2001 05:02:26 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.197.108)
by clark.horde.org with SMTP; 3 Nov 2001 05:02:26 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id 7C17B39B0; Sat, 3 Nov 2001 00:01:49 -0500 (EST)
Received: from 192.168.0.198 ( [192.168.0.198])
as user chuck@localhost by marina.horde.org with HTTP;
Sat, 3 Nov 2001 00:01:49 -0500
Message-ID: <1004763709.3be37a3d54cbf@marina.horde.org>
Date: Sat, 3 Nov 2001 00:01:49 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <1004656619.3be1d7ebc468e@mail-test.www.umich.edu>
In-Reply-To: <1004656619.3be1d7ebc468e@mail-test.www.umich.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] FIXED: unqualified address problem
Quoting Liam Hoekenga <liamr@umich.edu>:
> So.... I made the following change..
>
> $status = $mailer->send(MIME::encodeAddress($recipients, '',
> $imp['maildomain']), $headers, $msg);
>
> and things seem to be swell. Can one of the real developer types take a look
> at this, and commit it if my logic is sound? sorry to have been such a
> bother.
Not at all - thanks for puzzling this out. This makes sense to me; I've
committed it. Thanks!
-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 zrahman@partex.net Date: Sat, 3 Nov 2001 15:50:44 +0600
Return-Path: <zrahman@partex.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 24663 invoked from network); 3 Nov 2001 09:47:48 -0000
Received: from partex.net (HELO mail.partex.net) (root@202.4.96.10)
by clark.horde.org with SMTP; 3 Nov 2001 09:47:48 -0000
Received: (from www@localhost)
by mail.partex.net (8.9.3/8.9.3) id PAA06010
for imp@lists.horde.org; Sat, 3 Nov 2001 15:50:44 +0600
X-Authentication-Warning: mail.partex.net: www set sender to zrahman@partex.net using -f
Received: from 202.4.96.6 ( [202.4.96.6])
as user zrahman@mail.partex.net by mail.partex.net with HTTP;
Sat, 3 Nov 2001 15:50:44 +0600
Message-ID: <1004781044.3be3bdf49af86@mail.partex.net>
Date: Sat, 3 Nov 2001 15:50:44 +0600
From: M Z Rahman <zrahman@partex.net>
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
X-Originating-IP: 202.4.96.6
X-Webmail-Company: Dhakacom Limited.
Subject: Fwd: CVS update gives error in addressbook
Hi Jan,
I just updated from the CVS (after the commit by you which is refrenced below),
and turba is giving me the following wanring/error:
Warning: Invalid argument supplied for foreach() in
/www2/horde-CVS-01-11-01/turba/search.php on line 80
Also, my search in the address book doen't give any result.
Regards,
Zia
Quoting Jan Schneider <jan@horde.org>:
> Nice catch! Commited to cvs, thanks.
>
> Jan.
>
> Zitat von nlin@newton.berkeley.edu:
>
> >
> > Okay, I just dug through the code and I think I've figured out why the
> > "Search fields" panel in Options->Addressbook was confusing me.
> >
> > In my turba/config/sources.php file, I have:
> >
> > 'search' => array(
> > 'name',
> > 'email',
> > 'workPhone',
> > ),
> >
> > where workPhone is something I added to turba/config/attributes.php.
> > But in Options->Addressbook, it was only displaying "Name" & "Email". It
>
> > never displayed "workPhone" so I didn't know where things were coming
> from.
> >
> > Anyways, I think this is a bug in the code, and here's the diff. It's
> just
> >
> > moving the $field_count++ into the if statement. Sorry if my diff is in
> the
> >
> > wrong format.
> >
> >
> > nancy
> >
> > -------------
> > *** sourceselect.inc Wed Oct 31 10:11:36 2001
> > --- sourceselect.inc.orig Wed Oct 31 10:04:40 2001
> > ***************
> > *** 59,66 ****
> > if ($field['search']) {
> > $marked = isset($selected_fields[$source]) &&
> > in_array($field['name'], $selected_fields[$source]) ? 'true' : 'false';
> > $js .= "searchFields[$source_count][$field_count] = new
>
> > Array('" . $field['name'] . "', '" . $field['desc'] . "', $marked);\n";
> > - $field_count++;
> > }
> > }
> >
> > $source_count++;
> > --- 59,66 ----
> > if ($field['search']) {
> > $marked = isset($selected_fields[$source]) &&
> > in_array($field['name'], $selected_fields[$source]) ? 'true' : 'false';
> > $js .= "searchFields[$source_count][$field_count] = new
>
> > Array('" . $field['name'] . "', '" . $field['desc'] . "', $marked);\n";
> > }
> > + $field_count++;
> > }
> >
> > $source_count++;
> >
> >
> > --
> > 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
> >
> >
>
>
> ::::::::::::::::::::::::::::::::::::::::
> AMMMa AG - discover your knowledge
> :::::::::::::::::::::::::::
> Detmolder Str. 25-33 :: D-33604 Bielefeld
> fon +49.521.96878-0 :: fax +49.521.96878-20
> http://www.ammma.de
> ::::::::::::::::::::::::::::::::::::::::::::::
>
> --
> 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
>
----- End forwarded message -----