Line 469 of confirm.php you had:
$(document).ready(function() {<?php include ("checkout.php");?>
Including the checkout page from that page caused an infinite loop since the checkout.php page includes the confirm.php page. I'm not sure how that code got there, but I deleted it and the page loads now.