Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty login page #8

Open
jakubmacak opened this issue Jul 13, 2018 · 2 comments
Open

Empty login page #8

jakubmacak opened this issue Jul 13, 2018 · 2 comments

Comments

@jakubmacak
Copy link

Hi,

when I installed your bundle, login page is displayed without any content (only white background). Where could be a problem? After login, everything is fine (I have to remove bundle from AppKernel.php to log in).

screenshot from 2018-07-13 12-54-16

@nykopol
Copy link
Contributor

nykopol commented Aug 31, 2018

Hello @Kmaci,

from what I know, sonata admin doesn't provide the login form on itself. It's probably something that you added by yourself or provided by a bundle I don't know. So it's hard to diagnose outside of the context, but the possibles causes can be:

  • your login template doesn't extend the template
  • your login form is not in the right block

If you give more details I can maybe help you.

@jeroendk
Copy link

@nykopol I think kmaci uses the sonata-user bundle with the admin bundle. I can confirm the login page is empty in that case, this is due the lack of the following block in your standard_layout.twig.html:
{% block sonata_wrapper %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants