[turba] turba gets PHP error...

Stefanos I. Dimitriou sdimitri at teiath.gr
Fri Mar 14 18:21:57 PST 2003


You should also add tou your attributes.php file
records like this for every value that is undefined

$attributes['businesscategory'] = array(
    'type' => 'text',
    'desc' => _("Busines Category")
);

Stefanos I. Dimitriou

----- Original Message -----
From: "Stephen Agar" <stephen.agar at usm.edu>
To: "Stefanos I. Dimitriou" <sdimitri at teiath.gr>
Cc: "turba" <turba at lists.horde.org>
Sent: Friday, March 14, 2003 6:25 PM
Subject: Re: [turba] turba gets PHP error...


> that made the addressbook search page come up..buyt the following
> warnings still show:
>
> **error begin**
>
>
>
> Warning: Undefined index: businesscategory in
> /var/www/html/horde/turba/templates/browse/search.inc on line 14
>
> Warning: Undefined index: homephone in
> /var/www/html/horde/turba/templates/browse/search.inc on line 14
>
> Warning: Undefined index: workphone in
> /var/www/html/horde/turba/templates/browse/search.inc on line 14
>
> Warning: Undefined index: cellphone in
> /var/www/html/horde/turba/templates/browse/search.inc on line 14
> **error end**
>
> any ideas?
>
> thanks,
> Stephen
>
> Stefanos I. Dimitriou wrote:
> > Comment the next two lines
> >
> > preg_match('/(^.*)@/', $uid, $uid);
> > $uid = $uid[1];
> >
> > Probably by the command $uid = Auth::getAuth();
> > you get just the username, so there is no need to have the next
> > two commands
> >
> > Stefanos I. Dimitriou
> >
> > ----- Original Message -----
> > From: "Stephen Agar" <stephen.agar at usm.edu>
> > To: <turba at lists.horde.org>
> > Sent: Friday, March 14, 2003 5:52 PM
> > Subject: [turba] turba gets PHP error...
> >
> >
> >
> >>Hi,
> >>
> >>I just recently installed Horde, Imp, and now i'm trying to install
> >>Turba. I got the newest version of everything..and the horde/imp install
> >>went fine..and works perfectly(im following the installation guide on
> >>the website). Turba seems to go ok, until I get to the part where you
> >>run mysql to create the tables, it says "no database specified" or
> >>something similar, so I run mysql -D horde < turba.sql instead of what
> >>the guide says(mysql < turba.sql). That seems to work...but when I try
> >>to test by going to my webmail page, logging in and clicking
> >>addressbook, I get the following error in the top frame of the web page.
> >>
> >>**error msg**
> >>Warning: Undefined offset: 1 in
> >>/var/www/html/horde/turba/config/sources.php on line 234
> >>
> >>Warning: Cannot add header information - headers already sent by (output
> >>started at /var/www/html/horde/turba/config/sources.php:234) in
> >>/var/www/html/horde/turba/lib/base.php on line 62
> >>***error end***
> >>
> >>
> >>does anyone have any ideas?
> >>
> >>thanks,
> >>Stephen
> >>
> >>
> >>--
> >>----------------------------------------------------
> >>Stephen Agar, Systems Administrator II
> >>University of Southern Mississippi
> >>Office of Technology Resources, Stennis Space Center
> >>e-mail: stephen.agar at usm.edu
> >>phone:  228.688.1994
> >>
> >>
> >>--
> >>Turba mailing list
> >>Frequently Asked Questions: http://horde.org/faq/
> >>To unsubscribe, mail: turba-unsubscribe at lists.horde.org
> >>
> >
> >
>
>
>
> --
> ----------------------------------------------------
> Stephen Agar, Systems Administrator II
> University of Southern Mississippi
> Office of Technology Resources, Stennis Space Center
> e-mail: stephen.agar at usm.edu
> phone:  228.688.1994
>
>



More information about the turba mailing list