fixed a bug where a php error sometimes wouldn't have an error number
and would return as a success.