Ankündigung

Einklappen
Keine Ankündigung bisher.

Ultimate SEO URLs 2.7.1 ERROR 404

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Ultimate SEO URLs 2.7.1 ERROR 404

    Hallo,
    ich weiß, dass das Thema Error 404 im Zusammenhang mit Ultimate SEO Urls schon oft besprochen wurde. Nur finde ich dort für mein Problem leider keine Lösung.
    Wenn ich einen Artikel in den Warenkorb lege, erscheint "ERROR 404 Seite nicht gefunden". Das gleiche passiert beim Aufruf von "Alle Produkte" "Neue Produkte" und EZ-Pages.
    Bisher habe ich folgendes versucht um das Problem zu lösen:
    - .htacess überprüft. Der Pfad ist richtig (RewriteBase /).
    - SEO neu installiert.
    - Im Admin "Seiten, die umschrieben werden sollen" alle Einträge gelöscht und Logfile aktiviert.

    In den Logfiles steht:
    Code:
    #1  file_put_contents() called at [/www/htdocs/******/includes/classes/usu.php:1615]
    #2  usu->__destruct()
    
    
    [18-Jun-2017 12:10:22 Europe/Berlin] PHP Warning:  file_put_contents(/www/htdocs/**********/logs/ultimate_urls/index-2017-Jun-18_0.log): failed to open stream: Permission denied in /www/htdocs/*******/includes/classes/usu.php on line 1615
    Konfiguration:
    PHP 5.6.29
    safe_mode: off
    Server: Linux
    MySQL: 5.7.15


    Ich Hoffe jemand kann mir helfen. Vielen Dank in voraus.
    Zuletzt geändert von Natproduct; 20.06.2017, 20:06.

    #2
    Oje,
    das kommt davon, wenn man zu lange am Rechner sitzt.
    Der Logfileeintrag war älter. Danach hätte "RewriteBase /" sowieso nicht gestimmt.
    Da man aber seine Pfade in einem Post nicht veröffentlichen sollte, habe ich die Seite in einen anderen Account verschoben.

    Das Problem besteht immer noch. Die Fehlermeldung im Logfile ist die gleiche. Ich kann nur nicht erkennen, ob das Problem in der .htaccess oder zB. htm_output.php liegt. Unter der Version 1.5.4 lief alles ohne Probleme. Darum kann es wohl nicht am Hoster liegen.

    Kommentar


      #3
      Ein Link zu diesem Shop wäre hilfreich.

      Kommentar


        #4
        Hallo,
        hier der Link
        Die Designer Urne : Unser Shop ist wegen Wartungsarbeiten vorübergehend geschlossen. - Designer Urnen Tierurnen Urnen, Designerurnen, Tierurnen, Tierbestattung, Haustierbestattung, Bestattung, Beerdigung, Feuerbestattung, Einäscherung, Beerdigungsinstitut in Herne, Beerdigungen, Tierurnen, Bestattungen, Urnenbestattung

        Nach mehreren Deinstallationen und Neuinstallationen sind jetzt die Kategorien auch nicht mehr aufrufbar.
        Alle Caches wurden natürlich immer gelöscht. Die Logfiles zeigen jetzt weder im Backend noch auf dem Server neue Fehlermeldungen an.
        Die Zen Cart Version ist mittlerweile v1.5.5e.

        Kommentar


          #5
          Poste mal den kompletten Inhalt der .htaccess im Shopverzeichnis als Code (# Schaltfläche im Editor)

          Kommentar


            #6
            Hallo,
            hier die .htaccess
            Code:
            ## @copyright Copyright 2003-2013 Zen Cart Development Team
            # @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
            # @version GIT: $Id: Author: DrByte  Sat Dec 21 17:00:00 2013 -0500 Modified in v1.5.3 $
            #
            # This is used with Apache WebServers
            #
            # The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
            # It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
            # Will also prevent people from seeing what is in the dir. and any sub-directories
            #
            # For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
            # Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
            # Example:
            #<Directory "/usr/local/apache/htdocs">
            #  AllowOverride Limit Options Indexes
            #</Directory>
            ###############################
            DirectoryIndex index.php
            
            
            # deny *everything*
            <FilesMatch ".*\..*">
              Order Allow,Deny
              Deny from all
            </FilesMatch>
            
            
            # but now allow just *certain* necessary files:
            <FilesMatch "(?i).*\.(php|js|css|html?|ico|otf|jpe?g|gif|webp|png|swf|flv|xml|xsl)$">
              Order Allow,Deny
              Allow from all
            </FilesMatch>
            
            
            IndexIgnore */*
            
            
            <limit POST PUT>
            order deny,allow
            deny from All
            </limit>
            
            
            
            
            ## NOTE: If you want even greater security to prevent hackers from running scripts in this folder, uncomment the following line (if your hosting company will allow you to use OPTIONS):
            # OPTIONS -Indexes -ExecCGI
            
            
            
            
            
            
            ##################
            ## Optional caching improvements
            ## Requires mod_header and mod_deflate to be enabled within Apache
            ##################
            <IfModule mod_headers.c>
              Header unset Pragma
              FileETag None
              Header unset ETag
              #Header set Cache-Control "no-transform"
              <FilesMatch "(?i).*\.(ico|jpe?g|gif|otf|webp|png|swf|flv|svg|svgz)$">
                Header set Cache-control "max-age=864000, public, must-revalidate"
                Header unset Last-Modified
              </FilesMatch>
              <FilesMatch "(?i).*\.(html|htm|xml|txt|xsl)$">
                Header set Cache-control "max-age=7200, must-revalidate"
              </FilesMatch>
            </IfModule>
            <IfModule mod_deflate.c>
              <FilesMatch "(?i)\.(js|css)$">
                SetOutputFilter DEFLATE
              </FilesMatch>
            </IfModule>
            
            
            ##################
            ## Optional improvements
            ## Requires mod_expires to be enabled within Apache
            ##################
            <ifmodule mod_expires.c>
              ExpiresActive On
              ExpiresDefault A300
              ExpiresByType application/x-javascript A3600
              ExpiresByType text/css A3600
              ExpiresByType image/gif A604800
              ExpiresByType video/x-flv A604800
              ExpiresByType application/pdf A604800
              ExpiresByType text/html A300
              ExpiresByType image/x-icon A86400
              ExpiresByType image/jpeg A2592000
              ExpiresByType image/png A2592000
              ExpiresByType text/cache-manifest "access plus 0 seconds"
            
            
            </ifmodule>
            
            
            
            
            #turn off X-PHP-Originating-Script header when sending emails from admin
            #uncomment to activate:
            # php_flag mail.add_x_header Off
            
            
            
            
            ###############################################################################
            # Add custom headers and options
            ###############################################################################
            # Notes:
            #
            # Examples: Adding IE compatibility / edge flags, language and encoding flags,
            # php or suphp directives, configure other Apache modules such as page_speed,
            # and enable or disable Apache httpd options.
            #
            # Do NOT configure anything directly relating to physical or virtual resources
            # in this section. These should be addressed later on in this file.
            ###############################################################################
            #Options -Indexes
            
            
            ###############################################################################
            # Enable mod_rewrite processing using the rules in this .htaccess file
            ###############################################################################
            # Notes:
            #
            # <IfModule> should be avoided at all costs. If mod_rewrite is not available
            # it is almost always better to return HTTP 500 status. This way we see there
            # is an issue as soon as the .htaccess file is uploaded.
            #
            # For mod_rewrite to work, the Apache server option to allow symbolic links to
            # be followed must be enabled. Most providers supporting mod_rewrite will
            # already have it enabled for you, but if your rewrite rules are not working
            # you can un-comment the first directive below to manually enable the option.
            #
            # Don't forget, mod_rewrite directives are processed in order until a matching
            # RewriteRule with the [L] flag is encountered. So the more specific a rule is
            # the closer it should appear to the top of this file.
            ###############################################################################
            #Options +FollowSymLinks
            RewriteEngine on
            
            
            ###############################################################################
            # Tell mod_rewrite where this file is relative to the server document_root
            ###############################################################################
            # Notes:
            #
            # This directive should only be enabled if this .htaccess file is not placed
            # in the document_root (usually public_html, www, or web) of the (sub)domain.
            #
            # An easy way to determine the location relative to the server document_root is
            # to look at the URL used to access a file in this folder. For example if you
            # access a "page" in the same folder as this file by typing in the URL
            # "www.mydomain.com/myfolder/index.html" then "myfolder" will be the location
            # of this file relative to the server document_root.
            #
            # Another quick and easy way to determine the correct setting for this is to
            # look at the defined value for DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG in
            # Zen Cart's configure.php files. All three values should match.
            #
            # Don't forget the leading and trailing /. This directive requires both!
            ###############################################################################
            #RewriteBase /
            
            
            
            
            ###############################################################################
            # Redirect if request was for index.php (no query)
            ###############################################################################
            # Notes:
            #
            # This is only required if the site generates references to index.php with no
            # parameters. This rule will force a 301 redirect to the site root when a
            # request is made for "/index.php" with no query terms (?key=value).
            ###############################################################################
            #RewriteCond %{QUERY_STRING} ^$
            #RewriteRule ^index\.php$ / [R=301,L]
            
            
            
            
            ###############################################################################
            # Add any custom 301 redirects
            ###############################################################################
            # Notes:
            #
            # In general these should be few and far between. If you use a RewriteRule
            # be sure to add the L flag to let Apache mod_rewrite know to stop processing
            # and skip any RewriteRules defined later in the .htaccess file.
            ###############################################################################
            
            
            
            
            ###############################################################################
            # Redirect if request was for index.php (with or without query)
            ###############################################################################
            # Notes:
            #
            # This is a performance optimization. If the request is for index.php simply
            # pass the request on and do not process any other mod_rewrite directives in
            # this file.
            #
            # Basically this avoids the overhead of checking if index.php is a real file
            # or directory (used in subsequent mod_rewrite rules) before sending the
            # request to index.php.
            ###############################################################################
            RewriteRule ^index\.php$ - [L]
            
            
            
            
            ###############################################################################
            # Start Ultimate (SEO) URLs
            ###############################################################################
            # Notes:
            #
            # You should not make any changes in this section unless you really understand
            # how it will impact your web site. Mistakes can break things.
            ###############################################################################
            
            
            # Handles the new URL formats
            RewriteRule ^(.*)-c-([0-9_]+)/(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
            RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
            RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
            RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
            
            
            # Original (unchanged) URL formats
            RewriteRule ^(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
            RewriteRule ^(.*)-m-([0-9]+)(.*)$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
            RewriteRule ^(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
            RewriteRule ^(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
            RewriteRule ^(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
            RewriteRule ^(.*)-ezp-([0-9]+)(.*)$ index\.php?main_page=page&id=$2&%{QUERY_STRING} [L]
            RewriteRule ^(.*)-c-([0-9_]+)(.*)$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
            
            
            # Rewrite all other requests (if the file / directory does not exist)
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteRule ^(.*)$ index\.php?main_page=$1&%{QUERY_STRING} [L]
            
            
            ###############################################################################
            # Add any other directives relating to the handling of physical files
            ###############################################################################
            # Notes:
            #
            # If processing makes it this far, the request was for a real file or folder.
            # Example: Adding further processing related to browser caching or security.
            ###############################################################################

            Kommentar


              #7
              Diese .htaccess ist ein Mischmasch aus der includes/.htaccess und den Einträgen von Ultimate SEO.
              Die includes/.htaccess darf nicht verändert werden und hat mit diesem Modul auch nichts zu tun.
              Lade die Orginal includes/.htaccess aus dem 1.5.5 Download hoch. Nicht ins Shopverzeichnis sondern eben nach includes.
              Dann nimmst Du die .htacess aus dem Ultimate SEO Modul Download, die sieht so aus:
              Code:
              ###############################################################################
              # Add custom headers and options
              ###############################################################################
              # Notes:
              #
              # Examples: Adding IE compatibility / edge flags, language and encoding flags,
              # php or suphp directives, configure other Apache modules such as page_speed,
              # and enable or disable Apache httpd options.
              #
              # Do NOT configure anything directly relating to physical or virtual resources
              # in this section. These should be addressed later on in this file.
              ###############################################################################
              #Options -Indexes
              
              ###############################################################################
              # Enable mod_rewrite processing using the rules in this .htaccess file
              ###############################################################################
              # Notes:
              #
              # <IfModule> should be avoided at all costs. If mod_rewrite is not available
              # it is almost always better to return HTTP 500 status. This way we see there
              # is an issue as soon as the .htaccess file is uploaded.
              #
              # For mod_rewrite to work, the Apache server option to allow symbolic links to
              # be followed must be enabled. Most providers supporting mod_rewrite will
              # already have it enabled for you, but if your rewrite rules are not working
              # you can un-comment the first directive below to manually enable the option.
              #
              # Don't forget, mod_rewrite directives are processed in order until a matching
              # RewriteRule with the [L] flag is encountered. So the more specific a rule is
              # the closer it should appear to the top of this file.
              ###############################################################################
              #Options +FollowSymLinks
              RewriteEngine on
              
              ###############################################################################
              # Tell mod_rewrite where this file is relative to the server document_root
              ###############################################################################
              # Notes:
              #
              # This directive should only be enabled if this .htaccess file is not placed
              # in the document_root (usually public_html, www, or web) of the (sub)domain.
              #
              # An easy way to determine the location relative to the server document_root is
              # to look at the URL used to access a file in this folder. For example if you
              # access a "page" in the same folder as this file by typing in the URL
              # "www.mydomain.com/myfolder/index.html" then "myfolder" will be the location
              # of this file relative to the server document_root.
              #
              # Another quick and easy way to determine the correct setting for this is to
              # look at the defined value for DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG in
              # Zen Cart's configure.php files. All three values should match.
              #
              # Don't forget the leading and trailing /. This directive requires both!
              ###############################################################################
              #RewriteBase /shop/
              
              
              ###############################################################################
              # Redirect if request was for index.php (no query)
              ###############################################################################
              # Notes:
              #
              # This is only required if the site generates references to index.php with no
              # parameters. This rule will force a 301 redirect to the site root when a
              # request is made for "/index.php" with no query terms (?key=value).
              ###############################################################################
              #RewriteCond %{QUERY_STRING} ^$
              #RewriteRule ^index\.php$ / [R=301,L]
              
              
              ###############################################################################
              # Add any custom 301 redirects
              ###############################################################################
              # Notes:
              #
              # In general these should be few and far between. If you use a RewriteRule
              # be sure to add the L flag to let Apache mod_rewrite know to stop processing
              # and skip any RewriteRules defined later in the .htaccess file.
              ###############################################################################
              
              
              ###############################################################################
              # Redirect if request was for index.php (with or without query)
              ###############################################################################
              # Notes:
              #
              # This is a performance optimization. If the request is for index.php simply
              # pass the request on and do not process any other mod_rewrite directives in
              # this file.
              #
              # Basically this avoids the overhead of checking if index.php is a real file
              # or directory (used in subsequent mod_rewrite rules) before sending the
              # request to index.php.
              ###############################################################################
              RewriteRule ^index\.php$ - [L]
              
              
              ###############################################################################
              # Start Ultimate (SEO) URLs
              ###############################################################################
              # Notes:
              #
              # You should not make any changes in this section unless you really understand
              # how it will impact your web site. Mistakes can break things.
              ###############################################################################
              
              # Handles the new URL formats
              RewriteRule ^(.*)-c-([0-9_]+)/(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
              RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
              RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
              RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
              
              # Original (unchanged) URL formats
              RewriteRule ^(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
              RewriteRule ^(.*)-m-([0-9]+)(.*)$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
              RewriteRule ^(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
              RewriteRule ^(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
              RewriteRule ^(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
              RewriteRule ^(.*)-ezp-([0-9]+)(.*)$ index\.php?main_page=page&id=$2&%{QUERY_STRING} [L]
              RewriteRule ^(.*)-c-([0-9_]+)(.*)$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
              
              # Rewrite all other requests (if the file / directory does not exist)
              RewriteCond %{REQUEST_FILENAME} !-f
              RewriteCond %{REQUEST_FILENAME} !-d
              RewriteRule ^(.*)$ index\.php?main_page=$1&%{QUERY_STRING} [L]
              
              ###############################################################################
              # Add any other directives relating to the handling of physical files
              ###############################################################################
              # Notes:
              #
              # If processing makes it this far, the request was for a real file or folder.
              # Example: Adding further processing related to browser caching or security.
              ###############################################################################
              Das einzige was Du darin ändern musst ist folgende Zeile:
              Code:
              #RewriteBase /shop/
              Du entkommentierst diese Zeile durch das Entfernen der Raute und änderst auf:
              Code:
              RewriteBase /
              Und diese .htaccess lädst Du dann ins Shopverzeichnis hoch

              Kommentar


                #8
                Hallo Webchills,
                DAS WARS
                VIELEN VIELEN DANK

                Kommentar

                Info zu diesem Forenarchiv:
                Mit Release von 1.5.7 wurde die deutsche Zen Cart Version auf eine reine DIY-Lösung umgestellt.
                Für einen Support via Forum stehen keine personellen und zeitlichen Ressourcen mehr zur Verfügung.
                Dieses Supportforum bleibt im Nur-Lesen-Modus als Wissensarchiv noch online verfügbar.
                PM Funktionalität, Registrierung und Posten neuer Beiträge sind deaktiviert.
                Zugriff auf Anhänge in den Postings ist auch ohne Registrierung/Einloggen möglich.
                FAQ und Downloadbereich des Forums wurden in die neue umfangreiche Knowledgebase auf der zen-cart-pro.at Website übernommen.

                Das Development der deutschen Zen Cart Version geht wie bisher auf Github weiter.
                Wir werden auch weiterhin neue Versionen bereitstellen und die Onlinedokumentation/Knowledgebase aktualisieren.
                Fehler in der Software können auf Github als Issues gemeldet werden.
                Follow us
                aktuelle version
                Zen Cart 1.5.7g deutsch
                vom 12.12.2023
                [Download]
                Lädt...
                X