Users list gone

Users list gone

by Alex Bigwood -
Number of replies: 2

Recently my server company  pointed moodle to a new IP address, and updated PHP. Now the users/students cannot access their accounts/ nor is the complete user list available to me in Site Administration. I can see them in course Admin only. 

When I click on 'Browse List of Users' 'Bulk User Actions' or 'Add a new user' I get the error: "Exception - Using $this when not in object context"

version 2.8.1

Please help!


Alex

Average of ratings: -
In reply to Alex Bigwood

Re: Users list gone

by Ken Task -
Picture of Particularly helpful Moodlers

First, suggest checking web server error logs.  There you might find evidence of the following:

2.8.1 is version of Moodle?  Are you sure?

The version of PHP might be now to high to support 2.8.x.
Recnetly, PHP 7.0.x reached it's end of life.
So did php 5.6.x
http://php.net/supported-versions.php

Also, if 2.8.1 of Moodle ...
https://docs.moodle.org/dev/Releases#Moodle_2.8

Bug fixes for general core bugs in 2.8.x ended 9 November 2015 (12 months).
Bug fixes for security issues in 2.8.x ended 9 May 2016 (18 months).


The 'fix' ** might ** be in upgrading moodle to a version that will run under
whatever version provider upgraded PHP to.   But there's a catch 22.
Can't hyperjump the moodle from 2.8.1 to the highest available moodle version.

If you can still access Site Admin menu -. Server -> Environment.
Update the component.   Then look at various versions of Moodle in drop down list and
what the environment check says for what's needed.

http(s)://yourserver/admin/environment.php

Tbere are PHP version requirements as well as MySQL/MariaDB requirements along the path upwards.

If you can't access the Site Admin Menu and do the server environment check, ask technical support to provide this:

php -v

cd /path/to/moodle/code/

fgrep '$release' version.php


'spirit of sharing', Ken


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

Re: Users list gone

by Alex Bigwood -

Cheers Ken


Looks like your onto something with the PHP not being able to support...

In /Environment when I update the component, there are two 'server checks' status 'check:'

1)   php_extension           intl            Should be installed and enabled for best results

2)   php_extension           xmlrpc      Should be installed and enabled for best results


lower on the same page under "Other Checks" there is an Error "check slasharguments        error reading environment data (16)", same for each version of moodle that I need to upgrade to....


Alex