Hi Leute,
ich habe seit dem Update auf Contao 4.8.7 ein Problem mit der externen Weiterleitung aus dem Hauptmenü.
Seit dem Update werden die URLs nicht mehr richtig generiert.
Eine Externe Weiterleitung aus dem Hauptmenü führt jetzt immer zu einer URL
https://miri-art.de/https://archiv.miri-art.de -> 404 page not found.
https://miri-art.de -> Menü: Externes Archiv
Seltsamerweise hängt dieses Verhalten von der Seitenbreite im Browser ab.
Ist das Hauptmenü als Menüleiste dargestellt (breite Browserseite), dann tritt der Fehler auf.
Reduziert man die Seitenbreite im Browser, so dass das Hauptmenu als Ausklappmenü
dargestellt wird, dann funktioniert die Weiterleitung ohne Probleme.
Im Debug Modus bekomme ich die unten angezeigten Ausgaben. Suspekt finde ich schon mal,
dass "/https://archiv.miri-art.de/" mit einen '/' startet. Der Seitentyp ist aber
auf externe Weiterleitung gesetzt und in der Maske steht nur http://...
Da ich noch nicht so viel Erfahrung mit Contao habe benötige ich eure Hilfe oder Tipps um mein
Problem zu lösen. Ich weiß auch nicht ob dies ein Problem von Contao, des Themes, der Datenbank
oder meines Codes ist.
Danke und Grüße
Michael
Code:
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "No routes found
for "/https://archiv.miri-art.de/"." [] []
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Cmf\Component\Routing\DynamicRouter was not able to match, message "" [] []
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_index' not found': Unable to generate a URL for the named route "contao_index" as such route does not exist. [] []
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:48:58] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:49:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:49:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:49:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:49:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:49:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:49:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'c
ontao_frontend' not found': Unable to generate a URL for the named route "contao_frontend" as such route does not exist. [] []
[2019-12-28 08:49:01] request.INFO: Matched route "visitors_frontend_screencount". {"route":"visitors_frontend_screencount","route_pa
rameters":{"_route":"visitors_frontend_screencount","_scope":"frontend","_token_check":false,"_controller":"BugBuster\\VisitorsBundle
\\Controller\\VisitorsFeController::screencountAction"},"request_uri":"https://miri-art.de/visitors/screencount?scrh=1080&scrih=1010&
scriw=1210&scrw=1920&vcid=1","method":"GET"} []
[2019-12-28 08:49:01] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2019-12-28 08:49:01] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_prof
iler.controller.profiler::toolbarAction","token":"88eb43"},"request_uri":"https://miri-art.de/_wdt/88eb43","method":"GET"} []
Lesezeichen