R0.23 No Longer Supported

[SoIved] Internal Server Error with Joomdle 0.23

  • Shyam
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
16 years 1 month ago - 16 years 1 month ago #1 by Shyam
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 " page and showing an 500 Internal Server Error.

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

Shyam
Last edit: 16 years 1 month ago by Antonio Durán.

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

More
16 years 1 month ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Internal Server Error with Joomdle 0.23 release
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.

  • Shyam
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
16 years 1 month ago #3 by Shyam
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.

More
16 years 1 month ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: Internal Server Error with Joomdle 0.23 release
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.

  • Shyam
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
16 years 1 month ago #5 by Shyam
-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.

More
16 years 1 month ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: Internal Server Error with Joomdle 0.23 release
Try to go directly to:
www.mysite.com/moodle/auth/joomdle/land....pper=0&create_user=1

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.

  • Shyam
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
16 years 1 month ago #7 by Shyam
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.

More
16 years 1 month ago #8 by Antonio Durán
Replied by Antonio Durán on topic Re: Internal Server Error with Joomdle 0.23 release
Move the added code up, just before:
if ($username != 'guest')

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

  • Shyam
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
16 years 1 month ago #9 by Shyam
I moved the code, same problem.

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

More
16 years 1 month ago #10 by Antonio Durán
Replied by Antonio Durán on topic Re: Internal Server Error with Joomdle 0.23 release
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.