Zum Inhalt springen

Installtaionsfehler: die() function need help

Erstellt am 7. Mai 2003 · 19 Antworten · letzte Antwort am 9. Mai 2003

Tags: Frage

mungo_ac ·

Hallo,

eigentlich reicht es wenn du die Zeile auskommentierst.
Einfach ein // davor.

Hast du nach der änderung überprüft ob du nicht ein Cache problem hast?
Wenn du das File öffnest kommt eine Fehlermeldung oder wenn du es im Browser aufrufst?
Guck doch mal ob die Berechtigung der Datei stimmt.

grüsse

florian

vierpunkt ·

ich hab nun die zeile auskommentiert. doch jetzt kommt folgende meldung

Parse error: parse error, unexpected T_STRING in /www/htdocs/extreme/quickstart/typo3/install/index.php on line 48

mungo_ac ·

ja.
Aber ich glaube nicht das dies das problem sein wird, da apache die Datei ja öffnen kann.
Du konntest sie ja auch Öffnen und die Zeile auskomentieren.
Eigentlich sollte alles funktionieren nach dem Auskommentieren.
Guck doch mal ob du auch die richtig Datei änderst.
Nicht das du zwei typo3 verzeichnisse hast.

mungo_ac ·

was für eine PHP-Version benutzt du denn?

ab PHP4.3.0 hat sich die define syntax leicht verändert

vierpunkt ·

ist schon die richtige datei

ist 4.3.1 php..

ich hab einfach vor die "DIE" funktion ein // gemacht dann kommt halt die meldung. komisch oder!

ich hab das cms bei all-inkl aufm server! also nicht au fmeinem eigenen rechner

mungo_ac ·

Hmm ist nix falsch dran.

Vielleicht hast du weiter oben irgendwo ausfersehn ein zeichen reingesetzt bei dem auskommentieren.
Guck mal nach.

oder probier das, aber bin mir da was unsicher ob das funktiniert.

define(TYPO3_MOD_PATH, "install/");
vierpunkt ·

also hab das mal probiert, hat aber nich geklappt..

die die funktion sieht bei mir so aus :

// This checks for my own IP at home. You can just remove the if-statement.
   die
// ("In the main source distribution of Typo3, the install script is disabled by a die() function call.<BR>Open thele      po3/install/index.php and remove/out-comment the line that outputs this message!");

aber unberührt sieht es so aus:

// This checks for my own IP at home. You can just remove the if-statement.
   die("In the main source distribution of Typo3, the install script is disabled by a die() function call.<BR>Open thele      po3/install/index.php and remove/out-comment the line that outputs this message!");

hab ich nen fehler im auskommentieren??

vierpunkt ·

den die befehl..

ok bin jetz irgendwie in der install gelandet..also im typo 3.5.0 install tool, site : quickstart

dort kann ich einiges in die leftconfig.php oder so ähnlich speichern. jedoch nich t in basic configuration bzw database analyser, da sagt er mir die seite gibts net

vierpunkt ·

also hab das mal probiert, hat aber nich geklappt..

die die funktion sieht bei mir so aus :

// This checks for my own IP at home. You can just remove the if-statement.
   die
// ("In the main source distribution of Typo3, the install script is disabled by a die() function call.<BR>Open thele      po3/install/index.php and remove/out-comment the line that outputs this message!");

aber unberührt sieht es so aus:

// This checks for my own IP at home. You can just remove the if-statement.
   die("In the main source distribution of Typo3, the install script is disabled by a die() function call.<BR>Open thele      po3/install/index.php and remove/out-comment the line that outputs this message!");

hab ich nen fehler im auskommentieren??

lies nochaml durch
wie muss ichs genaus auskommentieren??

mungo_ac ·

Hmm also falls du mit dem link deine Basics nicht ändern kannst stimmen entweder die symbolieschen Links nicht oder dein quickstart version ist kaputt.

kojicmo ·

Du hast oben was geschrieben, was auf keinen Fall fusionieren kann:

// This checks for my own IP at home. You can just remove the if-statement. 
   die 
// ("In the main source distribution of Typo3, the install script is disabled by a die() function call.<BR>Open thele      po3/install/index.php and remove/out-comment the line that outputs this message!");

Damit hast Du das "die" überhaupt nicht auskommentiert sondern
kriegst nun einen Syntaxfehler, weil Du der Funktion den Parameter
abgeschnippelt hast.

Sollte so aussehen (mit vier Zeilen davor und danach):

// **************************************************************************
// Insert some security here, if you don't trust the Install Tool Password: 
// **************************************************************************

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

// *****************************************************************************
// Defining constants necessary for the install-script to invoke the installer
// *****************************************************************************

Nun sollte es klappen.

Gruß,

Marko