How To / General

login on moodle 3.4

  • ArchieBA
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 7 months ago - 8 years 7 months ago #1 by ArchieBA
login on moodle 3.4 was created by ArchieBA
Hi,

I upgraded moodle to v.3.4 and I have been getting an error message since. Everything works so its not super urgent but I'm wondering if it is related to joomdle since moodle has deprecated some features in the 3.4.

Here is the error message:

https_required() has been deprecated. It no longer needs to be called.
line 1472 of /lib/pagelib.php: call to debugging()
line 47 of /login/index.php: call to moodle_page->https_required()
verify_https_required() has been deprecated. It no longer needs to be called.
line 1485 of /lib/pagelib.php: call to debugging()
line 304 of /login/index.php: call to moodle_page->verify_https_required()

From what I am seeing, I'm guessing this is related to the login.

I got up this morning and had a hunch it was realated to joomdle but I might be wrong. :)

So is it?

Thanks!!

EDIT: actually I just realised that the joomdle menu don't work. So there must be somehting up on the moodle side.
Last edit: 8 years 7 months ago by ArchieBA.

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

More
8 years 7 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic login on moodle 3.4
Hi.

I don't think that's coming from Joomdle, as we don't have any calls to those deprecated functions...
If you have ssh access, easiest way is to use grep on Moodle code to check for those calls.

> actually I just realised that the joomdle menu don't work. So there must be somehting up on the moodle side.
Sorry, I don't know what the problem is. Please try to give more info.

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

  • ArchieBA
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 7 months ago #3 by ArchieBA
Replied by ArchieBA on topic login on moodle 3.4
Sorry, I left in a hurry! I got the fealing that something in moodle was wrong. So I did a clean install and re-added the stuff. Moodle had a probleme and this fixed it.

So the errors are gone.

Back to joomdle.

When I was talking about the menu, I meant when creating a joomla menu using joomdle "my course" (as an example).

The courses of the user are not showing.

All system checks are green.

Is there something else that I need to check/config?

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

More
8 years 7 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic login on moodle 3.4
If you go to Joomdle backend->Course requests, do you see courses there?

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

  • ArchieBA
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 7 months ago - 8 years 7 months ago #5 by ArchieBA
Replied by ArchieBA on topic login on moodle 3.4
Yes I see them.

I also tried to Show/Hide a fake course in moodle and joomdle would show/hide the course.

EDIT: I also create a menu for the "course list" and for the "assign courses". When I do the "course liste" menu, it gives an empty page and when i do the "assign course" menu, it says there are no courses to be assigned.
Last edit: 8 years 7 months ago by ArchieBA.

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

More
8 years 7 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic login on moodle 3.4
There must be something weird going on with your setup, as Joomdle is working fine with Moodle 3.4.
It is normal that you get "no courses to assign" message.
As for empty page on course list: I don't understand, as this is the same code that gets the course list in course requests view in backend.
If you had to reinstall Moodle maybe there is something wrong in Joomla side too? Try re-installing Joomdle in Joomla, without uninstalling first.

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

  • ArchieBA
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 7 months ago #7 by ArchieBA
Replied by ArchieBA on topic login on moodle 3.4
OK! So after a few tests and multiple tries...

I got the idea of turning "on" the dev errors in joomla. (I should have thought of that sooner!!) Just for general info, that is located in the "Global configuration --- > server ---> error reporting".

Anyway, once that was turned on, I quicly saw it was a server config. The server this site is on has mutliple IPs and I had to adjust a local settings to get it to work.

Voilà!

anyway, next time I will turn on the error reporting much faster :)

Thanks!

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

More
8 years 7 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic login on moodle 3.4
Great to know it is working. Thanks for letting us know about the solution.

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