Questions tagged [moodle]

Moodle is an open source learning management system (LMS) written in PHP.

Moodle is an Open Source Course Management System (CMS), also known as a Learning Management System (LMS) or a Virtual Learning Environment (VLE). It has become very popular among educators around the world as a tool for creating online dynamic web sites for their students. To work, it needs to be installed on a web server somewhere, either on one of your own computers or one at a web hosting company.

Originally developed by Martin Dougiamas in Australia, it is used world-wide by many places of learning.

According to Moodle.org's stats, as of February 2013, there are over 77,000 registered sites using Moodle in over 225 countries, serving over 7 million courses with over 66 million users.

Useful links

Useful Developer Links

Distributions

3019 questions
92
votes
16 answers

GIT pull failed: 'unable to unlink file: invalid argument'

New GIT user here, managing a Moodle course web site system on a Windows server. Trying to do my first Pull update of the core code (using TortoiseGit) and it's not working. Git is unable to unlink old versions of any the 200+ files to be updated…
pillsbur
  • 921
  • 1
  • 6
  • 3
22
votes
15 answers

Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security

I'm new to moodle environment and I'm having this error: Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security. I haven't done anything, I'm just…
Mark Jhon Oxillo
  • 359
  • 1
  • 3
  • 11
20
votes
3 answers

Git is not showing all branches on local

I forked a repo from Github. On doing git remote -v it displays: origin https://github.com/myusername/moodle.git (fetch) origin https://github.com/myusername/moodle.git (push) upstream https://github.com/moodle/moodle.git (fetch) upstream …
xan
  • 4,640
  • 13
  • 50
  • 83
18
votes
7 answers

Getting moodle version info, no admin access

Is there a way to obtain version info for a moodle site using only "teacher" level access? It seems as though this ability was removed in versions 1.9.7 and above. I'm trying to automate the process of uploading tests and having the version info…
hp43
  • 357
  • 2
  • 5
  • 14
17
votes
7 answers

Detecting folders/directories in javascript FileList objects

I have recently contributed some code to Moodle which uses some of the capabilities of HTML5 to allow files to be uploaded in forms via drag and drop from the desktop (the core part of the code is here:…
davosmith
  • 6,037
  • 2
  • 14
  • 23
17
votes
5 answers

cURL works from Terminal, but not from PHP

I'm running into a rather strange issue. I'm trying to log into a remote moodle install using curl from PHP. I have a curl command, which works perfectly in the Terminal. When I translate the same thing into PHP, it works, but it just doesn't login.…
Raghav Sood
  • 81,899
  • 22
  • 187
  • 195
14
votes
4 answers

intl extension php_intl.dll with wamp

I want to use Moodle, but I get an error during the installation process: php_extension->intl->should be installed and enabled for best results. Intl extension is used to improve internationalization support, such as locale aware sorting. When I…
Ankur Saxena
  • 629
  • 3
  • 13
  • 26
13
votes
5 answers

SQL query for Courses Enrolment on Moodle

I was looking for the proper SQL queries for retrieving all students enrolled in a certain course, or all courses a certain student has enrolled in, on Moodle. I have found a few solutions from the Internet, and most of them suggest joining these…
d.yuk
  • 809
  • 1
  • 12
  • 30
12
votes
2 answers

How to add a course to an existing user in moodle remotely?

I'm using LDAP to create users in Moodle. However, after creating an user (adding to LDAP and running the sync script) i want to enroll that user to a course. How one does that? :)
Torres
  • 129
  • 3
12
votes
2 answers

how to load external JS file into moodle?

how to load external JS file into moodle ? using moodle api ,i.e moodle libraries ..
shox
  • 1,150
  • 5
  • 18
  • 32
12
votes
1 answer

Sending data through post method to an iframe

I have an iframe which is pointing to a moodle site. I need to pass to it my username and password, so that when the iframe is loaded, I am automatically logged in on moodle. So I have something like this:
misaizdaleka
  • 1,776
  • 3
  • 21
  • 32
11
votes
13 answers

moodle not showing CSS and theme with linux server

I'm experiencing a problem regarding Moodle. I've made an install into a Linux server, but CSS and themes are not displaying so i have only plain text. How can this be possible and how to solve it? Thanks.
dabadee
  • 139
  • 1
  • 1
  • 8
11
votes
1 answer

Moodle 2.3 with Nginx vs slash argument rewrite

I'm trying to setup Moodle 2.3 (not 2.5) ver with nginx latest build. There was some advice on this site before. One of them: Moodle 2.0 with Nginx backend. Apparently as anybody knows, Moodle is using path_info rules to post URL's like this:…
John Riviera
  • 119
  • 1
  • 4
10
votes
4 answers

Check if user is enrolled in specific Moodle course

On a Moodle-enabled site, I want to give users some coupons. I made it to check if the user is logged in, but I also want to check if the current logged in user is enroled in specific course (an array of 3 course IDs). So far I tried with…
Marius Butuc
  • 17,781
  • 22
  • 77
  • 111
10
votes
3 answers

How to get all courses on moodle?

I need to show all moodle courses in menu listing. Can anyone suggest me that how can I get all courses using php code or moodle inbuilt functions. Thanks
Rahul Saini
  • 101
  • 1
  • 1
  • 5
1
2 3
99 100