Joomdle 1.0 Installation

moodle mobile user login

  • Sharon
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #1 by Sharon
moodle mobile user login was created by Sharon
Hi,

I have some problems of moodle mobile user login. Admin can login, but registered users can't. It first gives an error: "Cannot find data record in database table external_functions", then "invalid login". I don't know if it is moodle issue or joomdle issue. In moodle, I did following:
1. turn on the mobile service in admin-webservice-mobile
2. give the permission of moodle/webservice:createmobiletoken and moodle/webservice:createtoken to registered users

I use moodle 3.1.2, joomdle 1.07 and joomla 3.3.6. I am using Moodle Mobile Additional Services package for Joomdle SSO, using default setting"login in app", and I configured the joomdle in moodle "Use redirect-less SSO" . Could you please let point me to a direction of resolve this error.

Thanks.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic moodle mobile user login
Is your Joomdle system check all green?
This is working fine for other users with a similar setup.

Please Log in or Create an account to join the conversation.

  • Sharon
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #3 by Sharon
Replied by Sharon on topic moodle mobile user login
Yes. the system check all green. We have no problem using joomdle at desktop.

Thanks.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic moodle mobile user login
The message "Cannot find data record in database table external_functions" seems to indicate some missing functions. Double check that all joomdle functions have been added to the service.

Please Log in or Create an account to join the conversation.

  • Sharon
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #5 by Sharon
Replied by Sharon on topic moodle mobile user login
I checked that all the functions of Joomdle have been added to the service. When selected "add function" at the joomdle function page and typed Joomdle in the search bar of "adding functions", it returns empty, meaning all the functions has been added to the Moodle?

It is also strange that the user seems already logged in Moodle and Joomla, but the user couldn't enter the app, and still at the page of app login.

Thanks,

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic moodle mobile user login
You say admin can log in. Can you try creating a test moodle-only user (with auth=manual) and using the app?

Please Log in or Create an account to join the conversation.

  • Sharon
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #7 by Sharon
Replied by Sharon on topic moodle mobile user login
I created a test-moodle user (with auth=manual), it gives the same error: "Cannot find data record in database table external_functions".

Admin has no problem to login.

Thanks.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic moodle mobile user login
Then it seems the problem is not related to Joomdle, so you may want to search/post your issue in Moodle forums, to see if you can get more info.
I found this:
moodle.org/mod/forum/discuss.php?d=335793

Please Log in or Create an account to join the conversation.

  • Sharon
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #9 by Sharon
Replied by Sharon on topic moodle mobile user login
Thank you so much, Antonion.

I actually looked this forum discussion before, I don't have any problems with the "Maximum uploaded file size", I have only 60M. it seems the error "Can not find data record in database table external_functions" could result from many things. I already posted on the Moodle mobile, couldn't get any information, I was wondering if Joomdle has any configuration that will cause the error. Now I will move back to Moodle mobile to dig more.

Thank you so much again for your help. Great job on Joomdle.

Please Log in or Create an account to join the conversation.

  • Sharon
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #10 by Sharon
Replied by Sharon on topic moodle mobile user login
It is working now. I re-looked at the forum link and found out the user quota is the problem, there is an decimal in the user quota and I removed it, the mobile app now works.

Thanks gain.

Please Log in or Create an account to join the conversation.