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

JoH asenau info at cybercraft.de
Tue Jun 5 21:30:19 CEST 2007


>>> 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:

Wenn man es mal rein logisch betrachtet, hast Du kein Problem mit dem
Zugriff auf

"typo3conf/localconf.php"

sondern zunächstmal nur mit

PATH_typo3conf."localconf.php"

Das bedeutet
a) nicht zwangsläufig, daß es überhaupt ein Rechteproblem ist
b) ggf. daß einfach "PATH_typo3conf" einen falschen Wert liefert

In den Quellen kannst Du übrigens beliebig rumpfuschen, weil Du sie
jederzeit kostenlos wieder runterladen kannst.

Empfehlung für die Ursachenforschung:
Änder mal diese Zeile

if (!@is_file(PATH_typo3conf.'localconf.php')) die('localconf.php is not
found!');

in

if (!@is_file(PATH_typo3conf.'localconf.php')) die(PATH_typo3conf);

und dann teil uns mal mit, was dort steht.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-german mailing list