If both inlets are only getting cold water, I'd check the inlet hoses first to make sure they aren't connected incorrectly, then inspect the water inlet...