Ergebnis 1 bis 3 von 3

Thema: typolight 2.7.5 auf FreeBSD 7.2 SMH Fragen

  1. #1
    Contao-Nutzer
    Registriert seit
    25.10.2009.
    Beiträge
    2

    Standard typolight 2.7.5 auf FreeBSD 7.2 SMH Fragen

    Hallo,
    Ich versuche typolight 2.7.5 auf FreeBSD 7.2 zu installieren.
    Meine Umgebung:
    apache 2.2.11_4
    php 5.2.11_1
    mysql 5.1.39

    http.conf: typolight Verzeichnis via Directory Alias eingebunden
    Code:
    <Directory "/usr/local/www/typolight">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    http.conf: typolight Verzeichnis
    Code:
    <IfModule alias_module>
    ...
        #-------------------------------------------------------------
        # fuer typolight
        Alias /typolight "/usr/local/www/typolight"
        # 
        ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"
    </IfModule>
    http.conf: php aktiviert
    Code:
    <IfModule mime_module>
    ...
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php-source .phps
        #  PHP code inside of .htm files :
        #AddType application/x-httpd-php .php .htm .html
    </IfModule>
    Das typolight-check tool Version 2.7.2 empfiehlt den SMH.
    Habe den SMH konfiguriert:
    safemode on in php.ini
    localconfig.php angepasst,
    ftpuser typolightftp eingerichtet, UID:typolightftp,GID typolightftp
    alle Dateien im typolight Verzeichnis chown typolightftp, chgrp typolightftp
    Rechte auf den Ordner system /tmp /logs /html angepasst
    typolight-check meldet immer noch Probleme:
    Code:
    TYPOlight 2.7.2 system check
    PHP configuration
    Parameter	•	Value	Description
    Safe mode	•	On	Recommended setting is Off. DIESE ZEILE IST ROT HINTERLEGT
    Maximum execution time	 	30	Recommended setting is 30 or greater.
    Memory limit	 	128M	Recommended setting is 16M or greater.
    Register globals	 	Off	Recommended setting is Off.
    File uploads	 	On	Recommended setting is On.
    Upload maximum filesize	 	8M	Recommended setting is 8M or greater.
    SOAP extension	 	On	Recommended setting is On.
    
    If there are any warnings, TYPOlight might not work properly. If PHP safe_mode is enabled (first line), you have to use the "Safe Mode Hack" to run TYPOlight. Otherwise, you will not be able to create or modify files or use the live update feature.
    
    You should be able to use the TYPOlight extension repository.
    File permissions
    Parameter	•	Value	Description
    Operating system	 	FreeBSD	FreeBSD VMFREEBSD72 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
    Create directory	•	Error	Error creating directory "typolight-check"
    Directory permissions	•	0	Recommended directory permission setting is 775 or 755 or 750.
    Directory owner	•	root	The new directory should be owned by typolightftp.
    Create file	•	Error	Error creating file "typolight-check.txt"
    File permissions	•	0	Recommended file permission setting is 664 or 644 or 640.
    File owner	•	root	The new file should be owned by typolightftp.
    
    If there are any warnings, you have to use the "Safe Mode Hack" to run TYPOlight. Otherwise, you will not be able to create or modify files and you will not be able to use the live update feature. Making files and folders writeable is not recommended!
    
    You will most likely not be able to run TYPOlight without Safe Mode Hack.
    typolight-check meldet keine Probleme mit Dateiberechtigungen mehr.

    In /var/log/httpd-error.log sind folgende Meldungen:
    Code:
    [Sun Oct 25 08:24:44 2009] [error] [client 192.168.30.2] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'system/initialize.php' (include_path='.:/usr/local/share/pear') in /usr/local/www/apache22/data/smhcheck.php on line 24
    [Sun Oct 25 08:27:59 2009] [error] [client 192.168.30.2] PHP Notice:  Undefined index:  hide in /usr/local/www/typolight/typolight-check.php on line 2374, referer: http://vmfreebsd72.topitservices.com/typolight/typolight-check.php?hide=1
    Die erste Fehlermeldung ist mir klar, ich habe kein "PEAR" Framework installiert.
    Ich habe nur php5-soap-5.2.11_1 installiert.

    Was mach ich falsch ?
    Geändert von jokr (25.10.2009 um 11:09 Uhr)

  2. #2
    Contao-Nutzer
    Registriert seit
    25.10.2009.
    Beiträge
    2

    Lächelndes Gesicht typolight 2.7.5 auf FreeBSD 7.2

    Hallo,
    nach etlichem Tüfteln funktioniert jetzt alles ohne den SMH.
    Eine Anpassung der Rechte im Filesystem brachte die Lösung.
    Was mich jetzt noch stört:
    Ruft man das typolight-check.php auf, so werden 2 Fehlermeldungen in
    /var/log/httpd-error.log erzeugt.
    Code:
    [Sun Oct 25 20:44:25 2009] [error] [client 192.168.30.1] PHP Notice:  Undefined index:  hide in /usr/local/www/typolight/typolight-check.php on line 2374, referer: http://vmfreebsd72.xyz.com/typolight/typolight-check.php?hide=1
    [Sun Oct 25 20:44:25 2009] [error] [client 192.168.30.1] PHP Notice:  Undefined index:  hide in /usr/local/www/typolight/typolight-check.php on line 2412, referer: http://vmfreebsd72.xyz.com/typolight/typolight-check.php?hide=1
    Ist das normal?
    Das typolight-check-Tool hinterläßt eine Datei typolight-check.txt und ein Directory typolight-check.
    Sollte das Tool diese Dateien am Ende des Tests nicht wieder löschen?

  3. #3
    Contao-Nutzer Avatar von mgco3
    Registriert seit
    26.06.2009.
    Ort
    Luzern, Schweiz
    Beiträge
    116

    Standard

    Code:
    Directory owner	•	root	The new directory should be owned by typolightftp.
    Create file	•	Error	Error creating file "typolight-check.txt"
    File permissions	•	0	Recommended file permission setting is 664 or 644 or 640.
    File owner	•	root	The new file should be owned by typolightftp.
    Lauft dein apache als root?

    ein chown -R typolightftp:www-data /usr/local/www/typolight wäre evtl nicht nicht schlecht (weiss nicht genau wie die apache group unter bsd heisst, allenfalls anpassen)

    die notice kannst du eigentlich ignorieren...

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Ähnliche Themen

  1. Style Fragen über Fragen
    Von nevermind im Forum Layout / Templates / Holy Grail
    Antworten: 16
    Letzter Beitrag: 14.09.2010, 19:32
  2. Kalender Fragen über Fragen
    Von Felix im Forum Nachrichten/Events/FAQ
    Antworten: 12
    Letzter Beitrag: 02.06.2010, 20:20
  3. Antworten: 14
    Letzter Beitrag: 11.01.2010, 15:55
  4. Neu und gleich diverse TYPOlight-Fragen
    Von Pfiffigunde36 im Forum Layout / Templates / Holy Grail
    Antworten: 39
    Letzter Beitrag: 18.08.2009, 17:38
  5. [webShop] Fragen über Fragen
    Von Ingo_G im Forum Sonstige Erweiterungen
    Antworten: 2
    Letzter Beitrag: 26.06.2009, 22:34

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •