Ergebnis 1 bis 11 von 11

Thema: Brauche hilfe bei Installation

  1. #1
    Contao-Nutzer
    Registriert seit
    30.08.2010.
    Beiträge
    5

    Standard Brauche hilfe bei Installation

    Hey leute, wenn ich vom server Installiern will komm immer folgende fehlermeldung Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/web1931/html/typolight/install.php on line 58.
    Kann mir einer helfen???

  2. #2
    Contao-Yoda Avatar von MacKP
    Registriert seit
    15.06.2009.
    Ort
    Duisburg
    Beiträge
    13.292
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Hallo Hanssie83,
    hier kannst du lesen warum das passiert: http://www.contao.org/faq-leser/item...-t_string.html

    Wie du das lösen kannst, wirst du per Suche hier im Forum finden oder in den FAQ von deinem Hoster.

    Viele Grüße
    Contao Pool | C-C-A | MetaModels | [Internetseite -> Mediendepot Ruhr]
    [Arbeitet bei -> Paus Design & Medien]
    "I can EXPLAIN it to you, but I can't UNDERSTAND it for you."

  3. #3
    Contao-Nutzer
    Registriert seit
    30.08.2010.
    Beiträge
    5

    Standard

    danke für die schnelle antwort, aber habe PHP 5.2 drauf

  4. #4
    Contao-Fan Avatar von Russe
    Registriert seit
    23.10.2009.
    Beiträge
    729

    Standard

    Welcher Hoster?
    Und, bist du dir sicher dass auch PHP5 aktiv ist? Manche Hoster haben PHP4 und PHP5 parallel und PHP4 als default.
    Russe

  5. #5
    Contao-Nutzer
    Registriert seit
    30.08.2010.
    Beiträge
    5

    Standard

    jetzt habe ich ht.access angelegt und nun kommt immer die Meldung Forbidden!!

  6. #6
    Contao-Fan Avatar von Russe
    Registriert seit
    23.10.2009.
    Beiträge
    729

    Standard

    Und was steht in der .htaccess drin?
    Du musst uns schon ein paar mehr Informationen zukommen lassen wenn du dir wirklich helfen lassen willst.
    Russe

  7. #7
    Contao-Nutzer
    Registriert seit
    30.08.2010.
    Beiträge
    5

    Standard

    Sorry Russe, bin bissel durch den Wind 5 std. hänge ich schon davor!
    Der Hoster heisst revido und mein ht.access sieht so aus :


    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    ##
    # Contao Open Source CMS
    # Copyright (C) 2005-2010 Leo Feyer
    #
    # Formerly known as TYPOlight Open Source CMS.
    #
    # This program is free software: you can redistribute it and/or
    # modify it under the terms of the GNU Lesser General Public
    # License as published by the Free Software Foundation, either
    # version 3 of the License, or (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    # Lesser General Public License for more details.
    #
    # You should have received a copy of the GNU Lesser General Public
    # License along with this program. If not, please visit the Free
    # Software Foundation website at <http://www.gnu.org/licenses/>.
    #
    # PHP version 5
    # @copyright Leo Feyer 2005-2010
    # @author Leo Feyer <http://www.contao.org>
    # @license LGPL
    ##

    <IfModule mod_rewrite.c>
    RewriteEngine On

    ##
    # Rewrite base
    #
    # Set the RewriteBase if your Contao installation is in a subdirectoy and
    # the rewrite rules are not working properly. Usage examples:
    #
    # RewriteBase /contao-2.9.0
    # RewriteBase /path/to/contao
    #
    # Uncomment the following line to set the RewriteBase.
    ##
    #RewriteBase /

    ##
    # Malicious requests
    #
    # Contao usually does not pass absolute URLs via GET, therefore the
    # following rules block all requests that try to pass a URL or the /etc/
    # directory as parameter.
    ##
    RewriteCond %{REQUEST_URI} (ftp|https?):|/etc/ [NC,OR]
    RewriteCond %{QUERY_STRING} (ftp|https?):|/etc/ [NC]
    RewriteRule .* - [F,L]

    ##
    # Require www
    #
    # Uncomment the following lines and replace "domain.com" with your domain
    # name to redirect requests without "www".
    ##
    #RewriteCond %{HTTP_HOST} ^domain.com [NC]
    #RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

    ##
    # Compressed .js and .css files
    #
    # Most of the JavaScript and CSS files used in Contao are also available
    # as compressed .gz version, which requires less bandwidth and optimizes the
    # page loading time. The following rules load these compressed ressources.
    ##
    AddEncoding gzip .gz
    <FilesMatch "\.js\.gz$">
    AddType "text/javascript" .gz
    </FilesMatch>
    <FilesMatch "\.css\.gz$">
    AddType "text/css" .gz
    </FilesMatch>
    RewriteCond %{HTTP:Accept-encoding} gzip
    RewriteCond %{REQUEST_FILENAME} \.(js|css)$
    RewriteCond %{REQUEST_FILENAME}.gz -f
    RewriteRule ^(.*)$ $1.gz [QSA,L]

    ##
    # Static ressources
    #
    # Do not rewrite requests for static files or folders such as style sheets,
    # images, movies or text documents.
    ##
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    ##
    # Contao URLs
    #
    # By default, Contao adds ".html" to the generated URLs to simulate static
    # HTML documents. If you change the URL suffix in the back end settings, make
    # sure to change it here accordingly!
    #
    # RewriteRule .*\.html$ index.php [L] # URL suffix .html
    # RewriteRule .* index.php [L] # No URL suffix
    # RewriteRule .*\.txt$ index.php [L] # URL suffix .txt
    #
    # If you are using mod_cache, it is recommended to use the RewriteRule below,
    # which adds the query string to the internal URL:
    #
    # RewriteRule (.*\.html)$ index.php/$1 [L]
    #
    # Note that not all environments support mod_rewrite and mod_cache!
    ##
    RewriteRule .*\.html$ index.php [L]

    </IfModule>

  8. #8
    Contao-Nutzer Avatar von siebenvier
    Registriert seit
    26.08.2010.
    Ort
    Potsdam
    Beiträge
    80

    Standard

    Laut revido FAQ muss oben in der .htaccess folgendes stehen.

    Code:
    AddType application/x-httpd-php5 .php
    AddHandler x-httpd-php5 .php
    Das aktiviert PHP5 bei revido.

    Außerdem:

    Code:
    # Uncomment the following line to set the RewriteBase.
    ##
    #RewriteBase /
    Nimm mal die Raute vor RewriteBase / weg ...
    Geändert von siebenvier (30.08.2010 um 19:56 Uhr)
    Vergessen du musst, was früher du gelernt!

  9. #9
    Contao-Fan Avatar von Russe
    Registriert seit
    23.10.2009.
    Beiträge
    729

    Standard

    Und dann noch die Datei .htaccess benennen, nicht ht.access
    Russe

  10. #10
    Contao-Nutzer
    Registriert seit
    30.08.2010.
    Beiträge
    5

    Standard

    Jetzt kommt

    Forbidden

    You don't have permission to access /typolight/install.php on this server.
    Apache Server at [urlmydomain[/url] Port 80
    Geändert von Hanssi83 (30.08.2010 um 20:04 Uhr)

  11. #11
    Contao-Urgestein Avatar von KATgirl
    Registriert seit
    31.03.2010.
    Ort
    Marburg
    Beiträge
    1.579
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Bitte schau dir mal deine Rechte der Dateien auf dem Server an. Ggf. müsstest du die anpassen, wenn du sie von einem Windows-System rübergeschaufelt hast. Ansonsten fällt mir nur spontan ein, das die Config-Datei keine Schreibrechte hat.

    Siehe: http://www.contao.org/contao-installieren.html

    TIPP: gewöhne dir an nicht typolight zu nehmen, sondern gleich contao!
    - GitHub
    - Kontaktanfragen

    "Ein Lächeln ist die kürzeste Entfernung zwischen zwei Menschen." Victor Borge

Aktive Benutzer

Aktive Benutzer

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

Ähnliche Themen

  1. Brauche Hilfe zum Frontend-Login
    Von Jambalaia im Forum Geschützte Bereiche/Mitglieder
    Antworten: 3
    Letzter Beitrag: 06.01.2011, 16:57
  2. Brauche Hilfe für StickyFooter
    Von Flie... im Forum Layout / Templates / Holy Grail
    Antworten: 5
    Letzter Beitrag: 03.01.2011, 15:09
  3. Antworten: 7
    Letzter Beitrag: 16.08.2010, 14:06
  4. Brauche dringend schnellst Hilfe
    Von sparklz im Forum Sonstiges zu Contao
    Antworten: 5
    Letzter Beitrag: 01.10.2009, 18:44
  5. Massives Lastproblem - Brauche Hilfe!
    Von RalfPressler im Forum Sonstiges zu Contao
    Antworten: 7
    Letzter Beitrag: 12.09.2009, 10:31

Lesezeichen

Lesezeichen

Berechtigungen

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