Zum Inhalt springen

Problem mit der Installation von Modulen (Hilfe!)

Erstellt am 7. April 2003 · 3 Antworten · letzte Antwort am 8. April 2003

Tags: Frage

zenok ·

Hi,

mein typo3 läuft super und bei der Installation eines Modules bzw. hier als Beispiel mit dem Gästebuch passiert folgendes:

Installing Guestbook: WRITE ACCESS ERROR

typo3conf/localconf.php seems not to be writable, so the extension cannot be installed automatically!

localconf.php ist schreibbar

Hier meine typo3 Verzeichnisstruktur:

-rw-r--r-- 1 web1057 ftponly 2845 Apr 5 13:31 INSTALL.txt
-rw-r--r-- 1 web1057 ftponly 7572 Apr 5 13:31 README.txt
-rw-r--r-- 1 web1057 ftponly 134 Apr 5 13:31 _.htaccess
(drwxr-xr-x 2 web1057 ftponly 35 Mär 23 19:32 cgi-bin)
-rw-r--r-- 1 web1057 ftponly 46 Apr 5 13:31 clear.gif
drwxr-xr-x 4 web1057 ftponly 112 Apr 6 13:35 fileadmin
-rw-r--r-- 1 web1057 ftponly 17484 Apr 5 13:31 index.php
drwxr-xr-x 10 web1057 ftponly 216 Apr 5 13:31 media
drwxr-xr-x 15 web1057 ftponly 485 Apr 5 13:31 misc
-rw-r--r-- 1 web1057 ftponly 6284 Apr 5 13:31 showpic.php
drwxr-xr-x 5 web1057 ftponly 2292 Apr 5 13:33 t3lib
drwxr-xr-x 3 web1057 ftponly 585 Apr 5 13:37 tslib
drwxr-xr-x 10 web1057 ftponly 3217 Apr 5 13:39 typo3
drwxr-xr-x 3 web1057 ftponly 137 Apr 5 13:40 typo3conf
drwxr-xr-x 2 web1057 ftponly 35 Apr 5 13:31 typo3temp
drwxr-xr-x 6 web1057 ftponly 145 Apr 5 13:41 uploads

Im Moment ist nur localconf.php schreibbar und ich habe nichts bisher an den Rechten geändert außer /fileadmin/user_upload ist auch 777.

Muss ich irgendwo noch etwas ändern oder gibts Probleme bei meiner Verzeichnisstruktur.

Vielen Dank für die Hilfe,
zenok

Shinji ·

Hallo !

Wenn du Telnet/SSH Zugang hast führe mal folgendes Script im Root der Seite aus:

sh setperm.sh web1057 ftponly

#!/bin/sh

if [ -z $1 -o -z $2 ]; then
    echo "The scripts sets proper user settings. Use group and user of webserver (e.g. nobody nobody)"
    echo
    echo "Usage: sh $0 webuser webgroup"
    exit 1
fi

for dir in fileadmin typo3conf uploads typo3temp typo3/temp typo3/ext; do
    echo "Setting permissions on $dir"
    if [ -d $dir ]; then
        chown -R "$1" $dir
        chgrp -R "$2" $dir
    else
        echo "$dir not found. Perhaps ran from wrong dir???"
    fi
done
for dir in typo3temp typo3/temp typo3conf typo3conf/ext typo3/ext uploads uploads/pics uploads/media uploads/tf fileadmin fileadmin/_temp_; do
    echo "Setting write permissions on $dir"
    if [ -d $dir ]; then
      chmod 775 $dir
    else
      echo "$dir not found. Perhaps ran from wrong dir???"
    fi
done

Gruß
Thorsten

bk ·

hallo zenok,

versuch mal im install-tool unterhalb von "all configuration" folgenden wert zu setzen:

[allowGlobalInstall]

danach sollte es funktionieren.

um die verzeichnisse mit den richtigen rechten zu versehen, solltest du auch im install-tool auf basic configuration gehen und dort unterhalb von directories: alle verzeichnisse mit einem grünen hacken versehen haben.
sind dort rote felder musst du die verzeichnisse mit den richtigen rechten versehen.

mfg

bk

zenok ·

Es ist schlimmer: 😃

Ein einfacher Anfängerfehler:
Die Ordner hatten alle noch nicht die richtigen Rechte ich habe noch nicht so viel mit dem typo3 install tool gemacht, aber nachdem ich alles gesetzt habe: Alles OK 8-)

Danke,
zenok