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

default..html.twig is not defined #2263

Closed
JohnMica opened this issue Nov 13, 2018 · 23 comments
Closed

default..html.twig is not defined #2263

JohnMica opened this issue Nov 13, 2018 · 23 comments
Labels

Comments

@JohnMica
Copy link

seems that the latest beta (both Grav and Admin) is causing an error where

default..html.twig is not defined

could this be a typo somewhere in the code?

@rhukster
Copy link
Member

Where do you see this?

@JohnMica
Copy link
Author

JohnMica commented Nov 13, 2018 via email

@rhukster
Copy link
Member

Don't see the images @JohnMica

@JohnMica
Copy link
Author

screenshot 2018-11-13 at 22 16 36
Uploading Screenshot 2018-11-13 at 22.16.46.png…
Uploading Screenshot 2018-11-13 at 22.21.43.png…

@JohnMica
Copy link
Author

screenshot 2018-11-13 at 22 21 43
screenshot 2018-11-13 at 22 16 46

@rhukster
Copy link
Member

weird.. i don't see this... how did you update?

@rhukster
Copy link
Member

or was this a fresh install?

@JohnMica
Copy link
Author

could this be a permission error ?

it seems that saving options is working inside the admin plugin

also my Grav is inside a docker container

no - not a fresh install

existing install, updating in the following order

update Grav from the admin UI
update Admin and Login from the UI

@rhukster
Copy link
Member

It's weird that it has default..html.twig were you running the previous beta before this one? Can you try another browser? Perhaps its related to the content type negotiation that was added in last release.

@JohnMica
Copy link
Author

JohnMica commented Nov 13, 2018 via email

@rhukster
Copy link
Member

is this a custom theme or something? One that doesn't have default.html.twig?

@rhukster
Copy link
Member

Also can you turn on full errors in the system.yaml i could really do with a stack trace to see where the error is coming from

@JohnMica
Copy link
Author

JohnMica commented Nov 13, 2018 via email

@rhukster
Copy link
Member

It's strange, i've tested upgrades, and fresh installs, both on my local apache webserver and also the bult-in PHP webserver. Maybe the update failed mid-upgrade or something weird.

@JohnMica
Copy link
Author

JohnMica commented Nov 13, 2018 via email

@rhukster
Copy link
Member

let me know if the fresh install sorts things out for you.

@JohnMica
Copy link
Author

JohnMica commented Nov 13, 2018 via email

@rhukster
Copy link
Member

Looking over all those 404, it seems a bunch of stuff is missing.. so i am leaning towards a bad/failed upgrade somehow. never experienced one of these myself so hard to say how that happened.

@JohnMica
Copy link
Author

seems that something did go wrong during the update.

after a computer restart, even if the childpages and the admin pages are accessible, the homepage of the website has a strange error as well

An exception has been thrown during the rendering of a template ("Template "modular/text..html.twig" is not defined.").
Previous exceptions
Template "modular/text..html.twig" is not defined. (404)
Template "modular/text..html.twig" is not defined. (0)

again the name..html.twig appears somehow - strange indeed

@JohnMica
Copy link
Author

seems a fresh install takes away the issues completely.

@JohnMica JohnMica reopened this Nov 13, 2018
@JohnMica
Copy link
Author

sorry to reopen

the moment I select the add extensions option and place .html the issue reappears, so I guess it is not just the update or a fresh install after all.

@rhukster
Copy link
Member

Ok, confirmed, its' related to the append_url_extension: option in system.yaml. Do you mind creating a fresh issue for this?

@JohnMica
Copy link
Author

JohnMica commented Nov 13, 2018 via email

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

2 participants