Zum Inhalt springen

Die auszukommentierende die funktion fehlt

Erstellt am 8. September 2005 · 4 Antworten · letzte Antwort am 9. September 2005

Tags: Frage, TYPO3 3

mike55 ·

Hi,

bei mir kommt zwar die übliche Fehlermeldung, NUR:
die Zeile 45 mit die funktion und "In the source..."
gibts bei mir gar nicht.
Die erste Zeile mit die Funktion kommt in Zeile 66 und lautet:

if (!@is_dir(PATH_typo3conf)) die('Cannot find configuration. This file is probably executed from the wrong location.');

Habe ich was falsch gemacht?
Ich habe quickstart 3.8 auf meinem rechner entpackt und auf meinem allinkl Server(mitphp) hochgeladen. Im Browser kommt dann die Fehlermeldung:

"In the source distribution of TYPO3, the install script is disabled by a die() function call.
Fix: Open the file typo3/install/index.php and remove/out-comment the line that outputs this message!"

ms70 ·

diese Zeilen auskommentieren, wie die Fehlermeldung ja auch sagt:

if (1==0 || (substr($_SERVER['REMOTE_ADDR'],0,7)!='192.168' && $_SERVER['REMOTE_ADDR']!='127.0.0.1'))		{
	die("In the source distribution of TYPO3, the install script is disabled by a die() function call.<br /><b>Fix:</b> Open the file typo3/install/index.php and remove/out-comment the line that outputs this message!");
}
mike55 ·
ms70 schrieb
if (1==0 || (substr($_SERVER['REMOTE_ADDR'],0,7)!='192.168' && $_SERVER['REMOTE_ADDR']!='127.0.0.1'))		{
	die("In the source distribution of TYPO3, the install script is disabled by a die() function call.<br /><b>Fix:</b> Open the file typo3/install/index.php and remove/out-comment the line that outputs this message!");
}

Wenn ich das richtig verstanden habe, sollte doch irgendwo im Quelltext meiner index.php stehen: "in the source distribution..." oder nicht?
Ich hab die ganze php durchsucht, nix.
Soll ich dann das, was du gerade geschrieben hast einfach einfügen? Wenn ja wo?

humpun ·
mike55 schrieb

Wenn ich das richtig verstanden habe, sollte doch irgendwo im Quelltext meiner index.php stehen: "in the source distribution..." oder nicht?

Schau in "typo3/install/index.php" nach "die" kommentier die Zeile aus und es geht.

humpun