by Troy Wolf.
Jan 15, 2008
Fresh AWS ec2 instance with Ubuntu 16.04
PHP 7.022
MySQL 5.7.20
Moodle 3.4.1
Nginx w/ php7-fpm
moodle and moodledata dir owned by same user that the php7-fpm process runs as.
Install indicates all required and recommended PHP modules are installed successfully.
Next screen installs lots of things and appears to be successful. When I click to continue, I'm taken to the /user/editadvanced.php?id=2 page, which fails to load styles and scripts. See attached screenshot.
I enabled the developer debug settings in config.php. This allowed me to see this when I try to load the stylesheet using the URL: /theme/styles.php/boost/1516051530_1/all
Fatal error: Uncaught Error: Call to undefined function theme_get_sub_revision_for_theme() in /var/www/moodle/theme/styles.php:83 Stack trace: #0 {main} thrown in /var/www/moodle/theme/styles.php on line 83
This is odd to me because config.php has a require_once() for setup.php which has this:
require_once($CFG->libdir .'/outputlib.php');
Seems that should throw an error if the file is not found. (The files is, in fact, sitting there in my lib directory...and permissions are good.
I will keep troubleshooting this, but wondering WHY I have to...and how many people would continue this far. If anyone has a helpful tip, I'm listening.
Thanks!