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

Paul Muster paul at muster.dyndns.info
Tue Jun 5 21:12:51 CEST 2007


Hallo, Andreas,

Andreas Otto wrote:
> Paul Muster wrote:

>> 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');
> 
> Entferne bitte in Zeile 271 das Zeichen '@' vor der Funktion is_file(). Da
> Du mir nicht glaubst, daß es ein Berechtigungsproblem ist, lasse es Dir
> einfach von PHP sagen ;-)

Ich glaube dir das durchaus, möchte aber nicht in den Quellen 
rumpfuschen. Das finde ich nie wieder, wenn sich irgendwas komisch verhält.
Gut, ich habe also ein Berechtigungsproblem bzgl. der Datei 
typo3conf/localconf.php. www-data hat aber bereits das Recht, diese 
Datei zu verändern:

# la /srv/www/domain1/typo3conf/localconf.php
-rw-r--r--  1 www-data www-data 701 2007-04-02 23:41 
/srv/www/domain1/typo3conf/localconf.php

Oder hab ich ein Brett vor dem Kopf? Zur Sicherheit:

# ps aux|grep apache
root     10975  0.0  0.2 15296 6148 ?        Ss   Jun03   0:02 
/usr/sbin/apache2 -k start -DSSL
www-data 10976  0.0  0.6 22496 13092 ?       S    Jun03   1:12 
/usr/sbin/apache2 -k start -DSSL
www-data 10977  0.0  0.6 22444 12812 ?       S    Jun03   1:14 
/usr/sbin/apache2 -k start -DSSL

Passt doch, oder?


Danke nochmal schonmal ;-) & viele Grüße

Paul


More information about the TYPO3-german mailing list