View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error on HR dashboard for a month - ProjeQtOr
 

Error on HR dashboard for a month

More
17 Nov 2019 00:25 - 18 Nov 2019 00:59 #1 by mrjulien
Hi

version 8.1.8

I'm facing an error for a specific month. It works well for november but when I switch to december, there's a timeout (see pic below).

I try to swith to log level = 4 but I don't find any change to help me to debug
Please find the detail of December leave period

looks strange that idUser or idResource is the same for all the records (note that there is about ten different people and id=14 is mine)
Attachments:
Last edit: 18 Nov 2019 00:59 by mrjulien.

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

More
19 Nov 2019 00:12 #2 by babynus
Holw long does it take to produce report for november ?
Few seconds or more than a minute ?

Babynus
Administrator of ProjeQtOr web site

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

More
19 Nov 2019 00:29 #3 by mrjulien

babynus wrote: Holw long does it take to produce report for november ?
Few seconds or more than a minute ?

Only few seconds...

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

More
19 Nov 2019 11:37 #4 by babynus
We found some possible infinite loop.

Try and replace line 1800 in /tool/projeqtor-hr.php from
if ($leavesInArrayDate!=null and array_key_exists($date, $leavesInArrayDate)) { continue; }
to
if ($leavesInArrayDate!=null and array_key_exists($date, $leavesInArrayDate)) { 
              $nextDate = new DateTime($date);
              $nextDate->add(new DateInterval("P1D"));
              $date = $nextDate->format("Y-m-d");
              continue; 
            }

Babynus
Administrator of ProjeQtOr web site

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

More
20 Nov 2019 22:49 #5 by mrjulien
B)
good job, it works !
many thanks

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

Moderators: babynusprotion
Time to create page: 0.049 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.