Fixed it.
I unscrewed the output jack and plugged in the guitar and everything worked fine with the jack loose so I trimmed off some sheliding in the jack cavity, taped up the terminals, refitted the jack back onto the guitar and all is good.
Many thanks for the advise. I'll put it down to experience ( or lack of!)