The error you are experiencing relates to line 66 on in your confirm.php page I suspect or as it mentions your checkout_failure.php page.
What do you have on line 66 on each of these pages?
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.