[TYPO3] newbie: installation with DBAL
Hugo Ahlenius
Hugo.Ahlenius at grida.no
Wed Jun 14 17:48:48 CEST 2006
Hi again,
I can respond to my own e-mail -- I hadn't realized that one needed to
activate mssql support in php.ini -- with that done I managed to create the
databases and progress with the install tool.
So now I got a bit further... But still not all the way. When I try to login
to the backend, I always get an "Error! Login-error or session timed-out" no
matter what I do. I get a different screen when I try to login with an
invalid username/pass, so that is not the case.
I get this regardless of browsers.
I suspect that this has something to do with php's sessions (which seem to
be created correctly). Any tips?
By the way -- I didn't get any responses on my previous message, is there a
better place to ask newbie questions like these and get a response from the
community?
/Hugo
--
Hugo Ahlenius
-------------------------------------------------------------
Hugo Ahlenius E-Mail: hugo.ahlenius at grida.no
Project Officer Phone: +46 8 412 1427
UNEP GRID-Arendal Fax: +46 8 723 0348
Stockholm Office Mobile: +46 733 467111
WWW: http://www.grida.no
Skype: callto:fraxxinus
-------------------------------------------------------------
|-----Original Message-----
|From: Hugo Ahlenius
|Sent: Tuesday, June 13, 2006 12:27
|To: 'typo3-english at lists.netfielders.de'
|Subject: newbie: installation with DBAL
|
|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_no
|te,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_obj
|browser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_
|sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,task
|center,info_pagetsconfig,viewpage,rtehtmlarea,css_styled_conten
|t,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