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: Shop Umzug hat nicht ganz geklappt

    CHRIS-AC

    • Neu im Forum
    • Beiträge: 9
    Shop Umzug hat nicht ganz geklappt
    am: 10. Januar 2013, 17:22:34
    Hallo liebes Forum,

    und zwar habe ich folgendes Problem und würde mich freuen wenn Ihr mir dabei helfen könntet.

    Ich habe meinen Shop beim gleichen Hoster umgezogen, da ich ein größeres Paket brauchte.

    Heißt Datenbank neu erstellt (Backup vom alten Shop eingespielt), und Shopdaten via FTP hochgeladen.

    Die config Dateien habe ich auch neu erstellen lassen, wie zB. in dem Tut von web28....

    Zudem habe ich schon viele Möglichkeiten ausprobiert, jedoch keine klappt.

    Der Shop zeigt mir mit htaccess immer nur einen 403 fehler an. Meine htaccess ist folgende:
    Code: PHP  [Auswählen]
    ##-- $Id: _.htaccess 2670 2012-02-23 12:53:47Z dokuman $

    ##-- Default charset
    #AddDefaultCharset utf-8
    AddDefaultCharset ISO-8859-15

    ##-- Disable the server signature
    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>

    ## Hoster 1&1 (activate PHP5)
    #AddType x-mapp-php5 .php
    #AddHandler x-mapp-php5 .php

    # Disable directory browsing
    Options All -Indexes

    ##-- 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
    ##-- 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 ''
    #</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>
      ##-- Initialize and enable rewrite engine
     RewriteEngine On

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

      ##-- 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]
      RewriteCond %{REMOTE_ADDR}               !127.0.0.1$ [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\.php\ HTTP/
      RewriteRule ^index\.php$ http://%{HTTP_HOST}/ [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>

    wenn ich die .htaccess umbenenne klappen meine Links nicht, erst wenn ich im Admin "suchmaschinen freundliche URLs" ausschalte, komm ich wieder in die Kategorien, jedoch auch nicht in die Content Seiten.

    Über eure Hilfe würde ich mich freuen.

    Viele Grüße

    Chris

    PS: Wenn Ihr noch andere Daten braucht zB. von irgendeiner config dann schreibt mir :)



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

    Guenter59

    • Viel Schreiber
    • Beiträge: 1.484
    Re: Shop Umzug hat nicht ganz geklappt
    Antwort #1 am: 10. Januar 2013, 17:42:42
    Hi Chris
    1. Hast Du mal einen Link zu deinem Shop.
    2. Wie hast Du das Datenbankbackup denn eingespielt ( über mysql oder innerhalb des Shops ).
    Gruß
    Günter

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: Shop Umzug hat nicht ganz geklappt
    Antwort #2 am: 10. Januar 2013, 20:35:52
    Hallo Chris,

    welche Shopversion setzt du ein?
    Hast du an der .htaccess irgendwas verändert?
    Liefen Suchmaschinenfreundliche URLs vorher? Sonst mal prüfen, ob mod_rewrite auf dem Server läuft.

    Schöne Grüße,
    Jan

    CHRIS-AC

    • Neu im Forum
    • Beiträge: 9
    Re: Shop Umzug hat nicht ganz geklappt
    Antwort #3 am: 10. Januar 2013, 22:50:50
    JAN !!!! DU BIST ES :D

    das ich daran nicht gedacht hab, auf nem neuen Server mal zu gucken, ob überhaupt alles an ist.

    DANKE DANKE DANKE :)

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: Shop Umzug hat nicht ganz geklappt
    Antwort #4 am: 10. Januar 2013, 22:54:22
    Danke für die Blumen und schön das du das Problem lösen konntest.  :thumbs:

    Schöne Grüße,
    Jan
    Templateshop - Eine große Auswahl an neuen und modernen Templates für die modified eCommerce Shopsoftware
    4 Antworten
    4965 Aufrufe
    07. Januar 2011, 07:58:57 von hmpf99
    8 Antworten
    2119 Aufrufe
    18. Januar 2018, 14:52:36 von 50to60
               
    anything