× R0.23 No Longer Supported

SSO problem: new joomla user not added to moodle

11 years 4 months ago
Antonio Durán
Posts: 7311
More
SSO problem: new joomla user not added to moodle #21
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.

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
SSO problem: new joomla user not added to moodle #22
ami: forget about SSO now, you need to make course listing works first.

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:
print_r ($file);
print_r ($cursos);
After:
$cursos = xmlrpc_decode($file);

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

11 years 4 months ago
Giuseppe Sciacchitano
Posts: 8
More
Topic Author
SSO problem: new joomla user not added to moodle #23
antonio wrote:

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/

of course a page not found error is in the browser...

strange things happen...

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
SSO problem: new joomla user not added to moodle #24
The logout error is a known one, it happens to more people.

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);
?>
<script type="text/javascript">
top.location.href = "<? echo $root; ?>";
</script>


Can you test it to see if it works for you?

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

11 years 4 months ago
AMI
SSO problem: new joomla user not added to moodle #25
Hello again.
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
username: test
password: test


If you want to have a look inside, i can send you the administrator credentials.
Thank you

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
SSO problem: new joomla user not added to moodle #26
Hi. As I said, the first thing that needs to work is course listing.

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.

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

11 years 4 months ago
AMI
SSO problem: new joomla user not added to moodle #27
Yes, thank you. Should i send you a pm with my e-mail address?

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
SSO problem: new joomla user not added to moodle #28
I sent it to the email you registered with in joomdle.

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

11 years 4 months ago
AMI
SSO problem: new joomla user not added to moodle #29
Hello
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

Thank you!
:)

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

11 years 4 months ago
Antonio Durán
Posts: 7311
More
SSO problem: new joomla user not added to moodle #30
The second error is easy: just enable moodle network in Moodle.

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.

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