[Typo3-dev] Postgresql compatibility

Ries van Twisk typo3 at rvt.dds.nl
Sun Aug 22 23:29:08 CEST 2004


arne,

Ok, I did just that....

When I don't change my localconf.php the systems give me this warning:

Warning:
main(/opt/www/external/domainname.homelinux.net/typo3/ext/install/mod/class.tx_install.php):
failed to open stream: No such file or directory in
/opt/www/external/typo3_src-dbal/typo3/init.php on line 215

Fatal error: main(): Failed opening required
'/opt/www/external/domainname.homelinux.net/typo3/ext/install/mod/class.tx_install.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/opt/www/external/typo3_src-dbal/typo3/init.php on line 215

and when I change my localconf.php to this it still tries to connect to mysql:

Ries
<?php

$TYPO3_CONF_VARS["SYS"]["sitename"] = 'QuickStart';
$TYPO3_CONF_VARS["EXT"]["extList"] =
'tsconfig_help,context_help,extra_page_cm_options,rte,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,tstemplate_styler,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,phpmyadmin,aboutmodules,imagelist,setup,taskcenter,sys_notepad,taskcenter_recent,taskcenter_rootlist,info_pagetsconfig,viewpage,tt_guest,mininews,tt_board,sys_todos,sys_workflows,conf_userts';
      // Modified or inserted by Typo3 Extension Manager. 

// Setting Install Tool password to the default "joh316":
$TYPO3_CONF_VARS["BE"]["installToolPassword"] = "bacb98acf97e0b6112b1d1b650b84971";

$TYPO3_CONF_VARS['EXTCONF']['dbal']['handlerCfg'] = array (
 '_DEFAULT' => array (
  'type' => 'adodb',
  'config' => array(
   'driver' => 'postgres',
   'username' => 'username',
   'password' => '',
   'host' => 'localhost',
   'database' => 'testdb'
  )
 )
);

$typo_db_username = 'username';
$typo_db_password = '';
$typo_db_host = 'localhost';
$typo_db = 'testdb';


$TYPO3_CONF_VARS['EXT']['extList'] =
'tsconfig_help,context_help,extra_page_cm_options,rte,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,tstemplate_styler,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,phpmyadmin,aboutmodules,imagelist,setup,taskcenter,sys_notepad,taskcenter_recent,taskcenter_rootlist,info_page,tsconfig,viewpage,dbal';

?>





> Ries,
> the tar.bz2 file contains the typo3 code, modified so that it can use
> the DBAL code. The way I got it to work was like this:
> 1) Installed the modified code contained in
> TYPO3core.DBAL.20040806.tar.bz2
> 2) Started typo3 with a dummy MySQL backend.
> 3) Installed the dbal extension with the extension manager. (For some
> reason putting hacking the localconf.php file didn't work)
> 
> Arne
> :wq
> 
> 
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
> 








More information about the TYPO3-dev mailing list