Hi Ken,
Just about there - don't know why there are complications, but as Jason and Craig say, it consistently seems to come back to your connections file localhost.php (and a white space issue).
The error messages all refer to line 13 in localhost, and if your earlier post was correct (localhost.php only shows 11 lines) - so I am wondering if you are sure there are no blank spaces there.
Please could you just replace your existing Connections/localhost.php file with the attached one (unzip the attached, and replace your existing localhost.php with the unzipped attached one and upload it) without making any changes to it?
That will rule that out, and maybe fix it. Give that a try and post back with results