View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Resource allocation time error - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

[SOLVED] Resource allocation time error

More
15 Mar 2022 10:07 #1 by chandrashekhar
Hi,
I am facing an issue when editing any resource allocation or adding resource allocation. When I checked the log file it is showing the following error lines, Please guide me to solve this.

2022-03-15 14:30:18.038 ***** ERROR ***** [V9.4.3] on file 'E:\wamp\www\projeqtor\tool\projeqtor.php' at line (3432)
2022-03-15 14:30:18.038 ***** ERROR ***** [V9.4.3] cause = mktime(): Epoch doesn't fit in a PHP integer

Please Connexion or Create an account to join the conversation.

More
15 Mar 2022 11:08 - 15 Mar 2022 11:09 #2 by babynus
Which version of PHP are you using ?

NB : you can try and change lines 3431-3432 in tool/projeqtor.php from
  $dStart=mktime(0, 0, 0, $tStart[1], $tStart[2], $tStart[0]);
  $dEnd=mktime(0, 0, 0, $tEnd[1], $tEnd[2], $tEnd[0]);
to
  $dStart=mktime(0, 0, 0, intval($tStart[1]), intval($tStart[2]), intval($tStart[0]));
  $dEnd=mktime(0, 0, 0, intval($tEnd[1]), intval($tEnd[2]), intval($tEnd[0]) ); 

Babynus
Administrator of ProjeQtOr web site
Last edit: 15 Mar 2022 11:09 by babynus.

Please Connexion or Create an account to join the conversation.

More
15 Mar 2022 11:32 - 15 Mar 2022 11:36 #3 by chandrashekhar
Thank you for quick response, I tried same as you suggested but error showing with just line changed only as following :2022-03-15 15:57:45.670 ***** ERROR ***** [V9.4.3] on file E:\wamp\www\projeqtor\tool\projeqtor.php' at line (3434)2022-03-15 15:57:45.671 ***** ERROR ***** [V9.4.3] cause = mktime(): Epoch doesn't fit in a PHP integerPlease find lines as following what I have done as per your instruction:
//  $dStart=mktime(0, 0, 0, $tStart[1], $tStart[2], $tStart[0]);
//  $dEnd=mktime(0, 0, 0, $tEnd[1], $tEnd[2], $tEnd[0]);

$dStart=mktime(0, 0, 0, intval($tStart[1]), intval($tStart[2]), intval($tStart[0]));
$dEnd=mktime(0, 0, 0, intval($tEnd[1]), intval($tEnd[2]), intval($tEnd[0]) );
Last edit: 15 Mar 2022 11:36 by chandrashekhar.

Please Connexion or Create an account to join the conversation.

More
15 Mar 2022 11:52 #4 by babynus
Very strange.
I found some possible hint on ionternet.
Can you try and install libseccomp2 on your php ? 

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
15 Mar 2022 12:31 #5 by chandrashekhar
Thanks, let me try & will respond whatever is the result.

Please Connexion or Create an account to join the conversation.

More
15 Mar 2022 14:26 #6 by chandrashekhar
I had chosen PHP version 8.0.13, changed the version to 7.4.26 & it worked fine.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.041 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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