Joomla URL misconfigured in Joomdle auth plugin...

More
15 years 1 month ago #11 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla URL misconfigured in Joomdle auth plugin...
did you set joomdle config in moodle to use Joomla 1.6?

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

  • iadefy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 month ago #12 by iadefy

antonio wrote: did you set joomdle config in moodle to use Joomla 1.6?


Yes. In Moodle->Settings->Site administration->Plugins->Authentication->Joomdle, I set the Joomla URL to: h t t p://mydomain.com/j16/ and selected Joomla 1.6.x.

Not having much luck with Moodle 2...

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

More
15 years 1 month ago #13 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla URL misconfigured in Joomdle auth plugin...
When you tried J1.5 + Moodle 2.0, did you get the same error?

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

  • iadefy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 month ago #14 by iadefy

antonio wrote: When you tried J1.5 + Moodle 2.0, did you get the same error?


I forgot exactly which Joomdle Web Services error message that I was getting with J1.5+ Moodle 2, I deleted Moodle 2 after not getting it success to work and test it with Moodle 1.9 which works just fine. I'll reinstall it at later time and report back the error message...

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

  • iadefy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 month ago #15 by iadefy
I reinstall Moodle2 (in another folder, moodledata) with existing J1.5+Moodle1.9 and now it seems to be working fine...will wait for next update of Joomdle and try again in J.16

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

More
15 years 1 month ago #16 by Baito
I have the exact same problem. I installed a fresh Moodle 2.0 and a fresh Joomla 1.6 to make sure nothing else was causing it, and I have a similar setup, with both installations on the same domain, but different subfolders of it.

I also had the same problem when I tried with the previous Joomdle version on Joomla 1.5 with Moodle 2.0, which I didn't look very much into because I was busy with something else at the moment and was waiting for Joomla 1.6 anyways.

I did replace the few <? short tags with proper <?php ones, which didn't fix it for me either.

My setup is:
Joomla! 1.6.0
Moodle 2.0.1+ (Build: 20110209)
PHP 5.3.3
MySQL 5.1.36 (though I don't think it has anything to do with the database at all)

Anything else you can think of? Or anything I can try to do or find out to help you figure out what the problem is?

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

  • iadefy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 month ago #17 by iadefy
I tried again with J1.6Alpha2 release and still receiving the same error message :(

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

More
15 years 1 month ago #18 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla URL misconfigured in Joomdle auth plugin...
I am thinking this may have to do with some special config in your servers.

I explain: Joomdle is set to control access to Joomla web services based on IP restriction. If the IP address your server is using to communicate is not the public one, you may receive this error.

To check if this is the issue, open /plugins/xmlrpc/joomdle.php
In check_origin function, add:
return true;
Just before:
return ($request_ip == $moodle_ip);

That will avoid the IP check, so we can see if this is the problem.

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

  • iadefy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 month ago #19 by iadefy
I haven't try the "check_origin function" function as you suggested yet. But I noticed a thing, which I think I probably screw thing up:

I have J1.5 and J1.6 installed on:
mydomain.com/j15
mydomain.com/j16

I have moodle1.9 and moodle2 installed on:
mydomain.com/moodle
mydomain.com/moodle2
with different moodledata path on root: /moodledata and /moodledata2

I installed JoomdleAlpha2's auth folder in Moodle2.

In Moodle2->Plugins->Authentication, If I set the Joomla URL as mydomain.com/j15 and Joomla version: 1.5.x, but I logged into J1.6->Joomdle->System Check, I saw all the green checkmark!

But if in Moodle2, the Joomla URL set as mydomain.com/j16, version 1.6, and logged into J1.6->Joomdle->System Check, the "Joomdle Web Services" appeared as red cross (error: Joomla URL misconfigured)!

I think I will have to do new installation with J1.6 + Moodle 2 only on a new account and do all the test again as you suggested.

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

  • iadefy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 month ago #20 by iadefy

antonio wrote: To check if this is the issue, open /plugins/xmlrpc/joomdle.php
In check_origin function, add:
return true;
Just before:
return ($request_ip == $moodle_ip);


I checked J1.5 and it has /plugins/xmlrpc/joomdle.php, but for J1.6, the xmlrpc folder is missing under /plugins/ folder...

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