Sunday, 21 August 2011

Updating WURFL Database in MLE Moodle

While working with MLE1 for Moodle2, I was getting a problem. The problem was whenever I opened the mobile learning site in browser; I was getting a blank white page with a message “the id is not present in wurfl_agents”. If I reload the page I could get the normal login page of MLE.
I searched for the problem and found that the issue was with the WURFL Database3 that my application was using. In a forum I found that I need to update the WURFL Database.
MLE has a simple way to update its WURFL Database. So to update the WURFL Database in MLE, login to Moodle admin console.

Go to the MLE Info link:

In MLE Info page, click on the Update device database link to update the WURFL Database.

It takes some moments to have the WURFL Database updated. Once the updation is done, we can see the Update done! message.

There is a manual process to update the WURFL Database.
  • Download the wurfl.xml file from Download the file and rename to wurfl.xml it if necessary.
  • Open the Moodle Data directory.
  • Go to the folder mle/wurfl inside Moodle Data directory.
  • Remove the contents of this folder.
  • Copy the wurfl.xml to this folder.
  • Open the MLE login page (e.g. with a web browser. This will recreate the temporary files (it may take little time).
After I updated the WURFL database, the problem disappeared.


  1. MLE is an open source mobile learning system. It works as a plugin in Moodle.
  2. Moodle is an open-source Learning Management System (LMS).
  3. WURFL (Wireless Universal Resource File) is an XML configuration file which contains information about capabilities and features of many mobile devices. WURFL is an open source project.

    জয় আই অসম,
    প্রণব শর্মা

1 comment:

claytonfisher said...

Thanks for making it so clear and exceptional guidance about MLE Moodle.

Post a Comment