[TYPO3-german] total ausgesperrt weil wieder mal gepennt

Andreas Burg typo3 at andreasburg.de
Fri Aug 29 10:49:07 CEST 2008


Thorsten Orth schrieb:
> Hallo Andreas,
> 
> bei Typo3 < 4.1 kann es an folgendem liegen:
> 
> Die Datei typo/install/index.php aufrufen und folgenden Code mit /* ... 
> */ auskommentieren:
> 
> 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!");
> 
> Genau danach habe ich mir auch mal den "Wolf" gesucht. Vielleicht hilft 
> es Dir ja.
> 
> Grüße
> 
> Thorsten

Hi Thorsten,

Christian ist der, welcher nicht ins Install-Tool kommt, aber is ja egal. Bei 
4.2.1 braucht man das nicht mehr auskommentieren, da steht jetzt folgendes drin:

	// Only allow Install Tool access if the file "typo3conf/ENABLE_INSTALL_TOOL" 
is found
$enableInstallToolFile = 
dirname(dirname(dirname($PATH_thisScript))).'/typo3conf/ENABLE_INSTALL_TOOL';

	// Change 1==2 to 1==1 if you want to lock the Install Tool regardless of the 
file ENABLE_INSTALL_TOOL
if (1==2 || ($_SERVER['REMOTE_ADDR']!='127.0.0.1' && 
!@is_file($enableInstallToolFile)))	{
	die('The Install Tool is locked.<br /><br /><strong>Fix:</strong> Create a file 
typo3conf/ENABLE_INSTALL_TOOL<br />This file may simply be empty.<br /><br />For 
security reasons, it is highly recommended to rename<br />or delete the file 
after the operation is finished.');
}

Einen "Wolf" hättest du dir nicht suchen müssen, es steht nämlich in der 
install.txt ;-)
Steht übrigens immer noch drin, obwohl man's nicht mehr braucht. Zeile 148

Andreas


More information about the TYPO3-german mailing list