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

Error 500 Unable to find base-layout.html.twig #236

Open
craph opened this issue Mar 6, 2018 · 1 comment
Open

Error 500 Unable to find base-layout.html.twig #236

craph opened this issue Mar 6, 2018 · 1 comment
Assignees
Labels

Comments

@craph
Copy link

craph commented Mar 6, 2018

@shakaran
Please we I add this bloc of code
{% extends 'AvanzuAdminThemeBundle:layout:base-layout.html.twig' %}
in my base.html.twig I got an internal server error.

Here is the stack trace :
Unable to find template "AvanzuAdminThemeBundle:layout:base-layout.html.twig" (looked into: C:\wamp64\www\project\app/Resources/views, C:\wamp64\www\project\vendor\symfony\symfony\src\Symfony\Bridge\Twig/Resources/views/Form) in base.html.twig at line 1.

Is the version 1.3.x really stable ??

Component Version
Symfony version 3.4
AdminThemeBundle ^1.3
Operating System Windows
@maxi3390
Copy link

Hi @craph, I had the same problem using Symfony 3.4 with PHP5.6, you should enable twig templating engine on the app/config/config.yml file.

# app/config/config.yml
framework:
    # ...
    templating: { engines: ['twig'] }

@shakaran shakaran added the bug label Apr 25, 2019
@shakaran shakaran self-assigned this Apr 25, 2019
@shakaran shakaran added this to the Old 1.3.x versions milestone Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants