Modulshop - Eine große Auswahl an neuen und hilfreichen Modulen 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: Links im Backend führen immer wieder zum Loggin

    reinwein01

    • Fördermitglied
    • Beiträge: 86
    • Geschlecht:
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #15 am: 12. November 2018, 14:30:27
    Selbst beim Wechsel auf das Standardtemplate aus der aktuellen shopversion gibt es e-notice meldungen und ich kann nur im Microsoft Edge arbeiten.

    zum Bsp.:

    Code: PHP  [Auswählen]
    Type
    E_NOTICE
    Message
    Constant PROJECT_VERSION already defined
    File
    /mnt/web106/b2/97/5284997/htdocs/weinstube_v2/admin_120868STR/includes/version.php
    Line
    23
    Backtrace #0
    /mnt/web106/b2/97/5284997/htdocs/weinstube_v2/inc/check_version_update.inc.php called at Line 20
    Backtrace #1
    /mnt/web106/b2/97/5284997/htdocs/weinstube_v2/templates/tpl_modified/source/boxes/admin.php called at Line 52
    Backtrace #2
    /mnt/web106/b2/97/5284997/htdocs/weinstube_v2/templates/tpl_modified/source/boxes.php called at Line 104
    Backtrace #3
    /mnt/web106/b2/97/5284997/htdocs/weinstube_v2/index.php called at Line 31

    Frage: Als ich umgestellt habe von php 5.6 auf php 7.x habe ich auf msqli geändert. hab ich da noch was vergessen?

    [EDIT Tomcraft 15.11.2018: Beitrag formatiert.]

    reinwein01

    • Fördermitglied
    • Beiträge: 86
    • Geschlecht:
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #16 am: 13. November 2018, 11:12:11
    Bei eingeschaltetem cache bekomme ich folgendes logfile:

    Code: PHP  [Auswählen]
    [13-11-2018 01:44:25] UNDEFINED_ERROR   : LoggingManager: Invalid compiled template for 'tpl_modified/boxes/box_currencies.html' in File: /mnt/web106/b2/97/5284997/htdocs/weinstube_v2/includes/external/smarty/smarty_3/sysplugins/smarty_template_resource_base.php on Line: 116

    da ich in php nicht so bewandert bin, habe ich an der Originalinstallation nicht wissentlich rumgedocktert.

    Gruß Steffen

    [EDIT Tomcraft 15.11.2018: Beitrag formatiert.]

    Timm

    • Fördermitglied
    • Beiträge: 6.257
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #17 am: 13. November 2018, 13:35:49
    Die e-notices beim tpl modified Template kannst du ignorieren. Die sind bekannt und werden rechtzeitig abgestellt mit neueren Shopversionen.

    Den gleichen error hatte ich in 2.0.4.0 weil ich mir beim update des responsive Template eine ältere einzelne smarty Datei drüberkopiert habe. Die war beim Paket vom Team noch fälschlicherweise dabei.

    Deshalb würde ich mal den kompletten smartyordner aus dem 2.0.4.2 Download nochmal drüberziehen.

    Sind bei deinem Template noch andere Dateien dabei, die nicht im Ordner templates sind? Dann hast du dir vielleicht was neueres der 2.0.4.2 damit überschrieben, wenn du das Template danach reinkopiert hast.

    UND WAS IST NUN MIT DEM TIPP SICH EINE AKTUELLE TEMPLATEVERSION ZU BESORGEN VOM HERSTELLER?

    Gruß Timm

    reinwein01

    • Fördermitglied
    • Beiträge: 86
    • Geschlecht:
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #18 am: 13. November 2018, 14:29:51
    Hallo Tim, das Template war schon die aktuelle Version für 2.0.4..
    Scheint auch nicht wirklich für das Problem verantwortlich zu sein, da ich zur Zeit mit dem Standardtemplate arbeite.

    Hat das evtl mit der Umstellung von php 5.6 auf php 7.x zu tun?

    hatte hier lediglich die Htacess auskommentiert und die Änderung auf msqli gemacht.

    Was vergessen?

    den smarty Ordner hab ich schon mal neu überspielt aus der aktuellen Version.

    Gruß Steffen

    Timm

    • Fördermitglied
    • Beiträge: 6.257
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #19 am: 13. November 2018, 17:35:55
    Sind bei deinem Template noch andere Dateien dabei, die nicht im Ordner templates sind? Dann hast du dir vielleicht was neueres der 2.0.4.2 damit überschrieben, wenn du das Template danach reinkopiert hast.

    Das könnte ein Grund sein, warum es nun auch mit den Standardtemplates nicht mehr klappt.

    Hat das evtl mit der Umstellung von php 5.6 auf php 7.x zu tun?

    hatte hier lediglich die Htacess auskommentiert und die Änderung auf msqli gemacht.

    Für php 7 muss nur in der configure.php an einer Stelle durch hinzufügen des i auf msqli umgestellt werden. Mehr nicht. Du hast sicher nicht die .htaccess auskommentiert, sondern nur eine Zeile darin, oder? Poste doch mal vorsichtshalber nochmal deine .htaccess.

    Timm

    • Fördermitglied
    • Beiträge: 6.257
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #20 am: 14. November 2018, 17:44:03
    Hast du zufällig das DSGVO Modul installiert?

    könnte auch ein Grund sein siehe Ticket #1549

    reinwein01

    • Fördermitglied
    • Beiträge: 86
    • Geschlecht:
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #21 am: 15. November 2018, 12:48:49
    sorry für das späte melden, war jetzt ein paar tage beruflich verhindert.
    Danke für die Geduld und Mühe.

    das DSGVO modul habe ich nicht verbaut.

    hier die .htaccess:

    Code: PHP  [Auswählen]
    #AddType application/x-httpd-php3 .php3

    #AddType application/x-httpd-php43 .php4

    #AddType application/x-httpd-php5 .php .php5

    RewriteEngine On
    RewriteBase /
    Options +FollowSymlinks
    #RewriteCond %{HTTP_HOST} ^rein-wein.de [NC]
    #RewriteRule ^(.*)$ https://www.rein-wein.de/

    RewriteCond %{HTTP_HOST} ^rein-wein\.de$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.rein-wein\.de$
    RewriteCond %{REQUEST_URI} !^/weinstube_v2/
    RewriteRule (.*) /weinstube_v2/$1

    Gruß Steffen

    [EDIT Tomcraft 15.11.2018: Beitrag formatiert.]

    Timm

    • Fördermitglied
    • Beiträge: 6.257
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #22 am: 15. November 2018, 14:00:27
    Keine Ahnung, was du da mit deiner .htaccess und den Weiterleitungen gemacht hast, aber probier es mal mit folgendem Code und entferne deinen Code vorher (aber sicher ihn dir vorher):

    Code: XML  [Auswählen]
    ##-- $Id: _.htaccess 10934 2017-08-31 12:11:28Z Tomcraft $

    ##-- 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
      RequestHeader unset Proxy
    </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>

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

    ##-- Add Mime Types
    <IfModule mod_mime.c>
     AddType application/font-woff2 .woff2
    </IfModule>

    # Disable directory browsing (disabled by default as this causes problems on some servers because they don't allow AllowOverride Directive for Options)
    #Options -Indexes

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

    ##-- Customization of HTTP request and response headers
    <IfModule mod_headers.c>
     <FilesMatch "\\.(ico|jpe?g|png|gif|swf|flv|svg)$">
       Header set Cache-Control "max-age=2592000, public"
     </FilesMatch>
     <FilesMatch "\\.(css|woff|woff2|ttf|otf|eot)$">
       Header set Cache-Control "max-age=604800, public"
     </FilesMatch>
     <FilesMatch "\\.(js)$">
       Header set Cache-Control "max-age=604800, private"
     </FilesMatch>
     <FilesMatch "\\.(xml|txt)$">
       Header set Cache-Control "max-age=604800, 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/jpg "access plus 2592000 seconds"
     ExpiresByType image/jpeg "access plus 2592000 seconds"
     ExpiresByType image/png "access plus 2592000 seconds"
     ExpiresByType image/svg+xml "access plus 2592000 seconds"
     ExpiresByType text/html "access plus 1 seconds"
     ExpiresByType text/css "access plus 604800 seconds"
     ExpiresByType text/javascript "access plus 604800 seconds"
     ExpiresByType application/x-javascript "access plus 604800 seconds"
     ExpiresByType application/javascript "access plus 604800 seconds"
     ExpiresByType text/x-component "access plus 604800 seconds"
     ExpiresByType font/truetype "access plus 604800 seconds"
     ExpiresByType font/opentype "access plus 604800 seconds"
     ExpiresByType application/x-font-ttf "access plus 604800 seconds"
     ExpiresByType application/x-font-woff "access plus 604800 seconds"
     ExpiresByType application/font-woff "access plus 604800 seconds"
     ExpiresByType application/vnd.ms-fontobject "access plus 604800 seconds"
     ExpiresByType image/x-icon "access plus 604800 seconds"

     <IfModule mod_headers.c>
       Header append Cache-Control "public"
     </IfModule>
    </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>

    ##-- Redirect error pages to Sitemap
    ##-- set the correct Path to ErrorDocument
    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 Koenig)
    ##-----------------------------------------
    <IfModule mod_rewrite.c>
     ##-- Initialize and enable rewrite engine
     ##-- 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 /weinstube_v2/

     ##-- disallow access to dotfiles (.htaccess, .svn, .git, etc.)
     #RedirectMatch 403 /\.
     
     ##-- Use canonical URLs
     ##-- Use SSL-Proxy
     ##-- HostEurope
     #RewriteCond %{HTTP:X-Forwarded-Server} !^ssl\.webpack\.de$ [NC]
     ##-- 1und1
     #RewriteCond %{HTTP:X-Forwarded-Server} !^ssl\.kundenserver\.de$ [NC]
     ##-- domainFACTORY
     #RewriteCond %{HTTP:X-Forwarded-Server} !^sslsites\.de$ [NC]
     ##-- All-Inkl
     #RewriteCond %{HTTP:X-Forwarded-Server} !^ssl-account\.com$ [NC]
     ##-- Strato
     #RewriteCond %{HTTP:X-Forwarded-Server} !^www\.ssl-id\.de$ [NC]
     
     ##-- redirect to http www-domain, when www is missing and no subdomain given and not using an ssl-proxy
     #RewriteCond %{HTTP_HOST} !^www\. [NC]
     #RewriteCond %{HTTP_HOST} !\.(.*)\. [NC]
     #RewriteCond %{HTTP_HOST} !^localhost [NC]
     #RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

     ##-- redirect to https www-domain, when www is missing and no subdomain given and not using an ssl-proxy
     RewriteCond %{HTTP_HOST} !^www\. [NC]
     RewriteCond %{HTTP_HOST} !\.(.*)\. [NC]
     RewriteCond %{HTTP_HOST} !^localhost [NC]
     RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
     RewriteCond %{SERVER_PORT} !^443$
     RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

     ##-- redirect to https non-www-domain, when no subdomain given and not using an ssl-proxy
     RewriteCond %{SERVER_PORT} !^443$ [OR]
     RewriteCond %{HTTP_HOST} ^www\. [NC]
     RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
     RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]

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

     ##----------------------------------------------------------------------------------
     ##-- When working with SEO-Urls you can decide, whether to use a colon ":" or a dash "-" symbol
     ##-- (Windows Servers might have problems with colon as delimiter!)
     ##-- Change the delimiter symbol (SEO_SEPARATOR) also in file "/includes/extra/seo_url_mod/seo_url_shopstat.php"
     ##-- or create a new file "/includes/extra/configure/seo_separator.php"
     ##-- with the following content: <?php define('SEO_SEPARATOR','-'); ?>
      ##----------------------------------------------------------------------------------

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

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

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

     ##-- Manufacturers (:.:)
     RewriteRule :\.:([_0-9]+):([_0-9]+)\.html$ index.php?manufacturers_id=$1&page=$2 [QSA,L]
     RewriteRule :\.:([0-9]+)\.html$ index.php?manufacturers_id=$1 [QSA,L]

     ##-- Use dash delimiter "-" for SEO-URLS (alternative setting i.e. for windows servers)
     ##-- Categories (---)
     RewriteRule ---([_0-9]+)-([_0-9]+)\.html$ index.php?cPath=$1&page=$2 [QSA,L]
     RewriteRule ---([_0-9]+)\.html$ index.php?cPath=$1 [QSA,L]

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

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

     ##-- Manufacturers (-.-)
     RewriteRule -\.-([_0-9]+)-([_0-9]+)\.html$ index.php?manufacturers_id=$1&page=$2 [QSA,L]
     RewriteRule -\.-([0-9]+)\.html$ index.php?manufacturers_id=$1 [QSA,L]
    </IfModule>

    Gruß Timm

    Edit: ich hab noch das

    Code: XML  [Auswählen]
    ##-- EXAMPLE: If your shop is located at "http://www.yourdomain.com/shop",
      ##-- set the following line like e.g.: RewriteBase /shop/
      RewriteBase /weinstube_v2/

    angepasst, falls du den Code schon kopiert hast.

    reinwein01

    • Fördermitglied
    • Beiträge: 86
    • Geschlecht:
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #23 am: 15. November 2018, 14:23:49
    Sorry, fehler meinerseits:
    das war die .htaccess vor dem shoproute.
    hier die aus dem shop:

    Code: PHP  [Auswählen]
    ##-- $Id: _.htaccess 10934 2017-08-31 12:11:28Z Tomcraft $

    ##-- 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
      RequestHeader unset Proxy
    </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>

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

    ##-- Add Mime Types
    <IfModule mod_mime.c>
      AddType application/font-woff2 .woff2
    </IfModule>

    # Disable directory browsing (disabled by default as this causes problems on some servers because they don't allow AllowOverride Directive for Options)
    #Options -Indexes

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

    ##-- Customization of HTTP request and response headers
    <IfModule mod_headers.c>
      <FilesMatch "\\.(ico|jpe?g|png|gif|swf|flv|svg)$">
        Header set Cache-Control "max-age=2592000, public"
      </FilesMatch>
      <FilesMatch "\\.(css|woff|woff2|ttf|otf|eot)$">
        Header set Cache-Control "max-age=604800, public"
      </FilesMatch>
      <FilesMatch "\\.(js)$">
        Header set Cache-Control "max-age=604800, private"
      </FilesMatch>
      <FilesMatch "\\.(xml|txt)$">
        Header set Cache-Control "max-age=604800, 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/jpg "access plus 2592000 seconds"
      ExpiresByType image/jpeg "access plus 2592000 seconds"
      ExpiresByType image/png "access plus 2592000 seconds"
      ExpiresByType image/svg+xml "access plus 2592000 seconds"
      ExpiresByType text/html "access plus 1 seconds"
      ExpiresByType text/css "access plus 604800 seconds"
      ExpiresByType text/javascript "access plus 604800 seconds"
      ExpiresByType application/x-javascript "access plus 604800 seconds"
      ExpiresByType application/javascript "access plus 604800 seconds"
      ExpiresByType text/x-component "access plus 604800 seconds"
      ExpiresByType font/truetype "access plus 604800 seconds"
      ExpiresByType font/opentype "access plus 604800 seconds"
      ExpiresByType application/x-font-ttf "access plus 604800 seconds"
      ExpiresByType application/x-font-woff "access plus 604800 seconds"
      ExpiresByType application/font-woff "access plus 604800 seconds"
      ExpiresByType application/vnd.ms-fontobject "access plus 604800 seconds"
      ExpiresByType image/x-icon "access plus 604800 seconds"

      <IfModule mod_headers.c>
        Header append Cache-Control "public"
      </IfModule>
    </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>

    ##-- Redirect error pages to Sitemap
    ##-- set the correct Path to ErrorDocument
    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 Koenig)
    ##-----------------------------------------
    <IfModule mod_rewrite.c>
      ##-- Initialize and enable rewrite engine
      ##-- 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 /

      ##-- disallow access to dotfiles (.htaccess, .svn, .git, etc.)
      #RedirectMatch 403 /\.

      ##-- Use canonical URLs
      ##-- Use SSL-Proxy
      ##-- HostEurope
      #RewriteCond %{HTTP:X-Forwarded-Server} !^ssl\.webpack\.de$ [NC]
      ##-- 1und1
      #RewriteCond %{HTTP:X-Forwarded-Server} !^ssl\.kundenserver\.de$ [NC]
      ##-- domainFACTORY
      #RewriteCond %{HTTP:X-Forwarded-Server} !^sslsites\.de$ [NC]
      ##-- All-Inkl
      #RewriteCond %{HTTP:X-Forwarded-Server} !^ssl-account\.com$ [NC]
      ##-- Strato
      #RewriteCond %{HTTP:X-Forwarded-Server} !^www\.ssl-id\.de$ [NC]

      ##-- redirect to http www-domain, when www is missing and no subdomain given and not using an ssl-proxy
      #RewriteCond %{HTTP_HOST} !^www\. [NC]
      #RewriteCond %{HTTP_HOST} !\.(.*)\. [NC]
      #RewriteCond %{HTTP_HOST} !^localhost [NC]
      #RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

      ##-- redirect to https www-domain, when www is missing and no subdomain given and not using an ssl-proxy
      #RewriteCond %{HTTP_HOST} !^www\. [NC]
      #RewriteCond %{HTTP_HOST} !\.(.*)\. [NC]
      #RewriteCond %{HTTP_HOST} !^localhost [NC]
      #RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
      #RewriteCond %{SERVER_PORT} !^443$
      #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

      ##-- redirect to https non-www-domain, when no subdomain given and not using an ssl-proxy
       RewriteCond %{SERVER_PORT} !^443$ [OR]
       RewriteCond %{HTTP_HOST} ^www\. [NC]
       RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
       RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]

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

      ##----------------------------------------------------------------------------------
      ##-- When working with SEO-Urls you can decide, whether to use a colon ":" or a dash "-" symbol
      ##-- (Windows Servers might have problems with colon as delimiter!)
      ##-- Change the delimiter symbol (SEO_SEPARATOR) also in file "/includes/extra/seo_url_mod/seo_url_shopstat.php"
      ##-- or create a new file "/includes/extra/configure/seo_separator.php"
      ##-- with the following content: <?php define('SEO_SEPARATOR','-'); ?>
      ##----------------------------------------------------------------------------------

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

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

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

      ##-- Manufacturers (:.:)
      RewriteRule :\.:([_0-9]+):([_0-9]+)\.html$ index.php?manufacturers_id=$1&page=$2 [QSA,L]
      RewriteRule :\.:([0-9]+)\.html$ index.php?manufacturers_id=$1 [QSA,L]

      ##-- Use dash delimiter "-" for SEO-URLS (alternative setting i.e. for windows servers)
      ##-- Categories (---)
      RewriteRule ---([_0-9]+)-([_0-9]+)\.html$ index.php?cPath=$1&page=$2 [QSA,L]
      RewriteRule ---([_0-9]+)\.html$ index.php?cPath=$1 [QSA,L]

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

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

      ##-- Manufacturers (-.-)
      RewriteRule -\.-([_0-9]+)-([_0-9]+)\.html$ index.php?manufacturers_id=$1&page=$2 [QSA,L]
      RewriteRule -\.-([0-9]+)\.html$ index.php?manufacturers_id=$1 [QSA,L]
    </IfModule>

    [EDIT Tomcraft 15.11.2018: Beitrag formatiert.]

    reinwein01

    • Fördermitglied
    • Beiträge: 86
    • Geschlecht:
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #24 am: 15. November 2018, 14:27:00
    nach deiner Frage ob ich im template was kopiert habe: nein
    alles original so wie es aus der installation kam.

    die htaccess sollte eigentlich auch die originale sein.

    reinwein01

    • Fördermitglied
    • Beiträge: 86
    • Geschlecht:
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #25 am: 15. November 2018, 15:09:08
    Hab den Fehler gefunden: Musste im shop die Cookies bevorzugen einschalten, dann ging die bearbeitung im Backend wieder :datz:

    Timm

    • Fördermitglied
    • Beiträge: 6.257
    Re: Links im Backend führen immer wieder zum Loggin
    Antwort #26 am: 15. November 2018, 19:01:29
    Das kann aber nicht die Lösung sein, da es standardmäßig auf false steht und bei anderen auch so funktioniert. Wer weiß, was das sonst auslöst. Da steht nicht umsonst Achtung bei der Einstellung.

    Du musst in der .htaccess ganz oben noch auf utf-8 stellen. Und poste mal bitte deine Codestellen zukünftig in Codetags, die über dem Texteingabefeld sind. Einfach auf php oder xml klicken und den eh kopierten code zwischen die beiden code tags einsetzen. Macht es übersichtlicher.

    Gruß Timm
    2 Antworten
    3361 Aufrufe
    15. Dezember 2013, 18:36:26 von anders
    1 Antworten
    2419 Aufrufe
    02. September 2011, 00:52:07 von Tomcraft
    16 Antworten
    11470 Aufrufe
    14. Januar 2012, 18:10:41 von schimanski99
    12 Antworten
    3579 Aufrufe
    02. Februar 2018, 11:52:00 von Modulfux