× R0.23 No Longer Supported

[SoIved] Internal Server Error with Joomdle 0.23

11 years 7 months ago 11 years 7 months ago by Antonio Durán.
Shyam
Posts: 60
More
Topic Author
[SoIved] Internal Server Error with Joomdle 0.23 #1
Hello,
I am facing an Internal Server Error with "Joomdle 0.23" release. I have installed joomla package and moodle plugins successfully and enabled all. But when I try to login from joomla it redirects me to
" www.mysite.com/moodle/auth/joomdle/land....pper=0&create_user=1 k " page and showing an 500 Internal Server Error.

Moreover joomdle course menu also leads user to moodle login page.
Regards,

Shyam

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

11 years 7 months ago
Antonio Durán
Posts: 7322
More
[SoIved] Internal Server Error with Joomdle 0.23 #2
Internal error means something is failing on the land.php page, I think. Did you update moodle side to 0,.23?

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

11 years 7 months ago
Shyam
Posts: 60
More
Topic Author
[SoIved] Internal Server Error with Joomdle 0.23 #3
Hello Antonio,
I was waiting for your reply...
Yes I have installed joomdle auth and enrollment plugins to moodle.

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

11 years 7 months ago
Antonio Durán
Posts: 7322
More
[SoIved] Internal Server Error with Joomdle 0.23 #4
Some questions to try to isolate the problem:
- Is this a new install or an upgrade in the old site?
- Are you trying with a newly created user or with one from older release?
- If it is a new user, is it being created in Moodle?

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

11 years 7 months ago
Shyam
Posts: 60
More
Topic Author
[SoIved] Internal Server Error with Joomdle 0.23 #5
-I am currently using with old users.
-I have uninstalled all Joomdle R0.22 (Except database) and installed fresh 0.23 version.
-I created new user in joomla it successfully created in moodle too.

Everything such as courses, grades are appearing in Joomla as expected but login redirection to moodle gets failed.

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

11 years 7 months ago
Antonio Durán
Posts: 7322
More
[SoIved] Internal Server Error with Joomdle 0.23 #6
Try to go directly to:
www.mysite.com/moodle/auth/joomdle/land....pper=0&create_user=1 k

And putting some debug on land.php code.

For example,after:
$response = file_get_contents($joomla_xmlrpc_url, false, $context);
add:
echo "R:";
print_r ($response);
exit ();

We need to find what is causing land.php to fail.

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

11 years 7 months ago
Shyam
Posts: 60
More
Topic Author
[SoIved] Internal Server Error with Joomdle 0.23 #7
I have added the code as instructed. I get the same error. What to do next?

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

11 years 7 months ago
Antonio Durán
Posts: 7322
More
[SoIved] Internal Server Error with Joomdle 0.23 #8
Move the added code up, just before:
if ($username != 'guest')

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

11 years 7 months ago
Shyam
Posts: 60
More
Topic Author
[SoIved] Internal Server Error with Joomdle 0.23 #9
I moved the code, same problem.

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

11 years 7 months ago
Antonio Durán
Posts: 7322
More
[SoIved] Internal Server Error with Joomdle 0.23 #10
Very strange, there is almost no code before that :(

Just keep moving the code up and trying, to find out which line is causing the problem.

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