If you restored you probably used cPanel's file browser. So locate the moodle code directory ... probably in public_html - and see if config.php is readable by the globe ... owner/group/others. File browser tool does have a subtool for checking ownerships/permissions on files.
Guess cause I don't use cPanel.nor do I host with same provider.
'SoS', Ken