Probably hostings problem, you should contact Hosting staff for the problems first. Because the script was running fine on other host.
I had the same problem with GoDaddy, they said its script problem. But once i moved to other host was working fine. So not all host know what they are doing.