It could be that session variables aren't working on the new server. It could be blank lines of code in the php. It could be the add to cart trigger not firing at all.
There really isn't enough information to say. I'd start by debugging and adding die() statements to see when and where it is going wrong.