After Upgrade to 4.1.9 blank page on home

After Upgrade to 4.1.9 blank page on home

by Andres Tarallo -
Number of replies: 7
Hi !!! Been a long time not working with moodle. I Upgraded to 4.1.9 and get a blank page.

If I point browser to https://site I get a blank page. If I point to https://site/my I get the main page and can login succesfully.  And then I browse the site and all seems to be working. If I click in the home ICON I'm redirected to https://site/?redirect=0


Thanks for any idea to debug this issue.

Andrés
Average of ratings: -
In reply to Andres Tarallo

Re: After Upgrade to 4.1.9 blank page on home

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
What server/host are you on? Operating system? How exactly did you upgrade? Anything happen? Did you move the site? Have you cleared out caches?
In reply to Emma Richardson

Re: After Upgrade to 4.1.9 blank page on home

by Andres Tarallo -
Thanks for taking time to Answer. I'n Rocky Linux 8, with latest patches applied.  I'm Using PHP 8.0.30 from REMY Repo.

I've made an "in place upgrade" from a Working Moodle 4.0.12 Moodle. Followed instrucctions from "Upgrading notes"

Yes I cleared cache and restarted PHP and Apache


In reply to Andres Tarallo

Re: After Upgrade to 4.1.9 blank page on home

by Ken Task -
Picture of Particularly helpful Moodlers
Have you checked ownerships/permissions on all files/folders?
If you did move out of way, new code, copy back method of upgrading, did the ownerships/permissions change on copying back into new code?

Running php-fpm?   Did you restart that as well?

Site using an addon theme?
Consider forcing to use boost via config.php file:
$CFG->theme='boost';

Got command line to server?
How many addons are installed?
From code/admin/cli/
php uninstall_plugins.php --show-contrib

'SoS', Ken

Average of ratings: Useful (1)
In reply to Ken Task

Re: After Upgrade to 4.1.9 blank page on home

by Andres Tarallo -
Ken:
Thanks for taking time to answer my message.

Yes, there is a customized theme. The name of the theme is "Adaptable". Also a plugin was added hvp. Both the plugin and the theme were copied on the update.

I've tried Using boost theme and everything works as intendend.


##############

php uninstall_plugins.php --show-contrib
mod_hvp H5P
theme_adaptable Adaptable

##############
In reply to Andres Tarallo

Re: After Upgrade to 4.1.9 blank page on home

by Andres Tarallo -
After Answering your message I've continued investigating. On site adminsitration I've found that I need to upgrade/update the AddOns.

After Upgrading everithing works as intended.
Average of ratings: Useful (1)
In reply to Andres Tarallo

Re: After Upgrade to 4.1.9 blank page on home

by Ken Task -
Picture of Particularly helpful Moodlers
Thought of a couple more checks ...
From code/admin/cli/
php checks.php [ENTER]

Is your cron job running as expected?
From code/admin/cli/
php cron.php [ENTER]

Is there an .htaccess file in play?

And, you might have to  add the debug lines from config-dist.php to your config.php file to get more info on issues.

'SoS', Ken

Average of ratings: Useful (1)
In reply to Ken Task

Re: After Upgrade to 4.1.9 blank page on home

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
+1

Blank page often happens at the web server level before going through the Moodle code. Raise Debugging to its highest and monitor the web server logs, something /var/log/.../error.log.