-
Notifications
You must be signed in to change notification settings - Fork 106
Admin makes weird redirect during save #746
Comments
Does it work on production environment on your dev machine? Do you have some output from the log? Normally this redirects with the language are only done on the website to find a page which is requested without a locale not in the admin maybe some fail configuration of the webserver could be the problem e.g. a false mod rewrite. |
its a normal 404 error. Where do I look for the cause? Pozdrawiam, Jakub Pawlik / Best regards, James Pawlik 2016-09-08 9:02 GMT+02:00 L91 [email protected]:
|
you dont need the error or log of the 404 you need the log of the the log are under |
It's crazy but after deleting logs and proceeding to save some content i have only website log. It's like my backend runs on frontend environment! Here is the app/logs/website/prod/prod.log : [2016-09-13 15:13:10] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:10] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:10] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:10] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:10] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/admin/security/profile/settings" (from "http://www.xn--archanio-epb.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object](Symfony\Component\HttpKernel\Exception\NotFoundHttpException%28code: 0%29: No route found for "GET /pl/admin/security/profile/settings" %28from "http://www.xn--archanio-epb.pl/admin/"%29 at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException%28code: 0%29: None of the routers in the chain matched this requestnGET /pl/admin/security/profile/settings HTTP/1.1rnAccept: */*rnAccept-Encoding: gzip, deflate, sdchrnAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4rnConnection: closernContent-Length: 76rnContent-Type: application/x-www-form-urlencoded; charset=UTF-8rnCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1rnHost: www.xn--archanio-epb.plrnOrigin: http://www.xn--archanio-epb.plrnReferer: http://www.xn--archanio-epb.pl/admin/rnSurrogate-Capability: symfony2="ESI/1.0"rnUser-Agent: Mozilla/5.0 %28Windows NT 10.0; WOW64%29 AppleWebKit/537.36 %28KHTML, like Gecko%29 Chrome/52.0.2743.116 Safari/537.36rnX-Forwarded-For: 46.134.82.23rnX-Php-Ob-Level: 1rnX-Requested-With: XMLHttpRequestrnrnkey=angelColumnNavigationSelected&value=de05ea93-6268-48cd-bcc9-cd65fee56eb5 at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:11] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] [] [2016-09-13 15:13:12] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:12] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:12] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:12] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:12] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/admin/security/profile/settings" (from "http://www.xn--archanio-epb.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object](Symfony\Component\HttpKernel\Exception\NotFoundHttpException%28code: 0%29: No route found for "GET /pl/admin/security/profile/settings" %28from "http://www.xn--archanio-epb.pl/admin/"%29 at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException%28code: 0%29: None of the routers in the chain matched this requestnGET /pl/admin/security/profile/settings HTTP/1.1rnAccept: */*rnAccept-Encoding: gzip, deflate, sdchrnAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4rnConnection: closernContent-Length: 76rnContent-Type: application/x-www-form-urlencoded; charset=UTF-8rnCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1rnHost: www.xn--archanio-epb.plrnOrigin: http://www.xn--archanio-epb.plrnReferer: http://www.xn--archanio-epb.pl/admin/rnSurrogate-Capability: symfony2="ESI/1.0"rnUser-Agent: Mozilla/5.0 %28Windows NT 10.0; WOW64%29 AppleWebKit/537.36 %28KHTML, like Gecko%29 Chrome/52.0.2743.116 Safari/537.36rnX-Forwarded-For: 46.134.82.23rnX-Php-Ob-Level: 1rnX-Requested-With: XMLHttpRequestrnrnkey=angelColumnNavigationSelected&value=de05ea93-6268-48cd-bcc9-cd65fee56eb5 at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:12] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] [] [2016-09-13 15:13:15] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:15] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:15] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:15] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:15] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/js/d41c63a.js" (from "http://www.xn--archanio-epb.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object](Symfony\Component\HttpKernel\Exception\NotFoundHttpException%28code: 0%29: No route found for "GET /pl/js/d41c63a.js" %28from "http://www.xn--archanio-epb.pl/admin/"%29 at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException%28code: 0%29: None of the routers in the chain matched this requestnGET /pl/js/d41c63a.js HTTP/1.1rnAccept: */*rnAccept-Encoding: gzip, deflate, sdchrnAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4rnConnection: closernCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1rnHost: www.xn--archanio-epb.plrnReferer: http://www.xn--archanio-epb.pl/admin/rnSurrogate-Capability: symfony2="ESI/1.0"rnUser-Agent: Mozilla/5.0 %28Windows NT 10.0; WOW64%29 AppleWebKit/537.36 %28KHTML, like Gecko%29 Chrome/52.0.2743.116 Safari/537.36rnX-Forwarded-For: 46.134.82.23rnX-Php-Ob-Level: 1rnrn at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:15] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] [] [2016-09-13 15:13:16] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:16] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:16] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:16] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:16] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/js/d41c63a.js" (from "http://www.xn--archanio-epb.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object](Symfony\Component\HttpKernel\Exception\NotFoundHttpException%28code: 0%29: No route found for "GET /pl/js/d41c63a.js" %28from "http://www.xn--archanio-epb.pl/admin/"%29 at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException%28code: 0%29: None of the routers in the chain matched this requestnGET /pl/js/d41c63a.js HTTP/1.1rnAccept: */*rnAccept-Encoding: gzip, deflate, sdchrnAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4rnConnection: closernCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1rnHost: www.xn--archanio-epb.plrnReferer: http://www.xn--archanio-epb.pl/admin/rnSurrogate-Capability: symfony2="ESI/1.0"rnUser-Agent: Mozilla/5.0 %28Windows NT 10.0; WOW64%29 AppleWebKit/537.36 %28KHTML, like Gecko%29 Chrome/52.0.2743.116 Safari/537.36rnX-Forwarded-For: 46.134.82.23rnX-Php-Ob-Level: 1rnrn at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:16] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] [] [2016-09-13 15:13:30] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:30] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:30] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:30] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:30] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/admin/api/nodes/de05ea93-6268-48cd-bcc9-cd65fee56eb5" (from "http://www.xn--archanio-epb.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for "GET /pl/admin/api/nodes/de05ea93-6268-48cd-bcc9-cd65fee56eb5" (from "http://www.xn--archanio-epb.pl/admin/\") at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): None of the routers in the chain matched this request\nGET /pl/admin/api/nodes/de05ea93-6268-48cd-bcc9-cd65fee56eb5 HTTP/1.1\r\nAccept: application/json, text/javascript, /; q=0.01\r\nAccept-Encoding: gzip, deflate, sdch\r\nAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4\r\nConnection: close\r\nContent-Length: 1899\r\nContent-Type: application/json\r\nCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1\r\nHost: www.xn--archanio-epb.pl\r\nOrigin: http://www.xn--archanio-epb.pl\r\nReferer: http://www.xn--archanio-epb.pl/admin/\r\nSurrogate-Capability: symfony2="ESI/1.0"\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36\r\nX-Forwarded-For: 46.134.82.23\r\nX-Php-Ob-Level: 1\r\nX-Requested-With: XMLHttpRequest\r\n\r\n{"id":"de05ea93-6268-48cd-bcc9-cd65fee56eb5","url":"/gwarancja","created":"2016-09-07T20:09:07+0200","changed":"2016-09-07T20:30:58+0200","creator":1,"changer":1,"title":"Gwarancjaz","navContexts":[],"nodeType":1,"nodeState":2,"published":"2016-09-07T20:09:07+0200","shadowOn":false,"shadowBaseLanguage":null,"ext":{"seo":{"title":"","description":"","keywords":"","canonicalUrl":"","noIndex":false,"noFollow":false,"hideInSitemap":false},"excerpt":{"title":"","more":"","description":"","categories":[],"tags":[],"icon":[],"images":[]}},"order":30,"_permissions":{"view":true,"add":true,"edit":true,"delete":true,"archive":true,"live":true,"security":true},"template":"warranty","originTemplate":"warranty","internal":false,"localizedTemplate":"Gwarancja","headText":" \n","article":" \n\n ","notice":"* w porównaniu do ASO","children":{"dataSource":"de05ea93-6268-48cd-bcc9-cd65fee56eb5","includeSubFolders":true,"categories":[],"categoryOperator":"or","tags":[],"tagOperator":"or","sortBy":[],"sortMethod":"asc","presentAs":null},"breadcrumb":[{"uuid":"875d21e9-1f19-4a24-90d4-9ef71f546eb6","title":"Archanioł - Stróż twojego samochodu","depth":0}],"path":"/gwarancja","parentUuid":"875d21e9-1f19-4a24-90d4-9ef71f546eb6","concreteLanguages":["pl"],"enabledShadowLanguages":[],"linked":null,"publishedState":true,"hasSub":true,"_hash":"e05ae6d083e1f8d6d374ca1710f390cb","_links":{"self":{"href":"/admin/api/nodes/de05ea93-6268-48cd-bcc9-cd65fee56eb5?language=pl"},"children":{"href":"/admin/api/nodes?parent=de05ea93-6268-48cd-bcc9-cd65fee56eb5&depth=1&webspace=angel&language=pl"}}} at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:30] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] [] |
@papablack Have you maybe edited the And is it only happening in production or does it also happen in the dev environment? I am talking about the Symfony environment here. |
i didn't and its on prod but it works on other hosting Pozdrawiam, Jakub Pawlik / Best regards, James Pawlik 2016-09-19 13:27 GMT+02:00 Daniel Rotter [email protected]:
|
Did you compare the webserver configurations? Has to be something like that... Are the redirects correct? Does |
The admin panel makes weird redirext after i save content look at the picture. Please help i cant put my page on production!
The text was updated successfully, but these errors were encountered: