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:wampwwwprojeqtortoolprojeqtor.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
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]) );
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:wampwwwprojeqtortoolprojeqtor.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]) );
Very strange.
I found some possible hint on ionternet.
Can you try and install libseccomp2 on your php ?
Thanks, let me try & will respond whatever is the result.
I had chosen PHP version 8.0.13, changed the version to 7.4.26 & it worked fine.