sounds like a php error is occurring try adding this code at line 1:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
if you could send a link where I can see the problem and a copy of the add to cart page in a zip archive, this would as well.