No Joomdle functions to add + 2 system check problems

  • Kelly Teesdale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago - 13 years 9 months ago #1 by Kelly Teesdale
I was looking for ideas for fixing this, and followed a couple of suggestions in this thread.

I have never been able to get any functions to appear so that I can add them.

My two System Check errors are
  • Moodle to Joomla HTTP connectivity - x - Moodle cannot connect to Joomla
  • Joomdle Web Services - x - An unexpected error happened: 404: Unknown error

I managed to get rid of the first error by following one of the suggestions on the System Health Check page (unfortunately can't remember which one).

... But then it reappeared when I followed another poster's solution of deactivating and reactivating the Joomdle plugin, and it reappeared.

I tried the suggestion to "edit version.php in moodle/auth/joomdle folder, and add one to the plugin version.
When you log to Moodle you will be prompted to upgrade. Functions should be added then." - which takes me to Plugins check page. By the Joomdle plugin it says "Current version: 2008080202", "New version: 2008080203", "Required: Moodle 2010000000" and "Status: To be upgraded". Is this significant or can I just click 'Upgrade Moodle database now'?

Any ideas of things to try would be much appreciated.
Last edit: 13 years 9 months ago by Kelly Teesdale.

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

  • Kelly Teesdale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #2 by Kelly Teesdale
Replied by Kelly Teesdale on topic No jmoodle functions to add / 2 system check problems
Both are new installs. Moodle version 2.3, Joomla 2.5.6, Joomdle 0.82.

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

More
13 years 9 months ago #3 by Fernando Acedo
Replied by Fernando Acedo on topic No Joomdle functions to add + 2 system check problems
Kelly,

Did you follow the steps explained in the wiki?

The functions can be added in the last step, not before.Check also that moodle web services are enabled and you have installed the last Joomdle 0.82 version.

The moodle URL in Joomla should be the complete URL (with http://) and the same in moodle with the Joomla URL.

Change version.php is not a good idea because moodle controls the updates with this file. If you check the previous steps and still don't work, then remove all and start from scratch agai, deleting the entries in the moodle database also.

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

  • Kelly Teesdale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #4 by Kelly Teesdale
Replied by Kelly Teesdale on topic No Joomdle functions to add + 2 system check problems
Hi Fernando, thank you for your very quick reply. I did follow the wiki.

Web services are enabled and I do have Joomdle 0.82.

Re: the URLs, I have tried both with and without the www (both have http://).

What about Connection method? Both are set to file_get_contents, and I haven't seen anything to indicate a problem. I did try setting them both to cURL but should I try that again?

Do I just uninstall Joomdle, or Moodle as well?

Thanks again,

Kelly.

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

More
13 years 9 months ago - 13 years 9 months ago #5 by Fernando Acedo
Replied by Fernando Acedo on topic No Joomdle functions to add + 2 system check problems
After these checks, I would remove joomdle from both, Joomla and moodle.

From Joomla just uninstall the component. From moodle you need to uninstall the enrolment and remove the authentication files. Then go to the moodle db and delete the entries related to joomdle in the config_plugins table.

Then install joomdle again in Joomla and moodle following the wiki steps. It should works.

I use file_get_contents as connector and I got less problems than cURL.
Last edit: 13 years 9 months ago by Fernando Acedo.

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

  • Kelly Teesdale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago - 13 years 9 months ago #6 by Kelly Teesdale
Replied by Kelly Teesdale on topic No Joomdle functions to add + 2 system check problems
Thanks Fernando.

Before I do that, I have one more question I thought of overnight. The auth_joomdle folder that I upload is in joomdle-0.82-for-joomla25>moodle20. There are two other folders in moodle20: block_jsgroup and enrol_joomdle. Should I be doing anything with those? If there were instructions to upload/install them I missed them. What about the other-joomla-packages folder in joomdle-0.82-for-joomla25?

Installing the files was the step I was least sure of, but I deleted the ones in public_html/learn/auth/joomdle (db, helpers, lang, webservices, auth.php, certificate_view.php etc) and re-uploaded them using FTP today, but it didn't make the functions appear on the list.

If those other folders in the joomdle installation package are irrelevant I'll go ahead and uninstall the whole of Joomla like you said.

Thanks again,

Kelly.
Last edit: 13 years 9 months ago by Kelly Teesdale.

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

More
13 years 9 months ago #7 by Fernando Acedo
Replied by Fernando Acedo on topic No Joomdle functions to add + 2 system check problems
Before add the functions you must follow the instructions to install Joomdle in moodle. Enable web service, enable XML-RPC, add the service, ... See www.joomdle.com/wiki/Preparing_Moodle_20 (This are very important steps)

After setup moodle and add the files then you could add the functions later. See www.joomdle.com/wiki/Preparing_Moodle_20...functions_to_service

You must install again the auth and enrol folders in moodle. I never install jsgroups. (Maybe I'm wrong) Then follow the Wiki steps and it should works.

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

More
13 years 9 months ago #8 by Chris
jsgroups is if you want to integrate with Jomsocial Groups.

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

More
13 years 9 months ago #9 by Fernando Acedo
Replied by Fernando Acedo on topic No Joomdle functions to add + 2 system check problems
Thanks Chris for the clarification. I never used it even with Jomsocial.

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

  • Kelly Teesdale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #10 by Kelly Teesdale
Replied by Kelly Teesdale on topic No Joomdle functions to add + 2 system check problems
Thanks guys. That's good to know re: Social, Chris.

I hit a few glitches (including one caused by my renumbering to the version as per my first post - OOPS!) and ended up uninstalling all of Moodle, and am now waiting on a Help Desk ticket to be resolved before I can reattempt everything.

Will check back in when I have an update (aka probably further questions :)).

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