Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

405
Visualizações
EasyAdmin on Server - Problem with the /admin route

I have some strange problem with easyadmin 3 on my web server. On my local machine everything works perfectly, but when I deployed the code to the web server, I am getting this error:

The signature of the URL is not valid.

In log file it looks like this:

request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: "The signature of the URL is not valid." at /var/www/myapp/vendor/easycorp/easyadmin-bundle/src/EventListener/AdminRouterSubscriber.php line 134 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException(code: 0): The signature of the URL is not valid. at /var/www/myapp/vendor/easycorp/easyadmin-bundle/src/EventListener/AdminRouterSubscriber.php:134)"} []

If I debug the routes, the route /admin exist:

Name Method Scheme Host Path

app_admin_dashboard_index ANY ANY ANY /admin

Does somebody know what is the problem?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

The problem is solved by adding this code to the DashboardController:

public function configureDashboard(): Dashboard
    {
        return Dashboard::new()
            ->disableUrlSignatures()
            ;
    }
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda