XF 2.2 I have blank pages showing up after restoring files

CrispinP

Well-known member
Evening folks,

I mistakably deleted my entire directory..... All gone except for an empty "community" folder.
I've since restored all files except the data and internal_data - they are on their way but around 400GB so getting there.

I now only get blank pages. Cannot go directly to admin either.
http://www.landcruiserclub.net/community and all I see is blank.

What I've checked:
  • files can be served - https://www.landcruiserclub.net/community/index.html-bk
  • if I stop mysql I get an error page so xenforo is alive and connecting to mysql
  • I am using centos / plex and files were all chowned proctortechplesk:psacln which is what the original community folder was.
  • files were all 775 and tried 777 but no luck
  • if I stop httpd service it breaks everything - as expected.
  • I can see people connecting in the access.log file but no errors logged.
what else could be wrong?
 

CrispinP

Well-known member
Having a look in the db error log I see the following:

#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main} | {"url":"\/community\/threads\/finally-manage-to-get-out-for-1-night.152781\/","referrer":false,"_GET":[],"_POST":[]} |
| 8 | 1646517927 | 13257 | U▒▒ | ErrorException | Template error: [E_USER_WARNING] Template public:forum_list is unknown | src/XF/Template/Templater.php | 689 | #0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/var/www/vhosts...', 689, Array)
#1 src/XF/Template/Templater.php(689): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(1618): XF\Template\Templater->getTemplateData('public', 'forum_list')
#3 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#4 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#5 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#6 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#10 src/XF.php(517): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main} | {"url":"\/community\/forums\/","referrer":false,"_GET":[],"_POST":[]}

Seems my templates are messed up?
 
Top