[Code] Fixed undefined index in app/checkupdate.php
[Database] Show error and die when connection to database fails