So I finally just set up the cart in another directory but with the same database and no custom template. It's doing the same thing so it must not be template based. The files are the default files for 1.5.4. What in the heck could be going on?