Quick update
The code is erroring out just trying to connect to the database, and really that connection file is exactly what Dreamweaver would output. The other test could be to create a basic php page and only have the connections include on it. My guess is that will still error out. 
I took the original connection code generated by the wizard and inserted it into a blank php page created in DW. I added the word OK at the bottom to make sure the page was executed.
I uploaded this to the same site and used Firefox to display the page. It ran without any errors and displayed OK on a blank white page.


