Recently Updated Pages

Collation is not valid for character set

If you get an error like this when saving data (e.g. creating a new user): COLLATION 'utf8_bin' ...

SCSS Max Execution Time Reached

If you have a site where the theme is not displaying correctly and you have confirmed it is not r...

HTTPS Conversion Tool

The latest versions of Moodle include a HTTPS conversion which helps you search for and change ov...

Uninstall Missing Plugins

The Site administration > Plugins > Plugins overview page is a really important section to ...

Search Engine Indexing

There are two settings in your Moodle related to search engine indexing of the site. These can be...

Add Site Admins through cfg.php tool

You can use the site configuration admin/cli/cfg.php tool to add a site admin if you know the use...

SQLInjection Protection

One of the most important things you can do if you are developing your own Moodle plugins is to e...

Web Service Course or Activity not Accessible

If you are using a web service function like enrol_manual_enrol_users to enrol users into a cours...

Web Service Responses in JSON Format

To get web service responses in JSON format (e.g. with the REST protocol), you can pass the query...

User Profile Field Select Options

If you need to get the list of user profile field select options for your plugin, you can query t...

Showing additional fields on user profile page

The fields displayed on the user profile page (public profile) are controlled by the code in lib/...

Office 365 Email Settings

A few tips when configuring an Office 365 email account for your SMTP server settings in Moodle: ...

Mahara and Google Analytics

You can add the Google Analytics script snippet to a configuration parameter called additionalhtm...

Language Pack Cache

You can purge the language pack cache through the Cache Administration page. Simply find the Lang...

Too Many Connections

When your Moodle database is overloaded you might see errors like this (MySQL/MariaDB) in your PH...

Setting up a Scheduled Task for your Plugin

Ther are two parts to setting up a scheduled task in your plugin. Create the task class under c...

Welcome

Welcome to the Moodle Wiki, where you can find all kinds of useful information related to Moodle ...

PHP Session Save Path

You can find the session.save_path through php info or using the command line: php -i | grep ses...

Learn PHP

PHP: The Right Way "PHP: The Right Way is an easy-to-read, quick reference for PHP popular codin...

PHP get key and value in loop

A cool little trick with foreach loops in PHP is you can get both the key and the value of associ...

Back to top