replaced faulty controller.php with working server version