Moodle 3.1 App unable to login Users

Moodle 3.1 App unable to login Users

by Praveen Chamarthi -
Number of replies: 10
Picture of Testers

Hi

I am Using Moodle 3.1 Stable version and App 3.1 version,

I installed local Mobile plugin and i enabled Web services and created token 

enabled external services and enabled web services protocol.

Only Admin can able to login App.Users Unable to log in App but they can able to login through Web(Browser)

My Error Code: Can not find data record in database table external_functions.

Any One please Help on this!!!!!

Attachment Error.png
Average of ratings: -
In reply to Praveen Chamarthi

Re: Moodle 3.1 App unable to login Users

by Praveen Chamarthi -
Picture of Testers

Any One Resolved this error!!!!!

In reply to Praveen Chamarthi

Re: Moodle 3.1 App unable to login Users

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

this is really strange, have you tried to uninstall the local_mobile plugin and install it again?

You must be sure that you are installing the correct version of the plugin for your Moodle version, there is a version of the plugin for Moodle 3.0 and Moodle 3.1

Regards, Juan

In reply to Juan Leyva

Re: Moodle 3.1 App unable to login Users

by Praveen Chamarthi -
Picture of Testers

HI Juan,

Thanks for your replay...

I reinstalled local_mobile plugin, My Moodle version 3.1 Stable.

My local mobile plugin (local_mobile_moodle31_2016050100) version 3.1 ...But Still  i am getting same error

Only Admin can able to login App.Users Unable to log in App but they can able to login through Web(Browser)

My Error Code: Can not find data record in database table external_functions.

Please let me know what is the problem...

Attachment Mobile_version.png
Attachment Moodle_vesrion.png
In reply to Praveen Chamarthi

Re: Moodle 3.1 App unable to login Users

by Pau Ferrer Ocaña -
Picture of Core developers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers

Hi John,

It seems that you don't have all the webservices correctly enabled. To do so, you should navigate to: Site administration > Web services > Mobile. Disable and reenable "web services for mobile devices".

Check it that works big grin

Cheers,

Pau

In reply to Pau Ferrer Ocaña

Re: Moodle 3.1 App unable to login Users

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

are you sure that the capability "createtokens" is enabled for Authenticated users?

Juan

In reply to Juan Leyva

Re: Moodle 3.1 App unable to login Users

by Praveen Chamarthi -
Picture of Testers

HI Juan,

Where i need to enable "createtokens"?

My user can able to login through Browser...

I checked my Web services and everything...

Please let me know what is the problem..

In reply to Praveen Chamarthi

Re: Moodle 3.1 App unable to login Users

by Ahmad Z -

Hi,

I have same problem my moodle version 3.1 then i upgrade it to 3.1.1 but still the same error, Only Admin can login to the app after token added, all other users unable to login.

Error: Can not find data record in database table external_functions.

Moodle version 3.1.1

Local_mobile version: 3.1.310

Moodle App 3.1




Thanks 

In reply to Ahmad Z

Re: Moodle 3.1 App unable to login Users

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

can you send us a test user account to check what is happening?

If that's possible please send the credentials to mobile@moodle.com

Juan

In reply to Juan Leyva

Re: Moodle 3.1 App unable to login Users

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
In reply to Juan Leyva

Re: Moodle 3.1 App unable to login Users

by Ahmad Z -

Thank Juan

I fix the problem it was in the "Maximum uploaded file size", after testing if the "upload_max_filesize" in the php.ini more than 2047M the value will saved in mdl_config as negative value, ex: 2048M = -2147483648.

I change my max filesize to 2047M and now the app work correctly.

 

Regards,