Switched places of ini set and error reporting