add variable "$_SESSION["errorCount"]" to check error in modify issue50files   #50