[turba] Turba Latest CVS and MySQL

Nicola Foggi nfoggi@wppost.depaul.edu
Mon, 23 Jul 2001 12:13:32 -0500


Nevermind...

Just saw a post on the IMP mailing list answering the question...

>>> nfoggi@wppost.depaul.edu 07/23/01 10:19AM >>>
Hey Everyone:

I'm currently running the latest (as of last week sometime) CVS version of Turba.  I'm having a problem that every time I go to add a contact I put in all the information and all I click "SAVE" and all I get back is a blank white screen from addobjectaction.php and nothing is added into the database... I'm following the HORDE mailing list and saw someone who had to manually copy over the PEAR and DB directories because they didn't install, but I did a 'make install' in the PEAR directory of PHP and I verified it overwrote my old version!

I'm running PHP 4.0.6 with it's version of PEAR.  Here is my "sources.php" file did I make some glaring mistake?

$cfgSources = array();

$cfgSources['localsql'] = array(
    'title' => 'Local SQL',
    'type' => 'sql',
    'params' => array(
        'phptype' => 'mysql',
        'hostspec' => 'localhost',
        'username' => 'xxxx',
        'password' => 'xxxx',
        'database' => 'horde',
        'table' => 'Turba_Objects'
    ),
    'map' => array(
        '__key' => 'object_ID',
        '__owner' => 'owner_ID',
        'name' => 'name',
        'alias' => 'alias',  
        'email' => 'email',
        'homeAddress' => 'homeAddress',
        'workAddress' => 'workAddress',
        'homePhone' => 'homePhone',
        'workPhone' => 'workPhone',
        'cellPhone' => 'cellPhone',
        'fax' => 'fax',
        'title' => 'title',
        'company' => 'company', 
        'notes' => 'notes'
    ),
    'public' => false,
    'readonly' => false
);

Any ideas?  Thanks!

Nicola


--
Turba mailing list: http://horde.org/turba/ 
Frequently Asked Questions: http://horde.org/faq/ 
To unsubscribe, mail: turba-unsubscribe@lists.horde.org