[TYPO3] newbie: installation with DBAL
Hugo Ahlenius
Hugo.Ahlenius at grida.no
Tue Jun 13 12:29:17 CEST 2006
Hi,
I am very new to typo3 and quite new to php (I am a long time
ColdFusion/CFML developer, so I am not new to this part of the world
though).
I wanted to try out typo3 with an existing mssql server, so I was
experimenting with it on my laptop. I didn't manage to get very far using
DBAL though.
* I have verified that my webserver and php works fine
* I unzipped the typo3 src and testsite to my web-server (not in the root of
IIS though, but in a /typo3 sub-dir)
* I can see that the installation walk-through would start if I hit the
typo3 install page, and that loads up fine (I don't touch anything there
though)
* Next I create a database and user in MSSQL for typo3
* I dowload and put the adodb and dbal .t3x files in the typo3conf/ext
folder
* I add some stuff, according to the DBAL manual, to localconf.php
* When I now try to hit install, I just get a blank, empty page...
* PHP error log shows: DBAL error: Connection to mssql:///?persistent=1
failed. Maybe PHP doesn't support the database?
Any tips/input?
My localconf.php looks like this:
<?php
$TYPO3_CONF_VARS['SYS']['sitename'] = 'New TYPO3 site';
// Default password is "joh316" :
$TYPO3_CONF_VARS['BE']['installToolPassword'] =
'bacb98acf97e0b6112b1d1b650b84971';
$TYPO3_CONF_VARS['EXT']['extList'] =
'tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemp
late,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate
_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,
belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rt
ehtmlarea,css_styled_content,t3skin';
$TYPO3_CONF_VARS['EXTCONF']['dbal']['handlerCfg'] = array (
'_DEFAULT' => array (
'type' => 'adodb',
'config' => array(
'username' => 'typo3',
'password' => 'xxxxx',
'host' => 'localhost',
'database' => '',
'driver' => 'mssql',
)
)
);
$TYPO3_CONF_VARS['EXT']['extList'] .= ',adodb,dbal';
## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be
changed by the install script!
?>
--
Hugo Ahlenius
fraxinus (@) oxel.net
http://www.oxel.net
###########################################This message has been scanned by
F-Secure Anti-Virus for Microsoft Exchange.Formore information, connect to
http://www.F-Secure.com/
More information about the TYPO3-english
mailing list