When I change web service for mobile device to enable it and save changes, the check sign disappears and it doesn't work.
Moodle Enable web services for mobile devices doesn't work
Number of replies: 7Re: Moodle Enable web services for mobile devices doesn't work
Please check the 'Moodle app guide for admins': https://docs.moodle.org/38/en/Moodle_app_guide_for_admins#Enable_mobile_services_on_your_site
Kind regards,
Isabel
Re: Moodle Enable web services for mobile devices doesn't work
Hi Isabel,
Thanks for your reply , I have previously check this link but still it refuses to tick the "enable web services for mobile devices" option and save it.
-checked the ssl certificates and it's all fine,
-our website don't use SSO or shibboleth authentication method ( it is disabled), however I dont' know how to "enable access to the login/token.php script"
The moodle version is 3.5.10
I would really appreciate if you could help me with this issue.
Thanks,
Salma
Re: Moodle Enable web services for mobile devices doesn't work
Hi Salma,
As the screenshoot indicates "defined in config.php", you cannot change this on the admin interface because it is already defined in config.php
config.php is the file for Moodle's configuration (https://docs.moodle.org/38/en/Configuration_file), it is located in the moodle directory. It contains information for connecting to the database, and the locations of files in your server. It can also hard code configuration settings inside the file instead of relying on the admin interface, like in this case.
Please contact your hosting provider or the people who manage your server, so they can revise it.
Regarding "it refuses to tick the "enable web services for mobile devices" option and save it", I'm double checking with you that you cannot click on the checkbox of "enable web services for mobile devices" .. could you confirm so? If that's what happens, it is the expected behaviour. If instead you could click on it but it is not saved, I would open an issue on Moodle MDL so they can revise it. (The idea is as you cannot change it on the admin interface, because it is already defined in config.php, you shouldn't be able to click on it).
Kind regards,
Isabel
Re: Moodle Enable web services for mobile devices doesn't work
Hi isabel,
I am really appreciating your help,
Thank you for clarifying the "config.php" issue.
Concerning your question, actually the second option is happening, it allows me to tick the checkbox, but it doesn't save the changes and it get back unchecked when I click " Save changes"
Re: Moodle Enable web services for mobile devices doesn't work
Hi Selma,
>>Thank you for clarifying the "config.php" issue.
Glad we could help.
>>Concerning your question, actually the second option is happening, it allows me to tick the checkbox, but it doesn't save the changes and it get back unchecked when I click " Save changes"
Thank you for your quick reply and the screenshoot.We opened an issue on Moodle LMS on your behalf: https://tracker.moodle.org/browse/MDL-68117. We suggest you that become a watcher of that issue, so you will receive automatic updates.
Kind regards,
Isabel
Re: Moodle Enable web services for mobile devices doesn't work
Hi Isabel,
I am now a watcher for the issue, but I need to ask, if this is solved will the moodle get back to the default settings enabling web services for mobile ?
Thanks a lot for the follow up,
Salma
Re: Moodle Enable web services for mobile devices doesn't work
>>if this is solved will the moodle get back to the default settings enabling web services for mobile ?
Sorry that I wasn't clear enough. You need to change the config.php file in your server, if you cannot access it or you don't know how to o it please contact your hosting provider or the people who manage your server, so they can revise it.
The issue I opened is to make the situation more clear for the user. So that the user will not be able click on the checkbox of "enable web services for mobile devices" in the cases that it is already defined in config.php.