Recently Updated Pages

Useful URL Shortcuts

Sometimes rather than navigating, it is easier to type in the relevant URLs, particularly if you ...

Site Configuration

There's a handy CLI tool available in recent versions of Moodle to get and set site and plugin/co...

Get Records SQL giving incorrect result

If you have code that uses $DB->get_records_sql() and it is only giving you one row, or an inc...

Disable Plugin Installation

A really simple way to disable the installation of a single plugin is to set the value: $plugin-...

Moodle Git Branches and Tags

Moodle uses the convention of the branch name MOODLE_XX_STABLE for each stable release e.g. Moodl...

Upgrading Database Schema for a Plugin

If you need to upgrade your database schema for a custom plugin, e.g. adding a new table or chang...

Site administration search page

The site administration search page is fantastic as it lets you find the plethora of site configu...

Environment Requirements

Moodle environment requirements are defined in the file admin/environment.xml. For each major Mo...

Update Frontpage Summary

You might have the need to update the Moodle front page summary through the database rather than ...

Antelope to Barracuda File Format

During your upgrades or on the Server Environment Checks page, you might see a message like this:...

Plugin is Defective or Outdated

When upgrading you might see an error like this: Default exception handler: Plugin "{block nam...

Web Service Access Control Exception

If you are creating or using a web service in Moodle and see the following message: { "exce...

Maintenance Mode

You can enable site maintenance mode through: Site administration > Server > Maintenance M...

Get a list of Site Administrators

The following SQL will help you see which users are site admins in a MySQL/MariaDB database using...

Mahara Git

You can get the latest code for Mahara from their Gitlab repository: https://git.mahara.org/maha...

Verify your Moodle Database Schema

There is a very handy CLI tool admin/cli/check_database_schema.php which compares the structure o...

Query Block Instances and Positions

The following query gives you an idea of all the moodle blocks that have been added to various pa...

Extended Characters in Usernames

If you need to use extended characters in usernames, there is a setting under: Site administra...

Debug Log Level Values

These are the values you can set for the debug level under: Site administration > Developme...

Getting PHP Info for your site

There is a handy link under: Site adminstration > Server > PHP Info/admin/phpinfo.php ...

Back to top