[TYPO3] ADOdb error

Franz Holzinger franz at fholzinger.com
Wed Oct 18 14:43:45 CEST 2006


Hello Thijs Hakkenberg,


> I defined a datasource in a t3 4.0.1 install through adodb. When I test 
> the connection, I receive this error:
> 
> 
> Error in init.php: Path to TYPO3 main dir could not be resolved correctly.
> 
> This happens if the last 6 characters of this path, 
> /hosting/www.myserver.nl/r/typo3conf/ext/adodb/, (\$temp_path) is NOT 
> "typo3/" for some reason.
> You may have a strange server configuration. Or maybe you didn't set 
> constant TYPO3_MOD_PATH in your module?
> *If you expect any help from anybody on this issue, you should save this 
> page as an html document and send it along with your request for help!*
> ------------------------------------------------------------------------
> 
> Array
> (
>    [TYPO3_OS] =>    [PATH_thisScript] => 
> /hosting/www.myserver.nl/r/typo3conf/ext/adodb/checkconnectionwizard.php
>    [php_sapi_name()] => apache
>    [TYPO3_MOD_PATH] => sysext/adodb/
>    [PATH_TRANSLATED] => 
> /hosting/www.myserver.nl/r/typo3conf/ext/adodb/checkconnectionwizard.php
>    [SCRIPT_FILENAME] => 
> /hosting/www.myserver.nl/r/typo3conf/ext/adodb/checkconnectionwizard.php
> 
> 
> )
> 
> However, on an identical installation I dont have this problem...
> 
AFAIK adodb is a system extension.
So you should not install this locally under typo3conf but into the 
sysext folder.

Greets,

Franz



More information about the TYPO3-english mailing list