Now I can see the login screen, now the errors appear:
Warning: Invalid argument supplied for foreach() in /var/www/fusionpbx/resources/classes/domains.php on line 458
Warning: Invalid argument supplied for foreach() in /var/www/fusionpbx/resources/classes/domains.php on line 464
Is it because I'm using AWS?