olab / Open-Labyrinth

OpenLabyrinth is an open-source (GNU-GPL3 license) platform for creating and playing virtual patients.
https://openlabyrinth.ca
40 stars 16 forks source link

Sessions not recorded #116

Open aprufa opened 7 years ago

aprufa commented 7 years ago

I just had an update installed V.3.3 and now sessions are no longer recorded. Several cases were run but nothing showed up in the session tab. Any ideas?

Thanks Adam

topps commented 7 years ago

Hmm, have not seen that before. Anyone else come across this? dt

From: aprufa notifications@github.com Reply-To: olab/Open-Labyrinth reply@reply.github.com Date: Monday, January 23, 2017 at 11:50 AM To: olab/Open-Labyrinth Open-Labyrinth@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [olab/Open-Labyrinth] Sessions not recorded (#116)

I just had an update installed V.3.3 and now sessions are no longer recorded. Several cases were run but nothing showed up in the session tab. Any ideas?

Thanks Adam

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/olab/Open-Labyrinth/issues/116, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABWUvLKYt7xffU--ipFOfJcNGfO7-OPgks5rVPZfgaJpZM4LrZ1N.

sergey-rud commented 7 years ago

Hello @aprufa,

Could you provide Apache’s error log and contents of the directory /www/application/logs ?

NataliaStathakarou commented 7 years ago

I came across a session problem when installing 3.4, some of the sessions are displayed but not clickable in the session section (i see the report and username but i get an error when i click to view). I can get them though from the database but i am wondering what the problem might be?

sergey-rud commented 7 years ago

Hello @NataliaStathakarou , If you get "Oops something went wrong" error, details can be found in the directory path_to_open_labyrinth/www/application/logs/2017 or just press cmd+q to see error details.

Can you share error details with us?

NataliaStathakarou commented 7 years ago

Thanks @sergey-rud The error is: ERROR: type: ErrorException; code: Notice; message: Undefined offset: 34; file: ../application/classes/controller/reportmanager.php; line: 326; browser: firefox; browser version: 53.0; resolution: 1920x1080;

2017-06-07 07:45:57 --- ERROR: ErrorException [ 8 ]: Undefined offset: 34 ~ APPPATH/classes/controller/reportmanager.php [ 326 ]

Btw, i am using the LTI to pass the user details (which seem to work).

topps commented 7 years ago

Yes, I have been noticing that lately as well. Have not yet figured out a pattern to it. dt

From: Natalia Stathakarou notifications@github.com Reply-To: olab/Open-Labyrinth reply@reply.github.com Date: Wednesday, June 7, 2017 at 7:10 AM To: olab/Open-Labyrinth Open-Labyrinth@noreply.github.com Cc: David Topps topps@ucalgary.ca, Comment comment@noreply.github.com Subject: Re: [olab/Open-Labyrinth] Sessions not recorded (#116)

I came across a session problem when installing 3.4, some of the sessions are displayed but not clickable in the session section (i see the report and username but i get an error when i click to view). I can get them though from the database but i am wondering what the problem might be?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/olab/Open-Labyrinth/issues/116#issuecomment-306789829, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABWUvA7_zqKdEwc5qMQVGkTS_PqVWOz-ks5sBqFIgaJpZM4LrZ1N.

sergey-rud commented 7 years ago

@NataliaStathakarou, I added a fix to release-3.4.1 branch (https://github.com/olab/Open-Labyrinth/tree/release-3.4.1) and to release-candidate branch, so you should checkout release-3.4.1 branch to pull the changes.

Or if you don't use Git, you can replace www/application/classes/controller/reportmanager.php file with this https://github.com/olab/Open-Labyrinth/blob/acfbdda2bb1654eac9850c826bec7b4dc866a35e/www/application/classes/controller/reportmanager.php file manually.