Templateshop - Eine große Auswahl an neuen und modernen Templates für die modified eCommerce Shopsoftware
Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: Admin - Internal Server Error

    Daaave

    • Neu im Forum
    • Beiträge: 16
    Admin - Internal Server Error
    am: 11. Juni 2012, 15:24:45
    Hallo,

    ich hab jetzt etliche Jahre mit xtc 3.0.4 SP2.1 gearbeitet. Nun habe ich mich endlich dazu durchgedrungen auf xtc modified upzudaten. Hat soweit alles wunderbar geklappt.
    Einziges Problem, beim Aufruf des Admincenters erhalte ich nur follgende Fehlermeldung:

    Zitat
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, MAILADRESSE and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Mein Shop: http://www2.helikopter.at/shop

    Danke für jegliche Tipps!

    Linkback: https://www.modified-shop.org/forum/index.php?topic=20504.0

    SubData

    • Neu im Forum
    • Beiträge: 23
    • Geschlecht:
    Re: Admin - Internal Server Error
    Antwort #1 am: 11. Juni 2012, 15:30:24
    Was steht denn im Fehlerprotokoll des Servers?

    DokuMan

    • modified Team
    • Beiträge: 6.669
    • Geschlecht:
    Re: Admin - Internal Server Error
    Antwort #2 am: 11. Juni 2012, 15:32:47
    Hast du die Datenbankupdates gemacht?
    https://www.modified-shop.org/wiki/Tutorial:_Datenbestand_eines_xt:Commerce_Shops_in_die_modified_eCommerce_Shopsoftware_%C3%BCbernehmen

    Hast du die .htaccess-Datei ggf. angepasst?
    Internal Server Error kommt oft durch fehlerhafte Einträge in der .htaccess-Datei.

    Daaave

    • Neu im Forum
    • Beiträge: 16
    Re: Admin - Internal Server Error
    Antwort #3 am: 11. Juni 2012, 15:43:50
    In der der Datenbank hab ich folgende Dateien ausgeführt:
    update_1.01_to_1.02.sql
    update_1.02_to_1.03.sql
    update_1.03_to_1.04.sql
    update_1.04_to_1.05.sql

    Es gibt auch eine xtcommerce.sql. Hätt ich die auch ausführen müssen?

    .htaccess hab ich das Verzeichnis auf /shop gesetzt.

    DokuMan

    • modified Team
    • Beiträge: 6.669
    • Geschlecht:
    Re: Admin - Internal Server Error
    Antwort #4 am: 11. Juni 2012, 15:50:44
    .htaccess hab ich das Verzeichnis auf /shop gesetzt.

    Und wie sieht das dann aus?
    Hast du im /admin vielleicht auch eine .htaccess?

    Daaave

    • Neu im Forum
    • Beiträge: 16
    Re: Admin - Internal Server Error
    Antwort #5 am: 11. Juni 2012, 16:00:49
    Nein, in /admin ist definitiv keine .htaccess

    Daaave

    • Neu im Forum
    • Beiträge: 16
    Re: Admin - Internal Server Error
    Antwort #6 am: 11. Juni 2012, 16:01:43
    Die .htaccess in /shop sieht so aus:

    Code: PHP  [Auswählen]
    ##-- $Id: _.htaccess 2670 2012-02-23 12:53:47Z dokuman $

    ##-- Main Defaults
    AddDefaultCharset ISO-8859-15
    ServerSignature Off

    ##-- Turn off ETags in HTTP-header (use both directives)
    <IfModule mod_headers.c>
      Header unset ETag
    </IfModule>
    FileETag None

    ##-- When caching of gzipped JS and CSS files is used, enable this setting
    <IfModule mod_headers.c>
    #  Header set Vary Accept-Encoding
    </IfModule>

    ##-- Enable the compression for any type of content
    <IfModule mod_deflate.c>
      <FilesMatch "\\.(js|css|html|htm|php|xml|jpg|jpeg|png|gif)$">
    #    SetOutputFilter DEFLATE
     </FilesMatch>
    </IfModule>

    ##-- Customization of HTTP request and response headers
    <IfModule mod_headers.c>
      <FilesMatch "\\.(ico|jpe?g|png|gif|swf|flv)$">
        Header set Cache-Control "max-age=2592000, public"
      </FilesMatch>
      <FilesMatch "\\.(css)$">
        Header set Cache-Control "max-age=604800, public"
      </FilesMatch>
      <FilesMatch "\\.(js)$">
        Header set Cache-Control "max-age=216000, private"
      </FilesMatch>
      <FilesMatch "\\.(xml|txt)$">
        Header set Cache-Control "max-age=216000, public, must-revalidate"
      </FilesMatch>
      <FilesMatch "\\.(html|htm|php)$">
        Header set Cache-Control "max-age=1, private, must-revalidate"
      </FilesMatch>
    </IfModule>

    ##-- Generation of Expires and Cache-Control HTTP headers
    <IfModule mod_expires.c>
      ExpiresActive On
      ExpiresDefault "access plus 1 seconds"
      ExpiresByType image/gif "access plus 2592000 seconds"
      ExpiresByType image/jpeg "access plus 2592000 seconds"
      ExpiresByType image/png "access plus 2592000 seconds"
      ExpiresByType text/html "access plus 1 seconds"
      ExpiresByType text/css "access plus 604800 seconds"
      ExpiresByType text/javascript "access plus 216000 seconds"
      ExpiresByType application/x-javascript "access plus 216000 seconds"
    </IfModule>

    ##-- Configure php_flags if necessary
    ## BEGIN - use IfModule clause if PHP runs in CGI mode, otherwise just uncomment the lines with php_flag...
    #<IfModule mod_php.c>

      ##-- Warn when arguments are passed by reference at function call time (from PHP5 allow_call_time_pass_reference is deprecated)
     #php_flag allow_call_time_pass_reference on

      ##-- Disable transparent sid support PHP-default is off (XTC Session only on first visit)
     #php_flag session.use_trans_sid off

      ##-- set suhosin flags because of errors with attributes (for webhosters with suhosin hardening patch enabled)
     #php_value suhosin.post.max_array_depth 0
     #php_value suhosin.post.max_array_index_length 0
     #php_value suhosin.post.max_vars 0
     #php_value suhosin.request.max_array_depth 0
     #php_value suhosin.request.max_array_index_length 0
     #php_value suhosin.request.max_vars 0

      ##-- set suhosin flags to have unencrypted session data, affecting "whos_online" & "shopping cart" (for webhosters with suhosin hardening patch enabled)patch enabled
     #php_value suhosin.session.encrypt Off
     #php_value suhosin.session.cryptkey ''

    ## END - use IfModule clause if PHP runs in CGI mode, otherwise just uncomment the lines with php_flag...
    #</IfModule>

    ##-- when using Provider 1&1 set the following lines to activate PHP5
    #AddType x-mapp-php5 .php
    #AddHandler x-mapp-php5 .php

    ##-- Redirect error pages to Sitemap
    ErrorDocument 400 /sitemap.html?error=400
    ErrorDocument 401 /sitemap.html?error=401
    ErrorDocument 402 /sitemap.html?error=402
    ErrorDocument 403 /sitemap.html?error=403
    ErrorDocument 404 /sitemap.html?error=404
    ErrorDocument 500 /sitemap.html?error=500

    ##-----------------------------------------
    ##- SEO Shopstat Modul (Hartmut König)
    ##-----------------------------------------
    <IfModule mod_rewrite.c>
      ##-- Documentation http://httpd.apache.org/docs/misc/rewriteguide.html
     RewriteEngine On

      ##-- EXAMPLE: If your shop is located at "http://www.yourdomain.com/shop",
     ##-- set the following line like e.g.: RewriteBase /shop
     RewriteBase /shop

      ##-- Use canonical URLs
     ##-- redirect to www-domain, when www is missing and no subdomain given and not using an ssl-proxy
     #RewriteCond %{HTTP:X-Forwarded-Server}   !^ssl\.webpack\.de$ [NC]
     #RewriteCond %{HTTP:X-Forwarded-Server}   !^sslsites\.de$ [NC]
     #RewriteCond %{HTTP_HOST}                 !^www\..* [NC]
     #RewriteCond %{HTTP_HOST}                 !^.*\..*\..* [NC]
     #RewriteCond %{HTTP_HOST}                 !^localhost(.*)$ [NC]
     #RewriteRule ^(.*)                        http://www.%{HTTP_HOST}/$1 [R=301,L]
     
      #-- redirect /folder/index.php to /folder/ (i.e. hide index.php)
     RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html\ HTTP/
      RewriteRule ^(([^/]+/)*)index\.html$ http://%{HTTP_HOST}/$1 [R=301,L]

      ##-- Sitemap
     RewriteRule ^sitemap(.*)\.html$ shop_content.php?coID=8 [QSA,L]

      ##----------------------------------------------------------------------------------
     ##-- When working with SEO-Urls you can decide, wheter to use a colon ":" or a dash "-" symbol
     ##-- (Windows Servers might have problems with colon as delimiter!)
     ##-- Change the delimiter symbol also in file "/inc/shopstat_functions.inc.php"
     ##----------------------------------------------------------------------------------

      ##-- Use colon delimiter ":" for SEO-URLS (default setting)
     ##-- Categories (:::)
     RewriteCond %{REQUEST_URI} (.*):::([_0-9]+):([_0-9]+)\.html$
      RewriteRule (.*):::([_0-9]+):([_0-9]+)\.html$ index.php?cPath=$2&page=$3 [QSA,L]
      RewriteCond %{REQUEST_URI} (.*):::([_0-9]+)\.html$
      RewriteRule (.*):::([_0-9]+)\.html$ index.php?cPath=$2 [QSA,L]

      ##-- Products (::)
     RewriteRule (.*)::(.+)\.html$ product_info.php?products_id=$2 [QSA,L]

      ##-- Content (:_:)
     RewriteRule (.*):_:([0-9]+)\.html$ shop_content.php?coID=$2 [QSA,L]

      ##-- Manufacturers (:.:)
     RewriteCond %{REQUEST_URI} (.*):.:([_0-9]+):([_0-9]+)\.html$
      RewriteRule (.*):.:([_0-9]+):([_0-9]+)\.html$ index.php?manufacturers_id=$2&page=$3 [QSA,L]
      RewriteCond %{REQUEST_URI} (.*):.:([_0-9]+)\.html$
      RewriteRule (.*):.:([0-9]+)\.html$ index.php?manufacturers_id=$2 [QSA,L]

      ##-- Use dash delimiter "-" for SEO-URLS
     ##-- Categories (---)
     #RewriteCond %{REQUEST_URI} (.*)---([_0-9]+)-([_0-9]+)\.html$
     #RewriteRule (.*)---([_0-9]+)-([_0-9]+)\.html$ index.php?cPath=$2&page=$3 [QSA,L]
     #RewriteCond %{REQUEST_URI} (.*)---([_0-9]+)\.html$
     #RewriteRule (.*)---([_0-9]+)\.html$ index.php?cPath=$2 [QSA,L]

      ##-- Products (--)
     #RewriteRule (.*)--(.+)\.html$ product_info.php?products_id=$2 [QSA,L]

      ##-- Content (-_-)
     #RewriteRule (.*)-_-([0-9]+)\.html$ shop_content.php?coID=$2 [QSA,L]

      ##-- Manufacturers (-.-)
     #RewriteCond %{REQUEST_URI} (.*)-.-([_0-9]+)-([_0-9]+)\.html$
     #RewriteRule (.*)-.-([_0-9]+)-([_0-9]+)\.html$ index.php?manufacturers_id=$2&page=$3 [QSA,L]
     #RewriteCond %{REQUEST_URI} (.*)-.-([_0-9]+)\.html$
     #RewriteRule (.*)-.-([0-9]+)\.html$ index.php?manufacturers_id=$2 [QSA,L]
    </IfModule>

    Daaave

    • Neu im Forum
    • Beiträge: 16
    Re: Admin - Internal Server Error
    Antwort #7 am: 11. Juni 2012, 16:06:55
    Error Log vom Server:

    Code: PHP  [Auswählen]
    [Mon Jun 11 15:59:32 2012] [error] [client 178.202.135.44] File does not exist: /home/virtual/site37/fst/var/www/html/shop/images/product_images/thumbnail_images/flugnavigation.jpg, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 15:59:32 2012] [error] [client 178.202.135.44] File does not exist: /home/virtual/site37/fst/var/www/html/sitemap.html, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 15:59:32 2012] [error] [client 178.202.135.44] File does not exist: /home/virtual/site37/fst/var/www/html/shop/images/product_images/thumbnail_images/flugnavigation.jpg, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 15:59:32 2012] [error] [client 178.202.135.44] File does not exist: /home/virtual/site37/fst/var/www/html/sitemap.html, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 16:04:42 2012] [error] [client 80.120.158.178] Premature end of script headers: php-script, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 16:05:06 2012] [error] [client 93.203.243.12] File does not exist: /home/virtual/site37/fst/var/www/html/shop/images/product_images/thumbnail_images/flugnavigation.jpg, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 16:05:06 2012] [error] [client 93.203.243.12] File does not exist: /home/virtual/site37/fst/var/www/html/sitemap.html, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 16:09:40 2012] [error] [client 80.120.158.178] Premature end of script headers: php-script, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 16:09:41 2012] [error] [client 80.120.158.178] Premature end of script headers: php-script, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 16:09:42 2012] [error] [client 80.120.158.178] Premature end of script headers: php-script, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 16:09:42 2012] [error] [client 80.120.158.178] Premature end of script headers: php-script, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 16:09:42 2012] [error] [client 80.120.158.178] Premature end of script headers: php-script, referer: http://www2.helikopter.at/shop/
    [Mon Jun 11 16:09:43 2012] [error] [client 80.120.158.178] Premature end of script headers: php-script, referer: http://www2.helikopter.at/shop/
     

    DokuMan

    • modified Team
    • Beiträge: 6.669
    • Geschlecht:
    Re: Admin - Internal Server Error
    Antwort #8 am: 11. Juni 2012, 16:08:52
    Unterstützt dein Webspace bei der Telekom Austria überhaupt "htaccess"-Features?

    Benenn' deine .htaccess testweise mal um in z.B. "_.htaccess"

    Daaave

    • Neu im Forum
    • Beiträge: 16
    Re: Admin - Internal Server Error
    Antwort #9 am: 11. Juni 2012, 16:16:50
    unterstützt sie, ja.
    Ich kann die .htaccess umbennen oder löschen, ändert leider an der Tatsache nichts, dass das Frontend normal erreichbar ist, Backend (admin) internal server error

    Daaave

    • Neu im Forum
    • Beiträge: 16
    Re: Admin - Internal Server Error
    Antwort #10 am: 11. Juni 2012, 16:37:04
    Ich bin kurz davor durchzudrehen. Bin am Ende mit meinem Latein :(

    SubData

    • Neu im Forum
    • Beiträge: 23
    • Geschlecht:
    Re: Admin - Internal Server Error
    Antwort #11 am: 11. Juni 2012, 16:39:27
    Eventuell sind die Berechtigungen zur Ausführung der Dateien im Admin-Ordner anders.
    Oder hast du die zweite configure.php eventuell nicht richtig angepasst?

    Daaave

    • Neu im Forum
    • Beiträge: 16
    Re: Admin - Internal Server Error
    Antwort #12 am: 11. Juni 2012, 16:40:45
    Eventuell sind die Berechtigungen zur Ausführung der Dateien im Admin-Ordner anders.
    Oder hast du die zweite configure.php eventuell nicht richtig angepasst?
    ganzer admin Ordner hat 777
    configure.php und configure.org.php in /admin/includes passen 100%

    DokuMan

    • modified Team
    • Beiträge: 6.669
    • Geschlecht:
    Re: Admin - Internal Server Error
    Antwort #13 am: 11. Juni 2012, 16:52:30
    Ich schätze es liegt daran:
    Zitat
    [Mon Jun 11 16:09:43 2012] [error] [client 80.120.158.178] Premature end of script headers: php-script, referer: http://www2.helikopter.at/shop/

    was immer "Premature end of script headers" sein soll...

    Daaave

    • Neu im Forum
    • Beiträge: 16
    Re: Admin - Internal Server Error
    Antwort #14 am: 11. Juni 2012, 16:55:14
    Ich schätze es liegt daran:
    Zitat
    [Mon Jun 11 16:09:43 2012] [error] [client 80.120.158.178] Premature end of script headers: php-script, referer: http://www2.helikopter.at/shop/

    was immer "Premature end of script headers" sein soll...
    vermutlich. Aber ich kann damit leider auch nichts anfangen :(
    1 Antworten
    632 Aufrufe
    19. Dezember 2022, 23:57:03 von umbi
    24 Antworten
    17167 Aufrufe
    23. Februar 2012, 10:22:23 von Soeldner
    2 Antworten
    3613 Aufrufe
    13. November 2009, 20:17:46 von guensi