Blank page after upgrade by ssh....

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Get Involved
Post Reply
Toxyy
Registered User
Posts: 323
Joined: Mon Oct 24, 2016 3:22 pm

Blank page after upgrade by ssh....

Post by Toxyy » Thu Nov 03, 2016 12:56 pm

Support Request Template
What version of phpBB are you using? phpBB 3.1.10
What is your board's URL?
Who do you host your board with? not sure
How did you install your board? Someone else installed my board for me
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.0.7 PL1
What styles do you currently have installed? default
What language(s) is your board currently using? English
Which database type/version are you using? I Don't Know
What is your level of experience? New to PHP but not phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Just updated the board following the recommended steps in the
Please describe your problem. Problem is as stated. I followed the user guide to the T. Deleted the right files from the full package of 3.1.10, deleted every files but those in the board directory. Transferred the files. SSH'd in. Copied that php line, and went to bed. When I woke up, the board index was white. To be honest, the board index was white after I transferred the files too, but I thought that was because of the updated files.

What is going on here? Why can't I access the board anymore? I deleted the install directory to be sure, the composer.lock and json files are still in the main directory for whatever reason...

Used this command:
php ./bin/phpbbcli.php db:migrate --safe-mode

error_log keeps repeating this:

Stack trace:
#0 /home/upworks/public_html/phpbb/template/twig/loader.php(107): Twig_Loader_Filesystem->findTemplate('index_body.html')
#1 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(139): phpbb\template\twig\loader->findTemplate('index_body.html')
#2 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Environment.php(312): Twig_Loader_Filesystem->getCacheKey('index_body.html')
#3 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Environment.php(378): Twig_Environment->getTemplateClass('index_body.html', NULL)
#4 /home/upworks/public_html/phpbb/template/twig/environment.php(151): Twig_Environment->loadTemplate('index_body.html', NULL)
#5 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Environment.php(362): phpbb\template\twig\environment->loadTemplate('index_body.html')
#6 /home/upwor in /home/upworks/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 215
Last edited by Toxyy on Fri Nov 04, 2016 4:40 pm, edited 1 time in total.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18111
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Blank page after upgrade by ssh....

Post by Mick » Thu Nov 03, 2016 1:05 pm

Try opening the board’s /cache folder on the server and delete everything except index.htm and .htaccess.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

Toxyy
Registered User
Posts: 323
Joined: Mon Oct 24, 2016 3:22 pm

Re: Blank page after upgrade by ssh....

Post by Toxyy » Thu Nov 03, 2016 1:32 pm

Mick wrote:Try opening the board’s /cache folder on the server and delete everything except index.htm and .htaccess.
Still blank.

Error log:

[03-Nov-2016 13:32:10 UTC] PHP Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "index_body.html" (looked into: ).' in /home/upworks/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:215
Stack trace:
#0 /home/upworks/public_html/phpbb/template/twig/loader.php(107): Twig_Loader_Filesystem->findTemplate('index_body.html')
#1 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(139): phpbb\template\twig\loader->findTemplate('index_body.html')
#2 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Environment.php(312): Twig_Loader_Filesystem->getCacheKey('index_body.html')
#3 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Environment.php(378): Twig_Environment->getTemplateClass('index_body.html', NULL)
#4 /home/upworks/public_html/phpbb/template/twig/environment.php(151): Twig_Environment->loadTemplate('index_body.html', NULL)
#5 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Environment.php(362): phpbb\template\twig\environment->loadTemplate('index_body.html')
#6 /home/upwor in /home/upworks/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 215

Edit: tried uploading stk. It doesn't load either.
Edit2: actually, it does. I didn't see that my FTP wasn't has this error:
include(./../includes/db/db_tools.php): failed to open stream: No such file or directory

I suppose that's because stk is for 3.0..? At least I know something can load, but I need this blank page error fixed asap.

EDIT AGAIN:

So I installed the original version and restored the database, chmodded all the files properly, switched to the original style, etc etc. I'm going through the php command again to update the database via command line, but the board is still blank during this process. Maybe that's normal, but I have this in my error log just incase:
[03-Nov-2016 17:04:35 UTC] PHP Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "message_body.html" (looked into: ).' in /home/upworks/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:202
Stack trace:
#0 /home/upworks/public_html/phpbb/template/twig/loader.php(106): Twig_Loader_Filesystem->findTemplate('message_body.ht...')
#1 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(138): phpbb\template\twig\loader->findTemplate('message_body.ht...')
#2 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Environment.php(265): Twig_Loader_Filesystem->getCacheKey('message_body.ht...')
#3 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Environment.php(312): Twig_Environment->getTemplateClass('message_body.ht...', NULL)
#4 /home/upworks/public_html/phpbb/template/twig/environment.php(151): Twig_Environment->loadTemplate('message_body.ht...', NULL)
#5 /home/upworks/public_html/vendor/twig/twig/lib/Twig/Environment.php(299): phpbb\template\twig\environment->loadTemplate('message_body.ht in /home/upworks/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 202
Edit: fixed it. Turns out, the prosilver style wasn't "activated" even though it was in use, after I restored the database. Quite tricky. Updated successfully after I activated it and upgraded from there.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Post Reply

Return to “[3.1.x] Support Forum”

Who is online

Users browsing this forum: MarkDHamill and 16 guests

cron