Hallo Leute,
habe Probleme beim Straten von Typo3 unter localhost. Habe apache, php5, phpadmin und typo3 nach der Anleitung im Wiki installiert. Die typo3-Loginseite ließ sich fehlerfrei über 'http://127.0.0.1/typo3/typo3/' öffnen. Beim Einloggen bekomme ich jedoch immer den Hinweis
'Your login attempt did not succeed. Make sure to spell your username and password correctly, including upper/lowercase characters.'
Daraufhin öffnete ich das 'Typo3 4.1 Install Tool' unter '1: Basic Configuration' um nach Warnhinweisen zu suchen. Zwei Warnhinweise wurden angezeigt.
1) typo3/ext/ directory not writable
Full path: /var/lib/typo3-dummy/typo3/ ext/6ee4436d80b1e9355e97c3fb61417e74 Location for global extensions. Must be writable if the Extension Manager is supposed to install extensions globally in the source.
Tried to write this file (with touch()) but didn't succeed. The directory typo3/ext/ does not neccesarily have to be writable.
2) Safe mode turned on
safe_mode=on In safe_mode PHP is restricted in several ways. This is a good thing because it adds protection to your (and others) scripts. But it may also introduce problems. In TYPO3 this may be a problem in two areas: File administration and execution of external programs, in particular ImageMagick. If you just ignore this warning, you'll most likely find, that TYPO3 seems to work except from the image-generation. The problem in that case is that the external ImageMagick programs are not allowed to be executed from the regular paths like "/usr/bin/" or "/usr/X11R6/bin/". If you use safe_mode with TYPO3, you should disable use of external programs ([BE][disable_exec_function]=1). In safe mode you must ensure that all the php-scripts and upload folders are owned by the same user.
safe_mode_exec_dir=/var/lib/typo3-dummy/execdir/ If the ImageMagick utilities are located in this directory, everything is fine. Below on this page, you can see if ImageMagick is found here. If not, ask you ISP to put the three ImageMagick programs, 'convert', 'combine'/'composite' and 'identify' there (eg. with symlinks if Unix server)
Example of safe_mode settings: Set this in the php.ini file:
; Safe Mode safe_mode = On safe_mode_exec_dir = /usr/bin/
...and the ImageMagick '/usr/bin/convert' will be executable. The last slash is important (..../) and you can only specify one directory.
Notice: ImageMagick 4.2.9 is recommended and the binaries are normally installed by RPM in /usr/X11R6/bin or by compiling in /usr/local/bin. Please look in the "Inside TYPO3" pdf-document for extensive information about ImageMagick issues. Paths to ImageMagick are defined in localconf.php and may be something else than /usr/bin/, but this is default for ImageMagick 5+
Bei der 1. Fehlermeldung weiß ich leider gar nicht wie ich reagieren soll. Bei der 2. Fehlermeldung habe ich in die php.ini die entsprechende Stelle auf
; Safe Mode
safe_mode = On
safe_mode_exec_dir = /usr/bin/
geändert. Leider ohne Erfolg.
Frage: Wie gehts also weiter?????