Support Request Support ⇒ Fixed Footer Navbar crashes after update
-
- Users
- Status: Offline
- User theme: Dark
- Posts: 8
- Joined: Mar 6th, '23, 14:44
Fixed Footer Navbar crashes after update
Your phpBB Version:
Your phpBB Type: Standard phpBB
Extensions installed: Yes
Your knowledge: Beginner
What have you done before the problem was there?
I've updated the forum from 3.3.5 to 3.3.10
As usually, I first try the new version in my testforum.
When the ext is activated the following errormessage appears:
Fatal error: Uncaught Twig\Error\LoaderError: Looks like you try to load a template outside configured directories (../theme/fixedfooternavbar.css) in "@dmzx_fixedfooternavbar/event/overall_header_head_append.html" at line 1. in /w__/htdocs/___.xxx/vendor/twig/twig/src/Loader/FilesystemLoader.php:291 Stack trace: #0 /w__/htdocs/___.xxx/vendor/twig/twig/src/Loader/FilesystemLoader.php(211): Twig\Loader\FilesystemLoader->validateName('../theme/fixedf...') #1 /w__/htdocs/w0140128/___.xxx/phpbb/template/twig/loader.php(135): Twig\Loader\FilesystemLoader->findTemplate('../theme/fixedf...', true) #2 /w--/htdocs/w0140128/____.xxx/vendor/twig/twig/src/Loader/FilesystemLoader.php(150): phpbb\template\twig\loader->findTemplate('../theme/fixedf...') #3 /w__/htdocs/____.xxx/phpbb/template/twig/environment.php(313): Twig\Loader\FilesystemLoader->getCacheKey('../theme/fixedf...') #4 /w__/htdocs/w0140128/testforum.esterelcl in /w__/htdocs/w0140128/____.xxx/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 291
Under 3.3.5 there were no errors
What have you already tried to solve the problem?
First I've activated the ext "in the flow" of activating my whole ext. I thought that the ext perhaps crashes in reaction with an other already activated. So I restored the old forumversion and than I activated the ext at first. But it also crashes. I also downloaded it and replaced the files in my directory.
Description and Message
Your phpBB Type: Standard phpBB
Extensions installed: Yes
Your knowledge: Beginner
What have you done before the problem was there?
I've updated the forum from 3.3.5 to 3.3.10
As usually, I first try the new version in my testforum.
When the ext is activated the following errormessage appears:
Fatal error: Uncaught Twig\Error\LoaderError: Looks like you try to load a template outside configured directories (../theme/fixedfooternavbar.css) in "@dmzx_fixedfooternavbar/event/overall_header_head_append.html" at line 1. in /w__/htdocs/___.xxx/vendor/twig/twig/src/Loader/FilesystemLoader.php:291 Stack trace: #0 /w__/htdocs/___.xxx/vendor/twig/twig/src/Loader/FilesystemLoader.php(211): Twig\Loader\FilesystemLoader->validateName('../theme/fixedf...') #1 /w__/htdocs/w0140128/___.xxx/phpbb/template/twig/loader.php(135): Twig\Loader\FilesystemLoader->findTemplate('../theme/fixedf...', true) #2 /w--/htdocs/w0140128/____.xxx/vendor/twig/twig/src/Loader/FilesystemLoader.php(150): phpbb\template\twig\loader->findTemplate('../theme/fixedf...') #3 /w__/htdocs/____.xxx/phpbb/template/twig/environment.php(313): Twig\Loader\FilesystemLoader->getCacheKey('../theme/fixedf...') #4 /w__/htdocs/w0140128/testforum.esterelcl in /w__/htdocs/w0140128/____.xxx/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 291
Under 3.3.5 there were no errors
What have you already tried to solve the problem?
First I've activated the ext "in the flow" of activating my whole ext. I thought that the ext perhaps crashes in reaction with an other already activated. So I restored the old forumversion and than I activated the ext at first. But it also crashes. I also downloaded it and replaced the files in my directory.
Description and Message
-
- Users
- Status: Offline
- User theme: Dark
- Posts: 310
- Joined: Apr 6th, '15, 16:04
Re: Fixed Footer Navbar crashes after update
It is probably a similar error as with the Board3 portal. You find the solution here: https://area51.phpbb.com/phpBB/viewtopi ... 56#p354956
It must of course be adapted to what this extension requires. Instead of @board3_portal enter the correct author_extension part
It must of course be adapted to what this extension requires. Instead of @board3_portal enter the correct author_extension part
-
If you want to get German translations for extensions: ask me.
If you want to get German translations for extensions: ask me.
-
- Users
- Status: Offline
- User theme: Dark
- Posts: 8
- Joined: Mar 6th, '23, 14:44
Re: Fixed Footer Navbar crashes after update
Hi. The overall_header_head_append.html contains only one line
<!-- INCLUDECSS ../theme/fixedfooternavbar.css -->
I first changed to <!-- INCLUDECSS ../theme/@dmzx_fixedfooternavbar -->
and then to <!-- INCLUDECSS ../@dmzx_fixedfooternavbar -->
But both times there is the errormessage again
I also tried <!-- INCLUDECSS ../@dmzx/fixedfooternavbar -->
but also error
<!-- INCLUDECSS ../theme/fixedfooternavbar.css -->
I first changed to <!-- INCLUDECSS ../theme/@dmzx_fixedfooternavbar -->
and then to <!-- INCLUDECSS ../@dmzx_fixedfooternavbar -->
But both times there is the errormessage again
I also tried <!-- INCLUDECSS ../@dmzx/fixedfooternavbar -->
but also error
-
- Donator
- Status: Offline
- User theme: Dark
- Posts: 137
- Joined: Aug 19th, '20, 10:54
Re: Fixed Footer Navbar crashes after update
Replace by
Code: Select all
<!-- INCLUDECSS '@dmzx_fixedfooternavbar/fixedfooternavbar.css' -->
-
- Admin
- Status: Offline
- User theme: Dark
- Posts: 5060
- Joined: Apr 6th, '14, 14:12
Re: Fixed Footer Navbar crashes after update
It needs twigssl wrote: Mar 6th, '23, 18:46 replace byCode: Select all
<!-- INCLUDECSS '@dmzx_fixedfooternavbar/fixedfooternavbar.css' -->
Code: Select all
{% INCLUDECSS '@dmzx_fixedfooternavbar/fixedfooternavbar.css' %}
-
- Users
- Status: Offline
- User theme: Dark
- Posts: 8
- Joined: Mar 6th, '23, 14:44
Re: Fixed Footer Navbar crashes after update
Thanks Martin, it is working again. Can you pls tell me, what is Twig?
-
- Admin
- Status: Offline
- User theme: Dark
- Posts: 5060
- Joined: Apr 6th, '14, 14:12
Re: Fixed Footer Navbar crashes after update
Twig has been around for a while it's another way of coding html to keep up with browsers phpbb was just 20 years behind.
-
- Users
- Status: Offline
- User theme: Dark
- Posts: 8
- Joined: Mar 6th, '23, 14:44
-
- VIP
- Status: Offline
- User theme: Dark
- Posts: 1151
- Joined: Oct 14th, '14, 17:01
Re: Fixed Footer Navbar crashes after update
Yes I think he said 20 years.
but he exaggerates

-
- Users
- Status: Offline
- User theme: Dark
- Posts: 8
- Joined: Mar 6th, '23, 14:44
Re: Fixed Footer Navbar crashes after update
What I wonder. when Twig is being used for such a long time - why the problem now appears? The ext is working since we est. our forum....
-
- Donator
- Status: Offline
- User theme: Dark
- Posts: 137
- Joined: Aug 19th, '20, 10:54
Re: Fixed Footer Navbar crashes after update
The reason is that you have just upgraded your forum to version 3.3.10, since version 3.3.9 of phpBB the TWIG behavior has changed.
The error message in question has been around for a long time, precisely since phpBB 3.1.0 (Twig 1.13.2). However, the associated verification has changed several times over the years and remained unchanged for a long time with phpBB 3.3 up to phpBB 3.3.8 (Twig 2.15.1). However, with phpBB 3.3.9 (Twig 2.15.3), there was a small change in the following file, which, in combination with the relative path specification, then leads to the mentioned error message:
vendor\twig\twig\src\Loader\FilesystemLoader.php
The error message in question has been around for a long time, precisely since phpBB 3.1.0 (Twig 1.13.2). However, the associated verification has changed several times over the years and remained unchanged for a long time with phpBB 3.3 up to phpBB 3.3.8 (Twig 2.15.1). However, with phpBB 3.3.9 (Twig 2.15.3), there was a small change in the following file, which, in combination with the relative path specification, then leads to the mentioned error message:
vendor\twig\twig\src\Loader\FilesystemLoader.php
-
- Users
- Status: Offline
- User theme: Dark
- Posts: 8
- Joined: Mar 6th, '23, 14:44
Re: Fixed Footer Navbar crashes after update
Thanks for this info. I'm not a professional, but I always try to understand what I do
With this background: I have many extensions (for example "Contact the admin") which are "sleeping" - they are not in use every day. Would it be good, to check in all extensions the overall_header_head_append.html?

With this background: I have many extensions (for example "Contact the admin") which are "sleeping" - they are not in use every day. Would it be good, to check in all extensions the overall_header_head_append.html?
-
- Donator
- Status: Offline
- User theme: Dark
- Posts: 137
- Joined: Aug 19th, '20, 10:54
Re: Fixed Footer Navbar crashes after update
It is especially necessary to check if the extensions used do not need updating, this is an important rule to apply when updating phpBB.
-
- Users
- Status: Offline
- User theme: Dark
- Posts: 8
- Joined: Mar 6th, '23, 14:44
Re: Fixed Footer Navbar crashes after update
Yes, I know this and check it every update.
So, when there is no update for the ext there will be no problem?
So, when there is no update for the ext there will be no problem?
-
- Donator
- Status: Offline
- User theme: Dark
- Posts: 137
- Joined: Aug 19th, '20, 10:54
Re: Fixed Footer Navbar crashes after update
In theory not, unless the developers have abandoned their extension or do not keep them up to date.LuMaReMa wrote: Mar 10th, '23, 10:30 So, when there is no update for the ext there will be no problem?