Read somewhere that beginning version 2.9.x Moodle was beginning to transition away from using YUI libraries due to the fact they are no longer improved or maintained. Yahoo is not cut anyone off, but ...
Then had an issue with a version 3.0.x to 3.1.highest in some strange areas ... theme rendered but some areas/functions would not load. Finally determined it was a YUI loading issue and the only way I could resolve it was via config.php.
Add these lines to your config.php file
$CFG->useexternalyui='0';
$CFG->yuicomboloading='1';
What theme was your site using?
If the site cannot be seen at all, you might have been using a theme that used YUI code ....
Set the default theme to something stock ... like more. Again in config.php
$CFG->theme='more';
or 'clean'.
No need to restart any services, those changes to config override DB and should take affect the very next access to the site ... for all users ... config.php is read often ... even when guest are hitting site.
If above doesn't work, try navigating directory to turning on debugging:
https://yoursite/admin/settings.php?section=debugging
or copy the debug lines from config-dist.php at the root of your moodle code and put those lines into config.php making them active.
'spirit of sharing', Ken