Check errors in php
<?php error_reporting(E_ALL); echo "<script>console.log(" . ini_set('display_errors', 1) . ")</script>"; ?>