CB Login Issue...again

  • Brian Cunningham
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 3 months ago #1 by Brian Cunningham
CB Login Issue...again was created by Brian Cunningham
Just upgraded to .41 and I now have a slightly different version of the problem here.

www.joomdle.com/en/forum/r030-support/31...ut?limit=10&start=20

I found that the problem is CB estrange login redirection code.

As a workaround, you can edit moodle/auth/joomdle/land.php, and, almost at the end, put:
$redirect_url = get_config (NULL, 'joomla_url');

just before:
redirect($redirect_url);


That would redirect the user to the joomla main page when they logging, bypassing the CB imcopatibility issue.

A fix will be incorporated for Joomdle 0.25.

antonio
Moderator


What's happening now using the latest versions of CB 1.3.1 Jmoodle 4.1 and Moodle 1.9 is:
  1. User logs in but the CB Login Module does not show it happening. To the user it looks like nothing happened
  2. In reality the user is logged in and can be seen in the list of logged in users in admin
  3. The problem manifests in FF & Safari but NOT IE8?? (there's a first)
  4. After clicking around a bit the user will eventually be shown as logged in
  5. Disabling JmoodleHooks fixes the issue
  6. Adding a redirect link in the CB Login module also fixes the problem but we don't really want to redirect users away from what ever page they are on.




Ideas?

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

More
15 years 3 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: CB Login Issue...again
Very strange indeed!

I will try to replicate your problem when I have the time (busy Christmas!)

Antonio

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

More
15 years 3 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic Re: CB Login Issue...again
Hi.

I installed latest CB locally to test (also updated the login module), but cannot replicate your problem: everything works fine when I log in using CB login module.

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

  • Brian Cunningham
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 3 months ago #4 by Brian Cunningham
Replied by Brian Cunningham on topic Re: CB Login Issue...again
Did you try it with CB log in redirect field left blank?

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

More
15 years 3 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic Re: CB Login Issue...again
yes, it is blank.

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