getgrav / grav-theme-learn2

Learn2 Grav Theme
https://getgrav.org
MIT License
80 stars 42 forks source link

RuntimeException (400) #33

Open thechangingchange opened 8 years ago

thechangingchange commented 8 years ago

Hello! I downloaded GetGrav with the admin plugin, extracted it on my web server, set up an admin account and downloaded your theme getgrav-grav-theme-learn2-1.6.0-0-ga615cf5.zip and did what the instructions showed:

  1. Created a folder learn2 in /user/themes
  2. Extracted the files into learn2
  3. Changed the active theme to learn2
  4. Disabled caching in the Admin settings panel

Then I opened my website. I can see the new design, but also a lot of error messages:

RuntimeException (400) Template "default.html.twig" is not defined.

error

Sounds like some important steps are missing from https://github.com/getgrav/grav-theme-learn2/#manual-installation?


Can be deleted. Was automatically fixed after using a different browser :(

pothi commented 7 years ago

All themes don't use the "default" template. You may have had some (default) content that uses the "default" template.

To fix it, if you use admin plugin, edit the existing content, visit "advanced" tab in the edit screen, look for "Page Template" dropdown, and choose a template that isn't "default". For example, I use learn2 theme too. I chose "chapter" template (you may use "docs" template, depending on your requirement).

I hope that helps.