Joomdle 1.0 Installation

External Service Function

  • Chicitadel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago #1 by Chicitadel
External Service Function was created by Chicitadel
I have problem adding Functions to external services. See the message below

Error message: Coding error detected, it must be fixed by a programmer: Cannot find file with external function implementation

Moodle ver. 3.3
Joomdle Ver. 1.1.3
Joomla ver. 3.7.2

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

More
8 years 10 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic External Service Function
Hi.

Are you doing a new installation or an upgrade?
Are you manually adding the function, or is Joomdle plugin giving the error on installation? In newer versions there is no need to manually add functions.

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

  • Chicitadel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago #3 by Chicitadel
Replied by Chicitadel on topic External Service Function

Antonio Durán wrote: Hi.

Are you doing a new installation or an upgrade?
Are you manually adding the function, or is Joomdle plugin giving the error on installation? In newer versions there is no need to manually add functions.


An upgrade!
The function was previously added before the first upgrade of Joomla from J3.6.x > J3.7.1, at this time, the PHP version was switched from 5.6.x to 7.x to meet the Joomla upgrade requirement but cannot tell when exactly the Joomdle connectivities went off.
Joomdle system check flagged error on XMLRPC PHP, ALLOW URL FOPEN, Joomla to Moodle Connectivity, Moodle to Joomla Connectivity and Joomdle Web Service

I upgraded Joomdle core on Joomla from 1.0.0 > 1.1.0 > 1.1.3
and updated XMLRPC PHP, ALLOW URL FOPEN,
the problem remain Joomla to Moodle connectivity and Moodle to Joomla connectivity

Upagraded Moodle 3.1 > 3.3,
Joomdle plugin on moodle 1.0.1 > 1.1.3
and got to know the functions on Joomdle web service is no longer working.
Trying to replace them gave the error as stated above.

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

More
8 years 10 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic External Service Function
I am sorry, but I am not really understanding how you the error is showing. What's the action you do to trigger the error?
Also, can you enable debugging in moodle to see if you get more info?

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

  • Chicitadel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago #5 by Chicitadel
Replied by Chicitadel on topic External Service Function
Please here is a short video of the error response with Moodle debugging enabled and Joomla system check overview.
15.20mins Video
Please ignore the background audio!
Hope this give you a clear view of the error.
0-1:20mins (Moodle error above)
1:20 - 6mins (Joomdle function add error)
14:50 - 15:20mins (Joomla system check error)

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

More
8 years 10 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic External Service Function
The error says it cannot find the file with the function. Please confirm that moodle/auth/joomdle folder is in its place.

If it is, try deleting the service and creating it again. Then try adding the functions. If you do this, you will need to generate a new token and change it in joomlde config in joomla.

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

  • Chicitadel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago #7 by Chicitadel
Replied by Chicitadel on topic External Service Function
I followed the steps as given above, but the same error response.
I have also checked the Joomdle folder is in place.
Is there any other possible cause?

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

More
8 years 10 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic External Service Function
Check your mdl_external_functions table.

The error is shown because a function in that table cannot be found in the file. The function may even not be from Joomdle.

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

  • Chicitadel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago - 8 years 10 months ago #9 by Chicitadel
Replied by Chicitadel on topic External Service Function
I reinstalled the moodle (3.1) and Joomdle 1.1.3.
The Joomdle web service account and functions were added automatically, traded the tokens generated from both Moodle and Joomla instances as required, but Joomdle system check on Joomla platform, the 'Joomla to Moodle HTTP connectivity', Moodle to Joomla HTTP connectivity', and 'web service' are still not connected.
What could be the possible cause?
Last edit: 8 years 10 months ago by Chicitadel.

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

More
8 years 10 months ago #10 by Antonio Durán
Replied by Antonio Durán on topic External Service Function
What's the error in web services item?
First thing you need to do is double-check URLs in Joomdle config in Joomla and Moodle.

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