Breaking news! The issues with attaching files and images in posts has been resolved. Thanks so very much to Jay for his help and advice, it was the turning point in getting the issue fixed. A team of at least 10 different Hostgator techs and 4 from Invision Power Board have been trying for 27 days to figure this out. Thank you Jay.
Please report here if you find anything else that is not working properly.