Page 1 of 2
Sequence issue
Posted: Tue Dec 14, 2021 9:38 pm
by fdeutsch
Hi,
I have an issue with my Forma LMS installation.
I have created 31 lessons with 10 tests by lesson.
Some studiants send to me email because the order of the questions is not good.
I can see the order difference if i'm connecting with student account or teacher account.
I can correct the issue with the button named "Corriger l'erreur de séquence". But, the error come back again and again.
Could you help me please ?
Version: 2.3.0
Thank you by advance.
Re: Sequence issue
Posted: Wed Dec 15, 2021 6:16 am
by alfa24
What does "the error come back again and again" exactly mean?
The sequence is shuffled upon each execution? If this is the case, I'm afraid you checked the option to randomise the questions order...
Re: Sequence issue
Posted: Wed Dec 15, 2021 9:49 am
by max
Yes, it might be as Alfa24 is supposing...
Anyway, why don't you also upgrade to version 2.4.5? Regardless of the test option, there's a lot of improvements, bug fixes and security upgrades.
Re: Sequence issue
Posted: Sun Dec 19, 2021 7:48 pm
by fdeutsch
Thank you for your answers.
I have checked and these options are checked : "Organiser en séquence".
Please show the images :
https://zupimages.net/viewer.php?id=21/50/0vpr.png
https://zupimages.net/viewer.php?id=21/50/v2dm.png
You can show the texte "Corriger l'erreur de séquence" (Fix sequence)
The sequence is shuffled upon each execution. But the option to randomise the questions order is not checked.
Thank you for your help.
Regards,
Re: Sequence issue
Posted: Sun Dec 19, 2021 7:50 pm
by fdeutsch
max wrote: ↑Wed Dec 15, 2021 9:49 am
Yes, it might be as Alfa24 is supposing...
Anyway, why don't you also upgrade to version 2.4.5? Regardless of the test option, there's a lot of improvements, bug fixes and security upgrades.
I can't upgrade because I'm on mutualized server and the version of php is not not compatible with FormaLMS.
Thank's.
Re: Sequence issue
Posted: Sun Dec 19, 2021 10:18 pm
by alfa24
Please, provide:
PHP version
Result of the following query:
Code: Select all
SELECT order_type FROM learning_test WHERE idTest = XXX
Where XXX is your idTest (you can retrieve it in the URL you posted for the test properties).
Re: Sequence issue
Posted: Mon Dec 20, 2021 10:58 am
by max
fdeutsch wrote: ↑Sun Dec 19, 2021 7:50 pm
max wrote: ↑Wed Dec 15, 2021 9:49 am
Yes, it might be as Alfa24 is supposing...
Anyway, why don't you also upgrade to version 2.4.5? Regardless of the test option, there's a lot of improvements, bug fixes and security upgrades.
I can't upgrade because I'm on mutualized server and the version of php is not not compatible with FormaLMS.
Thank's.
php requirements for Forma 2.3 and 2.4.5 are the same
Re: Sequence issue
Posted: Sun Dec 26, 2021 9:00 pm
by fdeutsch
alfa24 wrote: ↑Sun Dec 19, 2021 10:18 pm
Please, provide:
PHP version
Result of the following query:
Code: Select all
SELECT order_type FROM learning_test WHERE idTest = XXX
Where XXX is your idTest (you can retrieve it in the URL you posted for the test properties).
Please find the php version here : Version PHP: 7.2.24-0ubuntu0.18.04.10
MariaDB [cbcfrance_formation]> SELECT order_type FROM learning_test WHERE idTest = 93;
+------------+
| order_type |
+------------+
| 0 |
+------------+
1 row in set (0.00 sec)
Thank you.
Re: Sequence issue
Posted: Sun Dec 26, 2021 11:40 pm
by alfa24
Downgrade to php 7.0 and try again.
Re: Sequence issue
Posted: Wed Dec 29, 2021 10:05 pm
by fdeutsch
alfa24 wrote: ↑Sun Dec 26, 2021 11:40 pm
Downgrade to php 7.0 and try again.
I was been difficult because this version is not purposed by Ubuntu and others. It's a old old version. BUT
with a specific php repository, we have been downgrade to : 7.0.33-57+ubuntu20.04.1+deb.sury.org+1
My Forma LMS version is 2.4.5 now.
How to reset order with teacher order and not studiant order ? (if I use the link "Fix sequance" the studiant order will by apply).
All of 35 courses with 10 tests ara affected. Few hours if I do manually.
Thank you.