Country Dropdown not working.

Country Dropdown not working.

by Tandin Dorji -
Number of replies: 3

I have upgraded my moodle from 3.5 to 3.8 and went through all the necessary versions of PHP and MySQL required. There wasn't any hick ups in the process of upgrading however the dropdown list of countries in location setting does not work. I checked the  moodle/lang/en and countires.php file and everything is fine.

Due to this issue, I could not register my site. Please Help!


Thank you.

Attachment countrylsit.png
Average of ratings: -
In reply to Tandin Dorji

Re: Country Dropdown not working.

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Switch on Debugging. Open your web browser's javascript console. Reload that page.

Are there any red errors on the javascript console? Is anything logged in the web server's error log?
Average of ratings: Useful (1)
In reply to Howard Miller

Re: Country Dropdown not working.

by Tandin Dorji -
I followed your instruction and found there are errors on loading javascript
I have checked the Appearance > AJAX and Javascript and cache is enable.
I have attached the screen shot of the error.

Thank you.
Attachment javascript_error.png
In reply to Tandin Dorji

Re: Country Dropdown not working.

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Those are fine. You only care about RED ones.

Have you checked your web server's error log (with debugging on)?