[TYPO3-german] Installation: localconf.php is not found!

Paul Muster paul at muster.dyndns.info
Sun Jun 3 21:19:24 CEST 2007


Paul 'Ingrid' Muster wrote:

> Das heisst, es muss _entweder_ die Datei existieren _oder_ man muss die 
> Zeile auskommentieren. Und die Datei existiert ja, denn die Fehler- 
> meldung lautet ja anders.

Die Stelle, welche die Meldung "localconf.php is not found!" verursacht, 
ist Zeile 271 von typo3_src-4.1.1/t3lib/config_default.php
Dort steht

|         // Include localconf.php. Use this file to configure TYPO3 for 
your needs and database
| if (!@is_file(PATH_typo3conf.'localconf.php'))  die('localconf.php is 
not found!');
| require(PATH_typo3conf.'localconf.php');

Ich halte es für einen Bug, der hier zuschlägt. Denn PATH_typo3conf ist 
offenbar gesetzt, weil sonst Zeile 17

| if (!defined ('PATH_typo3conf'))        die ('The configuration path 
was not properly defined!');

mich schon rauskegeln würde. Nur auf was? Wo wird die Variable gesetzt? 
In typo3_src-4.1.1/typo3/init.php findet sich in Zeile 136

|        define('PATH_typo3conf', PATH_site.'typo3conf/');       // Abs. 
TYPO3 configuration path (local, not part of source)

Nagut, wo ist PATH_site definiert? Drei Zeilen drüber:

|  define('PATH_site', substr(PATH_typo3,0,-strlen(TYPO3_mainDir)));

Und da verlassen mich meine PHP-Kenntnisse.


mfG Paul


More information about the TYPO3-german mailing list