Error when applying new theme

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
nickia007
Registered User
Posts: 3
Joined: Sun Jul 15, 2018 8:10 pm

Error when applying new theme

Post by nickia007 » Sun Jul 15, 2018 8:22 pm

Hello there,

when I try to use another theme, later or sooner this error shows up on my website:

Fatal error: Uncaught Twig_Error_Loader: Unable to find template "overall_header.html" (looked into: /var/customers/webs/***********/forum/styles/pycode/template, /var/customers/webs/***********/forum/styles/pycode/theme, /var/customers/webs/***********/forum/styles/all/template) in "index_body.html" at line 1. in /var/customers/webs/***********/forum/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:232 Stack trace: #0 /var/customers/webs/***********/forum/phpbb/template/twig/loader.php(135): Twig_Loader_Filesystem->findTemplate('overall_header....') #1 /var/customers/webs/***********/forum/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(150): phpbb\template\twig\loader->findTemplate('overall_header....') #2 /var/customers/webs/***********/forum/vendor/twig/twig/lib/Twig/Environment.php(330): Twig_Loader_Filesystem->getCacheKey('overall_header....') #3 /var/customers/webs/***********/forum/vendor/twig/twig/lib/Twig/Environment.php(424): Twig_Environment->getTemplateClass('overall_header....') #4 /var/customers/webs/*********** in /var/customers/webs/***********/forum/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 232

I don't get this problem when using the standard theme.

User avatar
KevC
Support Team Member
Support Team Member
Posts: 68147
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Error when applying new theme

Post by KevC » Sun Jul 15, 2018 8:29 pm

I just installed it ok.
Make sure all the files are uploaded. I assume you're using 3.2.2 as that's the version it's made for. It's unlikely to work if you're not.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

nickia007
Registered User
Posts: 3
Joined: Sun Jul 15, 2018 8:10 pm

Re: Error when applying new theme

Post by nickia007 » Sun Jul 15, 2018 8:43 pm

The first time I installed it I had no issues but then after like an hour the error showed up for whatever reason. I removed it and reapplyed it but I still got this error. So I decided to reinstall phpBB. But it still didn't work. I tried another theme (Hexagon Reborn) and it worked fine at the beginning but after some time I got the same error again. I tried to clean the cache but still it didn't work.
Last edited by nickia007 on Sun Jul 15, 2018 8:49 pm, edited 3 times in total.

User avatar
KevC
Support Team Member
Support Team Member
Posts: 68147
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Error when applying new theme

Post by KevC » Sun Jul 15, 2018 8:45 pm

Could be a caching issue then.

Make sure the permissions of the cache folder are correct.

phpBB3 Chmod Permissions
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

nickia007
Registered User
Posts: 3
Joined: Sun Jul 15, 2018 8:10 pm

Re: Error when applying new theme

Post by nickia007 » Sun Jul 15, 2018 9:00 pm

Now it works. Just hope it works longer this time. I don't know if it was the permissions, but thank you anyway!

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: aleksanderd, bones13, Hartenheer, robbell and 21 guests