Turba configuration, sql settings

Michael Bull mbull@uoguelph.ca
Tue, 06 Feb 2001 14:54:42 -0500


Hi all.

I'm making a run at setting up Turba.   I created the tables from the
turba.sql file in turba's docs directory, and gave the database user rights
to those tables.   I then configured the sources.php configuration file for
the database.

When I click on "add", I get the menu bar with no content (effectively
blank, but it still looks like turba).  My sources.php makes reference to
using a table named "addresses",  one of the default settings still in
there, however I have no such table in my database -- nor could I find any
mention of it in the docs or list archives.    I tried using
"Turba_Objects", which did exist, as the table... but I still get the blank
screen.  FWIW, I'm using postgres.

Any thoughts as to how I'm doing here...?   Thanks!






>From chuck@horde.org Date: Tue,  6 Feb 2001 14:58:42 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 19451 invoked from network); 6 Feb 2001 19:59:38 -0000
Received: from r94aag005136.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 6 Feb 2001 19:59:38 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 4A48A3CA9; Tue,  6 Feb 2001 14:58:42 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Tue,  6 Feb 2001 14:58:42 -0500
Message-ID: <981489522.3a8057720aad6@marina.horde.org>
Date: Tue,  6 Feb 2001 14:58:42 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
Cc: turba@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] Turba configuration, sql settings

Quoting Michael Bull <mbull@uoguelph.ca>:

> When I click on "add", I get the menu bar with no content (effectively
> blank, but it still looks like turba).  My sources.php makes reference to
> using a table named "addresses",  one of the default settings still in
> there, however I have no such table in my database -- nor could I find any
> mention of it in the docs or list archives.    I tried using
> "Turba_Objects", which did exist, as the table... but I still get the blank
> screen.  FWIW, I'm using postgres.

You appear to have been _just_ ahead of me. =) I just finished the nicer UI for 
add - the initial commit of add functionality required that you specify a 
source in the query string. Update your cvs as of my last commit, and it should 
now work.

Note: if you're going to use the SQL driver, at least with mysql and possibly 
postgres, too, make SURE that you are using the latest DB.php from php4 (pear) 
cvs. DB::isError() considered null not an error in the older code, and that 
breaks things badly in some cases (infinite-loop badly).

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me