Ergebnis 1 bis 7 von 7

Thema: TYPO3 - PHP5 Problem

      
  1. #1
    Forum Zuschauer
    Registriert seit
    02.09.2009
    Beiträge
    5

    TYPO3 - PHP5 Problem

    Hi Leute!
    Ich habe ein kleines Problem mit meiner TYPO3 Installation, genauer gesagt mit der Umstellung auf PHP5!
    Und zwar, als ich meine TYPO3 Installation auf die neueste Version updaten wollte, meldete mir der Server dass PHP5 gebraucht wird. Also hab ich es direkt auf dem STRATO Server umgestellt.
    Seitdem meldet mir der Server jedoch folgendes: "The configuration file was not included."

    Im Typo3 Paket war bereits eine .htaccess Datei vorhanden, mit folgendem Inhalt:

    Code:
    #####
    # 
    # Example .htaccess file
    # 
    # This file contains a collection of almost everything you will need
    # for optimising TYPO3:
    # 
    # - mod_rewrite (used for SimulateStaticDocuments, RealUrl, etc.)
    # - PHP optimisation
    # 
    # If you want to use it, you'll need to rename this file to '.htaccess'.
    # (To make this work you will need to adjust the 'AllowOverride'
    # directive in your Apache configuration file.)
    # 
    # IMPORTANT: You may need to change this file depending on your TYPO3
    # installation!
    # 
    # You should change every occurance of TYPO3root/ to the location where you
    # have your website in. For example:
    # If you have your website located at http://mysite.com/
    # then your TYPO3root/ is just empty (remove 'TYPO3root/')
    # If you have your website located at http://mysite.com/some/path/
    # then your TYPO3root/ is some/path/ (search and replace)
    # 
    # If you have problems with this file, try using the minimal
    # mod_rewrite.htaccess which is located in the typo3_src/misc/
    # directory of this installation.
    # 
    # You can also use this configuration in your httpd.conf, but you'll have
    # to modify some lines, see the comments (search for 'httpd.conf')
    # 
    # Using rewriting in your httpd.conf is much faster, btw.
    # 
    # Questions about this file go to the matching Install mailing list,
    # see http://typo3.org/documentation/mailing-lists/
    # 
    ####
    
    ### Begin: Rewrite stuff ###
    
    # Enable URL rewriting
    RewriteEngine On
    
    # To assist in debugging rewriting, you could use these lines
    # DON'T enable it for production!
    # This will only work in httpd.conf, not in .htaccess files
    #RewriteLog /var/log/apache/rewrite.log
    #RewriteLogLevel 9
    
    # If you use the RealUrl extension, then you'll have to enable the next line.
    # You will have to change this path if your TYPO3 installation is located
    # in a subdirectory of the website root.
    # 
    # If you place this in httpd.conf, you cannot use this directive in any case!
    #RewriteBase /
    
    # Stop rewrite processing if we are in the typo3/ directory
    # For httpd.conf, use this line instead of the next one:
    # RewriteRule ^/TYPO3root/(typo3/|t3lib/|tslib/|fileadmin/|typo3conf/|typo3temp/|uploads/|showpic\.php|favicon\.ico) - [L]
    RewriteRule ^(typo3/|t3lib/|tslib/|fileadmin/|typo3conf/|typo3temp/|uploads/|showpic\.php|favicon\.ico) - [L]
    
    # Redirect http://mysite/typo3 to http://mysite/typo3/index_re.php
    # and stop the rewrite processing
    # For httpd.conf, use this line instead of the next one:
    # RewriteRule ^/TYPO3root/typo3$ /TYPO3root/typo3/index.php [L]
    RewriteRule ^typo3$ typo3/index_re.php [L]
    
    # If the file/symlink/directory does not exist => Redirect to index.php
    # Important note: If you copy/paste this into httpd.conf instead
    # of .htaccess you will need to add '%{DOCUMENT_ROOT}' left to each
    # '%{REQUEST_FILENAME}' part.
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    
    # Main URL rewriting.
    
    # If you use Windows and SimulateStaticDocuments do not work, try adding a
    # slash (/) right before 'index.php' below.
    
    # The example shows how to rewrite only *.html and *.pdf files to index.php
    # This may be helpful when using an extension that can generate PDF files
    # on the fly.
    # Example: RewriteRule .*\.(html|pdf)$ index.php [L]
    
    # For httpd.conf, use this line instead of the next one that has no '#':
    # RewriteRule .* /TYPO3root/index.php [L]
    
    # For use with the RealUrl extension, you might need to remove the
    # RewriteBase directive somewhere above and use this line instead of the
    # next one:
    # RewriteRule .* /index.php [L]
    
    RewriteRule .* index.php [L]
    
    ### End: Rewrite stuff ###
    
    ### Begin: PHP optimisation ###
    
    # All features below are left to the default if you don't change this.
    # Simply remove the comment marks if you want to use some/all of these
    # settings
    
    # The PHP developers recommend disabling this feature. Do that.
    # It's deprecated and is likely to be unsupported in future versions of PHP.
    #php_flag allow_call_time_pass_reference off
    
    # TYPO3 works fine with register_globals turned off.
    # This is highly recommended!
    #php_flag register_globals off
    
    # PHP may not declare the argv & argc variables (that would contain the GET
    # information).
    # TYPO3 doesn't need this, so just turn it off.
    #php_flag register_argc_argv off
    
    # Magic quotes for runtime-generated data (data from SQL, exec(), etc.)
    #php_flag magic_quotes_gpc off
    
    # Order in which PHP registers GET, POST, Cookie and Built-in variables
    #php_value variables_order GPCS
    
    ### End: PHP optimisation ###
    
    ### Begin: Miscellaneous ###
    
    # Make sure that directory listings are disabled
    #Options -Indexes
    
    # There is a problem with Internet Explorer and mod_gzip on Apache servers.
    # For more information, see
    # http://typo3.org/documentation/document-library/rtehtmlarea/Tutorial-79/
    #mod_gzip_item_exclude file \.css$
    #mod_gzip_item_exclude file \.png$
    #mod_gzip_item_exclude file \.gif$
    #mod_gzip_item_exclude file \.jpg$
    #mod_gzip_item_exclude file \.jpeg$
    #mod_gzip_item_exclude file \.js$
    
    ### End: Miscellaneous ###
    
    # Add your own rules here
    # ...


    gleich nachdem ich auf dem STRATO Server auf PHP5 umgestellt habe, ist eine zweite .htaccess Datei entstanden, mit dem folgenden Inhalt:

    Code:
    #######################################################################
    #     Diese .htaccess wurde vom STRATO-Webservermanager erstellt      #
    #######################################################################
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Options -Indexes
    
    
     
    
    
    AddType application/x-httpd-php3 .php3 
    
    
    
    
    
    AddType application/x-httpd-php43 .php4 
    
    
    
    AddType application/x-httpd-php5 .php .php5

    Ich habe grade keine Ahnung was zu tun ist, vielleicht könnt ihr mir ja irgendwie helfen? Wäre echt dankbar!
    Lg

  2. #2
    Forum Freak Avatar von typo3dude
    Registriert seit
    13.11.2007
    Beiträge
    795
    Wie kann denn eine zweite .htaccess entstehen? Hat Strato dreister Weise die alte überschrieben?

  3. #3
    Forum Zuschauer
    Registriert seit
    02.09.2009
    Beiträge
    5
    also so schauts grad auf dem server aus -->
    Miniaturansichten angehängter Grafiken Miniaturansichten angehängter Grafiken TYPO3 - PHP5 Problem-php5.jpg  

  4. #4
    Forum Freak Avatar von typo3dude
    Registriert seit
    13.11.2007
    Beiträge
    795
    Lief die TYPO3 Installation schon problemlos?
    Wie bist du beim Updaten vorgegangen?

  5. #5
    TYPO3 Forum Team Administrator Avatar von mic_jan
    Registriert seit
    05.09.2004
    Ort
    Köln
    Beiträge
    1.760
    Zitat Zitat von akafuture Beitrag anzeigen
    Seitdem meldet mir der Server jedoch folgendes: "The configuration file was not included."
    Ich würde mal sagen, daß das nichts mit der htaccess zu tun hat. Denn die Fehlermeldung hatte ich bei TYPO3 noch nie. Von daher würde ich sagen, daß es an der Server-Software liegt.

    Kannst du denn normale HTML-Seiten oder PHP-Seiten auf dem Server aufrufen?

    Gruß,

    Michael
    Aus gegebenem Anlass mal eine neue Signatur:
    Kein Support per PN!

  6. #6
    Forum Zuschauer
    Registriert seit
    02.09.2009
    Beiträge
    5
    @typo3dude
    also die eigentliche installation wurde nicht von mir durchgeführt, aber soweit ich weiss war da alles in ordnung. wie gesagt, bevor ich auf 4.2.3 umgestellt hab, lief alles eigentlich reibungslos. erst mit dem update kamen dann die fehlermeldungen.
    beim update bin ich so vorgegangen:
    das 4.2.8 dummy paket gezogen und hochgeladen. die alten files hab ich nicht gelöscht sondern nur umbenannt, damit ich im notfall auf die alte typo3 version zurückkommen kann.
    naja, nach dem hochladen der entsprechenden files kam erst die meldung PHP5 is required. hab dann auf dem strato server umgestellt. und seitdem kommt eben CONFIGURATION FILE IS NOT INCLUDED.


    @mic_jan
    ja, kann sowohl php als auch html files aufrufen, aber sobald ich eben auf meinen typo3 unterordner zugreifen will kommt die fehlermeldung.
    hab die php5 umstellung allerdings auch nur für den typo3 ordner vorgenommen.

    also was ich nicht versteh ist, wenn der strato server wirklich typo3 net ganz unterstützt , wieso lief dann die typo3 installation mit der alten version ? die fehler kommen ja erst seit dem update-versuch.

    danke euch scho ma für die schnellen antworten!! weiss grad echt net wie ich weiter machen soll..

  7. #7
    Forum Freak Avatar von typo3dude
    Registriert seit
    13.11.2007
    Beiträge
    795
    Lässt du auch den Ordner für den neuen TYPO3 Source von PHP5 interpretieren?

    Bei einem Update brauchst du normalerweise nur den Source Updaten. Dann den Symlink vom alten auf den neuen Source aktualisieren.
    Das Dummypaket brauchst du so gar nicht.

 

 

Aktive Benutzer

Aktive Benutzer

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

Facebook Kommentare

Ähnliche Themen

  1. TYPO3: JavaScript Problem bei einem Formular mit zwei Seiten!
    Von D-Jay im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 1
    Letzter Beitrag: 03.08.2009, 15:20
  2. Schnittstelle Typo3 <> vBulletin - Ein Ansatz
    Von Puppetmaster im Forum vBulletin <=> TYPO3
    Antworten: 5
    Letzter Beitrag: 20.10.2006, 09:54
  3. Problem beim PHP-Upload: Typo3 ist Fehlerquelle...
    Von drathy im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 5
    Letzter Beitrag: 20.09.2006, 11:31
  4. Typo3, confixx3: FTP Problem
    Von Subjacked im Forum TYPO3 4.x Installation und Updates
    Antworten: 9
    Letzter Beitrag: 26.01.2006, 08:41
  5. Problem mit Extensions nach Typo3 3.8 Installation
    Von Leonard im Forum TYPO3 3.x Installation und Updates
    Antworten: 6
    Letzter Beitrag: 13.10.2005, 11:17

Berechtigungen

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237