Preview funktioniert nicht
Hallo , habe Heute versucht von contao 4.13.14 ein Update zu machen auf Contao 5.0.7 alles ist wunderbar nur wenn ich eine Seite aufrufen möchte kommt ein 404 Fehler.
Oops! An Error Occurred
The server returned a "404 Not Found".
Logs:
Code:
ERROR 13:52:29 request Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET http://test2web.local//preview.php/test2" (from "http://test2web.local/")" at C:\laragon\www\test2web\vendor\symfony\http-kernel\EventListener\RouterListener.php line 128
{
"exception": {}
}
Hier der Stack Traces:
Code:
Symfony\Component\Routing\Exception\ResourceNotFoundException:
None of the routers in the chain matched this request
GET //preview.php/test2 HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de,en-US;q=0.7,en;q=0.3
Connection: keep-alive
Cookie: csrf_contao_csrf_token=M_vT7w_JX__ieFLgH4InFvlQbIDliMI7rvlkGtaDBSs; contao_settings=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkZWJ1ZyI6dHJ1ZSwiaWF0IjoxNjcxMTA4NzI1LjYyNDkyOSwiZXhwIjoxNjcxMTEwNTI1LjYyNDk0Nn0.PwFMqxVb_XkfxnirGkoivUI_2qcs7U5HVVi3DTQU6Mk; PHPSESSID=fb1cvi03sg097nnj596l51404o; sf_redirect=%7B%22token%22%3A%22555b7f%22%2C%22route%22%3A%22contao_backend_preview%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%22Contao%5C%5CCoreBundle%5C%5CController%5C%5CBackendPreviewController%22%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D
Host: test2web.local
Referer: http://test2web.local/
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0
X-Php-Ob-Level: 1
Cookie: csrf_contao_csrf_token=M_vT7w_JX__ieFLgH4InFvlQbIDliMI7rvlkGtaDBSs; contao_settings=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkZWJ1ZyI6dHJ1ZSwiaWF0IjoxNjcxMTA4NzI1LjYyNDkyOSwiZXhwIjoxNjcxMTEwNTI1LjYyNDk0Nn0.PwFMqxVb_XkfxnirGkoivUI_2qcs7U5HVVi3DTQU6Mk; PHPSESSID=fb1cvi03sg097nnj596l51404o; sf_redirect={"token":"555b7f","route":"contao_backend_preview","method":"GET","controller":"Contao\\CoreBundle\\Controller\\BackendPreviewController","status_code":302,"status_text":"Found"}
at C:\laragon\www\test2web\vendor\symfony-cmf\routing\src\ChainRouter.php:180
at Symfony\Cmf\Component\Routing\ChainRouter->doMatch('//preview.php/test2', object(Request))
(C:\laragon\www\test2web\vendor\symfony-cmf\routing\src\ChainRouter.php:134)
at Symfony\Cmf\Component\Routing\ChainRouter->matchRequest(object(Request))
(C:\laragon\www\test2web\vendor\symfony\http-kernel\EventListener\RouterListener.php:106)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(C:\laragon\www\test2web\vendor\symfony\event-dispatcher\Debug\WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(C:\laragon\www\test2web\vendor\symfony\event-dispatcher\EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(C:\laragon\www\test2web\vendor\symfony\event-dispatcher\EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(C:\laragon\www\test2web\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:127)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(C:\laragon\www\test2web\vendor\symfony\http-kernel\HttpKernel.php:139)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(C:\laragon\www\test2web\vendor\symfony\http-kernel\HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(C:\laragon\www\test2web\vendor\symfony\http-kernel\Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(C:\laragon\www\test2web\public\preview.php:46)
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET http://test2web.local//preview.php/test2" (from "http://test2web.local/")
at C:\laragon\www\test2web\vendor\symfony\http-kernel\EventListener\RouterListener.php:128
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(C:\laragon\www\test2web\vendor\symfony\event-dispatcher\Debug\WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(C:\laragon\www\test2web\vendor\symfony\event-dispatcher\EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(C:\laragon\www\test2web\vendor\symfony\event-dispatcher\EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(C:\laragon\www\test2web\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:127)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(C:\laragon\www\test2web\vendor\symfony\http-kernel\HttpKernel.php:139)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(C:\laragon\www\test2web\vendor\symfony\http-kernel\HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(C:\laragon\www\test2web\vendor\symfony\http-kernel\Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(C:\laragon\www\test2web\public\preview.php:46)
Danke für die Hilfe
wolli
Preview funktioniert nicht
Danke spooky , wie kann ich die Seite im Frontend ohne preview öffnen.
Spooky ,ich wünsche dir einen schönen 4 Advent.
Wollt