Uncaught Twig_Error_Loader: Unable to find template "message_body.html"

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
jeff.steinkamp
Registered User
Posts: 5
Joined: Mon Jan 10, 2011 4:44 pm
Location: Tucson
Name: Jeff Steinkamp
Contact:

Uncaught Twig_Error_Loader: Unable to find template "message_body.html"

Post by jeff.steinkamp » Sat Oct 20, 2018 3:45 pm

I have upgraded form 3.0 to 3.2 I am now getting this error. here is the complete trace:
Fatal error: Uncaught Twig_Error_Loader: Unable to find template "message_body.html" (looked into: /home1/newten/public_html/phpbb3/styles/all/template). in /home1/newten/public_html/phpbb3/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:232 Stack trace: #0 /home1/newten/public_html/phpbb3/phpbb/template/twig/loader.php(135): Twig_Loader_Filesystem->findTemplate('message_body.ht...') #1 /home1/newten/public_html/phpbb3/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(150): phpbb\template\twig\loader->findTemplate('message_body.ht...') #2 /home1/newten/public_html/phpbb3/vendor/twig/twig/lib/Twig/Environment.php(330): Twig_Loader_Filesystem->getCacheKey('message_body.ht...') #3 /home1/newten/public_html/phpbb3/vendor/twig/twig/lib/Twig/Environment.php(424): Twig_Environment->getTemplateClass('message_body.ht...') #4 /home1/newten/public_html/phpbb3/phpbb/template/twig/environment.php(277): Twig_Environment->loadTemplate('message_body.ht...', NULL) #5 /home1/newten/public_html/phpbb3/vendor/twig/twig/lib/Twig/Environment.php in /home1/newten/public_html/phpbb3/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 232

It should be looking for the prosilver style but it is looking for something that is in the /styles/all folder.

I have two folders under styles. all and prosilver.

Since I am unable to get into the board either via the bridge on my joomla website and by going directly to the phpbb3 folder, how do I fix this?

Thanks

User avatar
GanstaZ
Registered User
Posts: 567
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Uncaught Twig_Error_Loader: Unable to find template "message_body.html"

Post by GanstaZ » Sat Oct 20, 2018 3:49 pm

If you clear cache/production folder, does it fix it?
"When answer lies in the question,.. question becomes redundant!"

jeff.steinkamp
Registered User
Posts: 5
Joined: Mon Jan 10, 2011 4:44 pm
Location: Tucson
Name: Jeff Steinkamp
Contact:

Re: Uncaught Twig_Error_Loader: Unable to find template "message_body.html"

Post by jeff.steinkamp » Sun Oct 21, 2018 11:37 pm

Had a boat load of files in there but, deleting them has not solved the issue.

User avatar
GanstaZ
Registered User
Posts: 567
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Uncaught Twig_Error_Loader: Unable to find template "message_body.html"

Post by GanstaZ » Mon Oct 22, 2018 1:45 pm

If you use a search here, you will see, that main problem was update process. How did you update?
"When answer lies in the question,.. question becomes redundant!"

jeff.steinkamp
Registered User
Posts: 5
Joined: Mon Jan 10, 2011 4:44 pm
Location: Tucson
Name: Jeff Steinkamp
Contact:

Re: Uncaught Twig_Error_Loader: Unable to find template "message_body.html"

Post by jeff.steinkamp » Tue Oct 23, 2018 1:41 am

You are correct, it was an update issue. I updated from 3.0 to 3.2 according to the instructions, but it did not update the databases correctly and we had numerous issues with tables not having the required default values, some missing tables, and some tables that were missing fields. I had to manually fix those tables using phpMyAdmin. Once I got that done, then the Install ran correctly without errors that I obviously missed the first time I tired the update. I should have done the update to 3.1 first, then updated to 3.2. At any rate, the board is back operational and full functional and revealed that we had over 3000 inactive registration that did not show when the board was running under 3.0. 2990 of these were some damn Russian bot that hit the board back in August.

User avatar
GanstaZ
Registered User
Posts: 567
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Uncaught Twig_Error_Loader: Unable to find template "message_body.html"

Post by GanstaZ » Tue Oct 23, 2018 1:14 pm

Is it solved now or you still get errors?
"When answer lies in the question,.. question becomes redundant!"

jeff.steinkamp
Registered User
Posts: 5
Joined: Mon Jan 10, 2011 4:44 pm
Location: Tucson
Name: Jeff Steinkamp
Contact:

Re: Uncaught Twig_Error_Loader: Unable to find template "message_body.html"

Post by jeff.steinkamp » Wed Oct 24, 2018 3:07 am

Solved. All I have to do now is go through and approved all of the topics that are now in need of approval due to the update, but I think I can do that with a bit of fancy SQL!!. :D

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: </Solidjeuh>, 13685, 1mix, Bermudez, GanstaZ, invenio, lopoto, Lumpy Burgertushie and 236 guests