[turba] Turba Oracle

Joseph C. Bautista Joseph.Bautista at fcciq8.com
Sun Aug 21 02:07:59 PDT 2005


Hi All,

    I've digging the internet for half a day now trying to figure out 
how I can make turba to work with Oracle9i.

    I've already created a table Turba_Objects using Horde/Hordemail 
account. Here is the contents of my sources.php

    $cfgSources['localsql'] = array(
    'title' => _("My Addressbook"),
    'type' => 'sql',
    // The default connection details are pulled from the Horde-wide SQL
    // connection configuration.
    //
    // The old example illustrates how to use an alternate database
    // configuration.
    //
    // New Example:
    //'params' => array_merge($conf['sql'], array('table' => 
'turba_objects')),

    // Old Example:
     'params' => array(
         'phptype' => 'oci8',
         'hostspec' => 'npaserver',
         'username' => 'horde',
         'password' => 'fccimail',
         'database' => '',
         'table' => 'turba_objects',
         'charset' => 'iso-8859-1'
     ),
   
    The contents of conf.php in turba

    <?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: turba/config/conf.xml,v 1.6 2004/12/08 17:08:37 jan Exp $
$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array('imp');
$conf['client']['addressbook'] = 'localsql';
$conf['search']['cache'] = true;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */

and Finally my conf.php in Horde

$conf['debug_level'] = E_ALL;
$conf['max_exec_time'] = 0;
$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['server']['port'] = $_SERVER['SERVER_PORT'];
$conf['compress_pages'] = true;
$conf['umask'] = 077;
$conf['session']['name'] = 'Horde';
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/horde';
$conf['sql']['persistent'] = true;
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = 'fccimail';
$conf['sql']['hostspec'] = 'npa';
$conf['sql']['charset'] = 'iso-8859-1';
$conf['sql']['phptype'] = 'oci8';
$conf['auth']['admins'] = array('root', 'joseph');
$conf['auth']['checkip'] = true;
$conf['auth']['params']['hostspec'] = 'fcci.fcciq8.com';
$conf['auth']['params']['port'] = 143;
$conf['auth']['params']['protocol'] = 'imap/notls';
$conf['auth']['params']['imapconfig'] = 'separate';
$conf['auth']['driver'] = 'imap';
$conf['signup']['allow'] = false;
$conf['signup']['approve'] = true;
$conf['signup']['preprocess'] = false;
$conf['signup']['queue'] = false;
$conf['log']['priority'] = PEAR_LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;
$conf['prefs']['driver'] = 'none';
$conf['datatree']['driver'] = 'null';
$conf['group']['driver'] = 'datatree';
$conf['cache']['default_lifetime'] = 1800;
$conf['cache']['params']['dir'] = Horde::getTempDir();
$conf['cache']['driver'] = 'file';
$conf['token']['driver'] = 'none';
$conf['mailer']['params']['sendmail_path'] = '/usr/sbin/sendmail';
$conf['mailer']['params']['sendmail_args'] = '-oi';

In the browser, it gives me the error :

*Notice*: Use of undefined constant DB_PORTABILITY_LOWERCASE - assumed 
'DB_PORTABILITY_LOWERCASE' in 
*/www/html/horde-3.0.5/turba-h3-2.0.3/lib/Driver/sql.php* on line *37

Anybody can help?

Thank you,
*   

-- 
(`/\
 `=\/\ __...--~~~~~~~-._   _.-~~~~~~---...__ 
  `=\/\  {=}            \_/                \\ 
   `=\/\ {=}     Joseph C. Bautista         \\ 
    `=\/\{=}     I.N. Team Leader / OSS Engr \\ 
     `=\/{=}     FCCI Kuwait                  \\ 
      \/ {=}    (+63) 09277799999              \\ 
     \/  {=}    (+965)9394038                   \\
    \/_\_{=}__--~~~~~~~-._     _.-~~~~~~~~--...__\\ 
 |\//) (..----~~~~~~~._\ | /_.~~~----------....._.|| 
 |+==( INK )===========\\|//=======================+



-- 
This message has been scanned for viruses and dangerous content by host-center.net and is believed to be clean.



More information about the turba mailing list