I think I just fixed it! The config.php was zero bytes (don't know what happened there) so I rejigged that and it seems to be working.
Hooray!

Thanks!