Thanks for your help.
Matt
Good bug, but it is still unsolved. All my glossaries are messed up with that bug.
Giang
Joseph
If I manually add the entries to this table, then browse by category works properly.
Thanks,
Matt
I have a moodle 1.8 (2007021501) set up on a test server. I upgraded from a 1.5.2 to 1.6.5 and then to 1.8 and the glossary in there seems to be behaving just fine. I can add categories and put existing entries into it, I can add new entries to it. Admittedly this glossary had no categories to begin with.
Not sure if this will help you with identifying what is going on, but it might.
It did not get solved because it is not replicable and seems to concern only a small number of people. We have to pinpoint what is causing the pb on some Moodle installs and not on the majority of others.
Joseph
For us, the server supporting Moodle also has some other web apps that rely on PHP4, so if this is the resolution, I'll be working on separating them this summer.
Thanks,
Matt
OK, then it would be useful if other people who have reported this problem would now say whether they are running PHP4 as well, so we would make progress as to the cause.
Joseph
Hi,
The categories in my site are also not working properly. The problem started after upgrading with Fantastico to version 1.8. Categories can be created, but when words are added, they always remain uncategorized. I did a new install and the same thing happened again. The version of PHP is 4.4.4.
The first time time the problem occurred, this message occurred:
Warning Invalid argument supplied for foreach() in home/jedgar/public_html/moodle/mod/glossary/edit.php on line 130
Hope this info is useful.
Thanks
Jim
-Jacob
Could it be verified, that installations using PHP4 have this problem, but those with PHP5 do not?
Best Regards,
Thomas Eibel
Joseph
Thomas
Problem in edit_form.php. Line 38.
Change $categoriesEl = $mform->... to $categoriesEl =& $mform->
From: http://tracker.moodle.org/browse/MDL-9599#action_31747
Which version of Moodle are you using? I think that in any version it is possible to put a glossary entry into as many different categories as you like, whether adjacent or not. How many different categories do you have in your glossary?
Joseph
Hello Joseph,
I am not sure which version of Moodle we have. As for the categories, we have six of them for now. It just seems that, as I am inputting a term, I can only click on one category and get it highlighted so that the term is under it. If I click on a different category, the first category becomes unhighlighted and the term is no longer under it.
Click on the first item you want to select, then press control as you click on the second item for selection, etc.
Joseph