@uing
I would recommend starting from scratch.
Get a ssh login to your host.
Run webeindustries install script:
https://raw.githubusercontent.com/webeindustry/flarumvpsinstallscript/patch-1/script
Something like this:
ssh ubuntu@yourhost
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install wget
wget https://raw.githubusercontent.com/webeindustry/flarumvpsinstallscript/patch-1/script
sudo chmod +x script
sudo ./script
This install script will walk you through the installation. Im all for troubleshooting but sometimes it best to just use what works.
Enable Debug:
sudo nano /var/www/yoursite/config.php
<?php return array (
'debug' => true,
Yours will no doubt show: false,
You might also want to review:
http://shinyidol.us/2016/05/30/setup-flarum-on-digital-ocean/
Stay calm, and Flarum on.