cesurapp / pd-admin

Powerful Admin Dashboard for Symfony 5
MIT License
95 stars 21 forks source link

The page isn’t redirecting properly #3

Open Oussamalajili opened 5 years ago

Oussamalajili commented 5 years ago

There is some cookies accepting problems when connecting by a user account

cesurapp commented 5 years ago

If you are getting 404 page after user login. This problem is caused by images not found. Install Logo and Favicon from the settings (don't forget to clear the cache).

Or if you disable the error listener, the problem will be corrected. https://github.com/appaydin/pd-admin/blob/master/src/Listener/ExceptionListener.php

Oussamalajili commented 5 years ago

Hi, I appreciate your quick response. the logo and the the favicon are installed correctly and i cleared the cache. the problem is when i login with a user or admin account the browser shows an error message(see the image below). while when i connect with a super admin it goes smoothly with no problem. Please help me if you have a solution.

Le mer. 3 avr. 2019 à 18:28, R. Kerem APAYDIN notifications@github.com a écrit :

If you are getting 404 page after user login. This problem is caused by images not found. Install Logo and Favicon from the settings (don't forget to clear the cache).

Or if you disable the error listener, the problem will be corrected. https://github.com/appaydin/pd-admin/blob/master/src/Listener/ExceptionListener.php

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/appaydin/pd-admin/issues/3#issuecomment-479584090, or mute the thread https://github.com/notifications/unsubscribe-auth/AlrBwdL2BrLrG4Iq6byU3VhWqY2XNTHnks5vdOSggaJpZM4caMlv .

-- Lajili_Oussama

yudhir commented 5 years ago

Same issue on Fresh Install , DB is Postgres

cesurapp commented 5 years ago

Authorization and picture-based problem.

  1. If there is no picture or Favicon, the Kernel throws an error. "App/Listener/ExceptionListener" is causing this. When using Nginx, you will not have any problem. The problem occurs because the local server redirects all requests to symfony.
  2. For unauthorized access, "App/Security/AccessDeniedHandler" handler redirects as "admin_dashboard". Change the forwarding address.