[imp] does horde/imp have to be installed from root of web tree?

Mike Coughlan mcoughlan@gothambroadband.com
Thu, 1 Nov 2001 09:59:50 -0500


That is a good question.  At the same time, look to apache for virtual
hosting, where each new domain has it's own webroot.

> -----Original Message-----
> From: Jon Parise [mailto:jon@horde.org]
> Sent: Thursday, November 01, 2001 9:50 AM
> To: 'imp@lists.horde.org'
> Subject: Re: [imp] does horde/imp have to be installed from root of web
> tree?
>
> > and If I wanted multiple instances of horde running (ie.
> > horde1/horde2) for various customers how can I keep all the
> > horde apps from generating URLS that look at /horde?
>



>From zrahman@partex.net Date: Thu,  1 Nov 2001 21:18:43 +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 52162 invoked from network); 1 Nov 2001 15:15:45 -0000
Received: from partex.net (HELO mail.partex.net) (root@202.4.96.10)
  by clark.horde.org with SMTP; 1 Nov 2001 15:15:45 -0000
Received: (from www@localhost)
	by mail.partex.net (8.9.3/8.9.3) id VAA02797
	for imp@lists.horde.org; Thu, 1 Nov 2001 21:18: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;
	Thu,  1 Nov 2001 21:18:43 +0600
Message-ID: <1004627923.3be167d3e1c57@mail.partex.net>
Date: Thu,  1 Nov 2001 21:18:43 +0600
From: M Z Rahman <zrahman@partex.net>
To: imp@lists.horde.org
References: <1004479663.3bdf24af120c5@webmail.decf.berkeley.edu> <1004486855.3bdf40c77edf7@linux.wg.de> <1004487413.3bdf42f58a844@webmail.decf.berkeley.edu> <1004498880.3bdf6fc097c39@marina.horde.org> <1004520290.3bdfc3623dba9@linux.wg.de> <1004551989.3be03f35f2978@webmail.decf.berkeley.edu> <1004553203.3be043f325508@linux.wg.de>
In-Reply-To: <1004553203.3be043f325508@linux.wg.de>
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: Re: [imp] expanding names.... CVS update gives error


Hi Jan,

I just updated from the CVS, 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

I thought I should let you know.

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
>