- Posts: 3
Too many users in Moodle causing error?
- Dan Sheehan
- Topic Author
- Offline
- New Member
-
Less
More
13 years 9 months ago #1
by Dan Sheehan
Too many users in Moodle causing error? was created by Dan Sheehan
We have 25,000 users in Moodle. When we go to Joomdle -> Users in the admin the page just hangs, we assume because of the number of users we have in moodle.
Other parts of Joomdle are working fine, connection is working and System Check is all ok.
We have Joomdle installed on two other domains on the same server with not as many users which are working fine.
Any ideas how we can resolve this?
Thanks,
Dan
Other parts of Joomdle are working fine, connection is working and System Check is all ok.
We have Joomdle installed on two other domains on the same server with not as many users which are working fine.
Any ideas how we can resolve this?
Thanks,
Dan
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
13 years 9 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Too many users in Moodle causing error?
Hi Dan.
That's correct: there is a problem with joomdle user listing view when there is a lot of users. I will try to include at least a workaround for next release, as this has been on my TODO list for a while without a proper solution.
In the meantime, I think you can fix it yourself in the code.
The problem only happens when joomdle shows all joomla and moodle users, but it should work fine when you show only joomla users or only moodle ones.
In file: administrator/components/com_joomdle/views/users/view.html.php
Set the value of $filter_type to either 'joomla' or 'moodle', before the switch stamemnt.
For example:
That's correct: there is a problem with joomdle user listing view when there is a lot of users. I will try to include at least a workaround for next release, as this has been on my TODO list for a while without a proper solution.
In the meantime, I think you can fix it yourself in the code.
The problem only happens when joomdle shows all joomla and moodle users, but it should work fine when you show only joomla users or only moodle ones.
In file: administrator/components/com_joomdle/views/users/view.html.php
Set the value of $filter_type to either 'joomla' or 'moodle', before the switch stamemnt.
For example:
Code:
$filter_type = 'joomla';
switch ($filter_type)
{
case 'moodle':
...
Please Log in or Create an account to join the conversation.
- Dan Sheehan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
13 years 9 months ago #3
by Dan Sheehan
Replied by Dan Sheehan on topic Re: Too many users in Moodle causing error?
Thanks Antonio.
I'll try the work around.
I'll try the work around.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
13 years 9 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: Too many users in Moodle causing error?
Hi.
I implented the fix. If you prefer that I send you a testing package rather than modifying the code, let me know (antonio@joomdle.com)
I implented the fix. If you prefer that I send you a testing package rather than modifying the code, let me know (antonio@joomdle.com)
Please Log in or Create an account to join the conversation.
- Dan Sheehan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
13 years 9 months ago #5
by Dan Sheehan
Replied by Dan Sheehan on topic Re: Too many users in Moodle causing error?
Thanks Antonio. I've sent you an email.
Please Log in or Create an account to join the conversation.