Joomla URL misconfigured in Joomdle auth plugin...

  • iadefy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 month ago #1 by iadefy
I followed the installation guide of Joomdle to install Moodle2 and Joomla1.6 on a subdomain. I checked the URL and it is correct on both, and including the http:// in both setting. The URL in Joomla/Moodle is:

demo.mydomain.com/moodle2
demo.mydomain.com/j16

However, in the System Check, I still received the error message: "Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle "

Is it because that I installed it in subdomain? Have been struggling with installing Moodle 2 :(

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

More
15 years 1 month ago #2 by Jonathan
Get the same problem with PHP 5.3.5.
Ok with PHP 5.2.17.

Looking at the URL it is using on line 429 of auth.php I found the URL is uses:

http://myhost/joomdle/index.php?option=com_joomdle&task=ws.server&format=xmlrpc


Tried that in browser and get the following response:

Fatal error: Uncaught Invalid controller class: JoomdleControllerWs thrown in /mypath/joomdle/libraries/joomla/application/component/controller.php on line 251

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

More
15 years 1 month ago #3 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla URL misconfigured in Joomdle auth plugin...
Hi. Thanks for the reports.

The url you post should work in the browser (here it does), so I am thinking it could have again to do with PHP short tags.
I checked the 'components/com_joomdle/controllers/ws.xmlrpc.php' and there is a php short tag (<?) at the start.
You could try changing it to <?php to see if that helps.

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

More
15 years 1 month ago #4 by Jonathan
Fixed it thanks.

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 #5 by iadefy
The php version of my hosting server is: 5.2.9. I managed to install without any problem for Joomla1.5 + Moodle1.9, but it didn't work for Joomla1.5 + Moodle2 (Joomdle v0.5) either.
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 #6 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla URL misconfigured in Joomdle auth plugin...
Try applying the same fix as jonathan.

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

More
15 years 1 month ago #7 by Jonathan
Found a few more of these - see attached.

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

More
15 years 1 month ago #8 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla URL misconfigured in Joomdle auth plugin...
Thanks. I grepped my code too ;)

There is one coming from a moodle file, though.

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

More
15 years 1 month ago #9 by Jonathan
That can be ignored - just spotted that it is in a comment.

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 #10 by iadefy
I replaced the <? to <?php in the files:

com_joomdle\controllers\ws.xmlrpc.php, and
com_joomdle\views\myapplications\tmpl\default.php, and
mod_joomle_my_grades\tmpl\default.php

uninstalled the Joomdle, reinstall with the new package with above changes, but still receiving the same error message...

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