Joomla URL misconfigured in Joomdle auth plugin...

More
15 years 1 month ago #21 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla URL misconfigured in Joomdle auth plugin...
Yes, sorry, that is J1.5.

For J1.6 this function is located in /components/com_joomdle/controllers/ws.xmlrpc.php

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

More
15 years 1 month ago #22 by Baito
Finally got around to trying this, and it did the trick perfectly.

The System Check page now returns success.

Thank you for the help!

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 years 1 month ago #23 by iadefy
Finally got time to do a complete fresh re-installed of everything:
  1. Setup a new shared hosting account,
  2. Install J1.6
  3. Install Moodle2
  4. Follow exactly the instructions in Joomdle installation guide: to prepare Moodle 2 and install Joomdle in Moodle 2.
  5. Edit /components/com_joomdle/controllers/ws.xmlrpc.php, and add: return true; before return ($request_ip == $moodle_ip);
  6. Installed JoomdleAlpha2 in Joomla
  7. Configure the URL in Joomdle for both J1.6 & Moodle2
Here is part of the edited ws.xmlrpc.php code:

$moodle_ip = gethostbyname ($domain);
return true;
return ($request_ip == $moodle_ip);

However, I'm still receiving the error message during System Check: "Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle". Anything that I could possible have done wrongly? Seems like I'm the only few not managed to get it proper installed :(

PS: One setting that I didn't set is the "Parent role ID" though, not sure what it should be...

PPS: If anyone interested in checking the setup, I can PM the cpanel/J1.6/Moodle2 access so you can try it :)
Last edit: 15 years 1 month ago by iadefy.

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

More
15 years 1 month ago #24 by Allan Reith
I have tried every suggestion mad in this thread with no success. Joomla is my sites opening page, not in a subfolder. Am I putting in the wrong URL?:blink:

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

More
14 years 10 months ago #25 by jose senra
Hi :)

Guess this is the best place to put this question. I've got the following setup:

Joomla: 1.5.x
Moodle: 1.9.x
Joomdle: 0.51
PHP: 5.1.6

and I keep getting the "Joomla URL misconfigured in Joomdle auth plugin" error although I'm followed the install / pre-requisites tutorials correctly and double checked the Joomla url at Moodle's Joomdle settings.

When I create a user in Joomla, it's automatically 'transformed' into a Moodle and Joomdle user (I've confirmed it in the Joomla admin member's list) and the site's showing all the courses I've created in Moodle, as an administrator there.

The logged user in Joomla can join a course, although the result's an HTML error but the user really does enroll the course.

When a user's created in Joomla, a correspondent user's created in Moodle, with an empty name and email fields making it impossible to login in Moodle.

Can anyone help me on this please?

Thanks in advance.

josé albernaz senra

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

More
14 years 10 months ago #26 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla URL misconfigured in Joomdle auth plugin...
I would try with R0.52, which has improved error reporting, to see if the error you receive is the same....

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

More
14 years 10 months ago #27 by jose senra
will do.. thanks Antonio

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

More
14 years 10 months ago - 14 years 10 months ago #28 by Adam Spicer
Hi all,

I love the idea of this component but like others I've been having problems. One directly connected with this thread and another which I'll tag on at the end :evil:

My server setup is:

Apache 2.0
Ubuntu
php5-xmlrpc
firewall is properly setup and have tried disabling it too.
VPS system with public IP
CGI or fastCGI
Curl enabled

Joomla 1.6 - installed Joomdle alpha3 (domain.co.uk)
Moodle 2.0 - (domain.co.uk/moodle)

Right then, everything appears to be set up correctly in Moodle but when I run the system check in Joomla it fails the web services check, stating the url in Moodle is misconfigured. Now I've tried every possible method of typing the url and with each attempt modified both Joomla and Moodle.

However, when I set the domain name in Joomla to < www.domain.co.uk/moodle > and in Moodle to < www.domain.co.uk > it will show the error but will allow me to view the users and will sync accounts with Moodle. BUT, the server then slows right down and has real problems with authentication in Joomla. If I log in the front end things freeze up, I press refresh and eventually it will reload after numerous 503 browser errors. Logging out also causes similar problems and redirects the user to a page which doesn't exist.

When I disable Joomdle, everything is fine. Logging in and out of Joomla frontend is fast and painless. Also, when I change the joomdle setting for Moodle to localhost/moodle and similar in Moodle I then get an "Received empty response from Moodle" instead but logging in and out of Joomla frontend is okay but users are synced.

So I'm really stumped as I've tried various url formats:

/var/www/vhosts... etc
http: // www.domain.co.uk
www.domain.co.uk
http: // domain.co.uk
domain.co.uk

Any help would be appreciated. I've tried all the various solutions and scoured the web for days with no joy :(

The other problem... I'm getting loads of these errors on the server:

[Mon Jun 13 18:54:53 2011] [error] [client <ip here>] File does not exist: /var/www/vhosts/mydomain.co.uk/httpdocs/administrator/components/com_joomdle/assets/icons, referer: www.my domain.co.uk/administrator/index.php?option=com_joomdle&view=users

It nearly took my server offline, generating 45GB of errors in 7 days.... yes 45GB lol

Many thanks,

Adam
Last edit: 14 years 10 months ago by Adam Spicer.

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

More
14 years 10 months ago #29 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla URL misconfigured in Joomdle auth plugin...
Hi.

As for your system heck problem: are you using curl or file_get_contents?
If using curl on moodle side, try file_get_contents.

As for the error in log: I have never seen int, but will put in my list to check it out when I have some time.

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

More
14 years 10 months ago #30 by Adam Spicer
Hi, thought I'd tried it but with file_get_contents it works... sort of. It passes all the checks but the website runs at a crawl. Authenticating through Joomla makes the website unresponsive. suffering loads of 503 errors :( I'll have to try and track down problem. One thing I failed to mention is I'm running T3 Framework but haven't been able to find anyone with problems in this regard.

Thanks again :)

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