I know how frustrating it can be to edit the template files on a custom theme. What I have found, it's best to do one edit at a time, save the file to a specified folder (like edited, or whatever), then check the file with Syntax Check PHP File (http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/). This way You can check the template after each edit, and find out which one may be causing a problem ;)
Oops. My bad. 1.1.8.