Fixed error messages
Fixed call to mysqli_init() from an object. (We should find some better fix)