Moodle 3.5

Moodle 3.5

by WELLINGTON HOUSE IDIOMAS -
Number of replies: 2

After I log in as administrator, when I click on INICIO DE SITIO I get this:




I'm NOT trying to log in as a differetn user. 

I've had this problem for a few days now, I've uninstalled the guest access plugin, but nothing seems to work. 

Teachers seem to have the same problem. 

I'm desperate as end-of-course exams are coming soon. 

TIA

Cecilia


Average of ratings: -
In reply to WELLINGTON HOUSE IDIOMAS

Re: Moodle 3.5

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Did this happen after some kind of an upgrade? Often it is a mismatch between the Moodle release and the PHP version installed. Moodle rel. 3.5 runs only with PHP 7.0 to 7.2. See http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases.

Since you can't enter the web GUI, to get your PHP version create a file, say phpinfo.php, in the moodle/ directory with the single line <?php phpinfo(); ?> and visit your.site/phpinfo.php in your browser.

If you didn't make progress, you have to activate https://docs.moodle.org/en/Debugging and raise it to DEVELOPER level and post the trace here.
In reply to WELLINGTON HOUSE IDIOMAS

Re: Moodle 3.5

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Similar to Visvanath's suggestion: if this problem started recently then try to identify if anything has been changed on the site or server recently. The config changes report may help with this.

My first thought is that there's a problem with session handling. "Session" refers to the browser session and is how information about which user is currently logged in gets identified to the server, via a cookie sent to the browser. Is the cron being run? This removes expired sessions. Check there are no warnings regarding the cron under Site administration ▸ Notifications.

I mention the MoodleSession cookie because when I go to the root URL of your site, http://www.….com/, I get three cookies set: PHPSESSID, _subid and e73f7, but not the expected MoodleSession, I only get the latter at /login/index.php. None of these three cookies look normal for a Moodle site to me. If possible find out if these are expected on your server or site, they could indicate a problem.

It looks like your Moodle version is 3.5.4 or older. This is missing over two years of fixes and security updates. You should update to 3.5.18, maybe once the exams are over.

You should also plan to switch the site from insecure HTTP to HTTPS.

In case it helps others: The message Usted ya está en el sistema como WELLINGTON S.L., es necesario cerrar la sesión antes de acceder como un usuario diferente is You are already logged in as WELLINGTON S.L., you need to log out before logging in as different user; Inicio del sitio is Site home.

Average of ratings: Useful (1)