Thanks Bob, for all your help.
Well, I fixed this. But I'm not sure what caused the Wayfinder problem, because I rebuilt the site locally from a fresh install, just copying the template, chunk and snippet code across and got that working. Then I brought those files and the database into a fresh install on the server.
I did spot a missing closing ` in a getResources call that itself called another snippet, so maybe that was one problem.
I did however spot the cause of another problem: that the manager was at
http://79.170.44.103/kjporritt.co.uk/manager/.
Somehow all the urls in config.inc.php (as posted above) were wrong. For example:
$modx_manager_path= '/home/sites/kjporritt.co.uk/public_html/manager/';
$modx_manager_url= '/kjporritt.co.uk/manager/';
should be:
$modx_manager_path= '/home/sites/kjporritt.co.uk/public_html/manager/';
$modx_manager_url= '/manager/';
After my fresh install of ModX on the server I checked config.inc.php and the change to the latter version was obvious.