Details of my Moodle installation:
Moodle URL: http://www.pqt.net/learning
Moodle version: 3.6.10
OS: linux
Apache version: 2.4.43
MySQL: 10.2.33-MariaDB
Server PHP: 7.4
Domain PHP: 7.2 (using MultiPHP Manager with PHP-FPM turned on)
Moodle was installed via download from Moodle.org (moodle-3.6.10.zip)
Background: Upgraded Moodle 3.6.3 to 3.6.10 on Aug 3, 2020 after NGINX and PHP-FPM changes on the server. Everything running ok after upgrade. On Aug 10, 2020, a user reported problems with the site. When I entered the URL to my Moodle site, the home page redirected me to the login page. I clicked the "Home" link and the home page displayed briefly, then redirected to the login page again. When I tried logging in, I couldn't login. Upon 1st login attempt, no message, 2nd attempt received error "invalid login", 3rd attempt got logged in but the home page showed a different user logged in which was the user reporting a problem with the site.
Searching forums and trying to fix the problem, I found https://moodle.org/mod/forum/discuss.php?d=385516. I have purged browser cache and purged all caches using the command line:
php admin/cli/purge_caches.php.
The home page will not display and redirects to the login page. I have the following config settings:
alternateloginurl=''
forcelogin=0
I turned debug on and I'm getting the following upon logging in (which takes 3 attempts as described above):
Error code: invalidsesskey * line 494 of /lib/setuplib.php: moodle_exception thrown * line 85 of /lib/sessionlib.php: call to print_error() * line 216 of /lib/externallib.php: call to require_sesskey() * line 59 of /lib/ajax/service.php: call to external_api::call_external_function()Any assistance is greatly appreciated.
I captured a recording using Screencast-O-Matic but the file is too large to upload. Is
there another way to share the recording (11.8 MB)?