Fixed. Basically, it was the wp-config.php file being fussy. I’m not sure exactly what it was, because I change a few things in one go. But I think it was because Notepad put an extra line break in where it shouldn’t have been.
Go check that file again. Download a new copy of WordPress and edit that wp-config file.