If you are on your host's server localhost is definitely incorrect in the four defines you listed. It MIGHT be correct for the database but you need to fix the others first. You didn't use an auto loader to install ZC did you?