SSO problem: new joomla user not added to moodle
The courses module should show your course list, or an error, but it is not showing any. I don't know, but could it be that it has something to do with the fact that:
www.info.ase.ro/test/Joomla/ k works
www.info.ase.ro/test/joomla/ k does not work
Notice the capital J in the firsr URL.
To try to debug, add:
$cursos = xmlrpc_decode($file);
pignus: you mean you get no output and are redirected normally when you create a new user? Try putting the exit at the beggining of the function, to confirm that it is not being executed. If that is the case, try changing its ordering in plugin list.
yes, exit() has no effect, even at the very beginning of the function.
i changed the plugin order (i could only swap "User - joomdlehooks" with "User - joomla!") with no effect.
i logged in as the newly created user in joomla, accessed moodle (shown in the wrapper) and it worked as usual.
then i clicked the logout page on moodla and this is the resuulting URL as shown in Firefox
http://localhost/joomla/components/com_joomdle/views/wrapper/= JPATH_BASE; ?>
of course a page not found error is in the browser...
strange things happen...
In next release, I am changing getout.php (in com_joomdle/views/wrapper) code to:
$uri = $_SERVER;
$path = strstr ($uri, '/components/com_joomdle/views/wrapper/getout.php');
$len = strlen ($uri);
$len2 = strlen ($path);
$root = substr ($uri, 0, $len - $len2);
top.location.href = "<? echo $root; ?>";
Can you test it to see if it works for you?
I made a fresh install of moodle, joomle and joomdla, with default templates.
I set up all the prerequisites and all steps in joomdle for moodle (including advanced moodle configuration) and joomdle for joomla from joomdle.com.
I added a weekly course in moodle, "Divers" category , containing 3 ppts.
I also redirected the moodle login page to joomla.
In joomla private, i added "course list" and "course in a category" options in the Resource section. Also, i can see the sections "Joomdle courses" and "My Joomdle courses". What should i see in these sections?
Still, the SSO stuff is not working .
I tried everything on the previous install and there seems to be something i miss and i connot figure out what it is.
The new urls: www.info.ase.ro/test3/joomla k
If you want to have a look inside, i can send you the administrator credentials.
I see it does not show any courses, nor it show any errors.
If you want me to, I can send you a copy of R0.24 later, which includes a system check tool that should help diagnose your problem.
I received your email. Thank you very much for sending me RO-24 version. I uninstalled RO-23, using the Upgrading Joomdle steps for Joomdle.com. I set up again the configuration for the new Joomdle and i believe that i have two error which appear in Components->Joomdle->System Check
1. CJ ALLOW URL FOPEN ->> (CJ ERROR) CJ ALLOW URL FOPEN ERROR
2. CJ JOOMDLE WEB SERVICES ->> (CJ ERROR) CJ MNET AUTH NOT ENABLED
The first one is more tricly: you will need your hosting provider to enable it for you, as it is a PHP global configuration option.