It's the Dreamweaver template locked errors I get frequently. It's probably just my understanding of Dreamweaver templates that's flawed and after umpteen years as a DW user, I doubt it's going to change so includes are practically the same.
I managed to sort it. The issue was the database connection path.
Seems to be working well now.