I encountered an error when i try to close test session
With admin account, on multiple testsession
Here reported error on log file
2019-09-23 17:18:50.551 ** ERROR ** [V8.1.6] HACK ================================================================
2019-09-23 17:18:50.551 ** ERROR ** [V8.1.6] Try to hack detected
2019-09-23 17:18:50.551 ** ERROR ** [V8.1.6] Source Code = Invalid dateTime format for 'Mon Sep 23 2019 17:18:50 GMT+0200 (heure d’été d’Europe centrale)' : only 5 to 19 characters length possible
2019-09-23 17:18:50.551 ** ERROR ** [V8.1.6] QUERY_STRING = destinationWidth=48&destinationHeight=0&isIE=&xhrPostDestination=resultDiv&xhrPostIsResultMessage=true&xhrPostValidationType=&xhrPostTimestamp=1569251930252
2019-09-23 17:18:50.551 ** ERROR ** [V8.1.6] REMOTE_ADDR = 192.168.1.110
2019-09-23 17:18:50.551 ** ERROR ** [V8.1.6] SCRIPT_FILENAME = /var/www/html/projeqtor/tool/saveObject.php
2019-09-23 17:18:50.551 ----- DEBUG ----- => /var/www/html/projeqtor/tool/projeqtor.php at line 1514 calling debugPrintTraceStack()
2019-09-23 17:18:50.551 ----- DEBUG ----- => /var/www/html/projeqtor/model/Security.php at line 102 calling traceHack()
2019-09-23 17:18:50.551 ----- DEBUG ----- => /var/www/html/projeqtor/model/persistence/SqlElement.php at line 2874 calling Security:checkValidDateTime()
2019-09-23 17:18:50.551 ----- DEBUG ----- => /var/www/html/projeqtor/model/persistence/SqlElement.php at line 2400 calling SqlElement:fillSqlElementFromRequest()
2019-09-23 17:18:50.551 ----- DEBUG ----- => /var/www/html/projeqtor/tool/saveObject.php at line 69 calling SqlElement:fillFromRequest()
2019-09-23 17:18:50.552 ** ERROR ** [V8.1.6] REQUEST_URI = /tool/saveObject.php?destinationWidth=48&destinationHeight=0&isIE=&xhrPostDestination=resultDiv&xhrPostIsResultMessage=true&xhrPostValidationType=&xhrPostTimestamp=1569251930252
I try upgrade to 8.2.1, error is persistant
2019-09-23 17:37:19.776 ** ERROR ** [V8.2.1] HACK ================================================================
2019-09-23 17:37:19.776 ** ERROR ** [V8.2.1] Try to hack detected
2019-09-23 17:37:19.776 ** ERROR ** [V8.2.1] Source Code = Invalid dateTime format for 'Mon Sep 23 2019 17:37:19 GMT+0200 (heure d’été d’Europe centrale)' : only 5 to 19 characters length possible
2019-09-23 17:37:19.776 ** ERROR ** [V8.2.1] QUERY_STRING = destinationWidth=48&destinationHeight=0&isIE=&xhrPostDestination=resultDiv&xhrPostIsResultMessage=true&xhrPostValidationType=&xhrPostTimestamp=1569253039445
2019-09-23 17:37:19.776 ** ERROR ** [V8.2.1] REMOTE_ADDR = 192.168.1.110
2019-09-23 17:37:19.776 ** ERROR ** [V8.2.1] SCRIPT_FILENAME = /var/www/html/projeqtor/tool/saveObject.php
2019-09-23 17:37:19.776 ----- DEBUG ----- => /var/www/html/projeqtor/tool/projeqtor.php at line 1517 calling debugPrintTraceStack()
2019-09-23 17:37:19.776 ----- DEBUG ----- => /var/www/html/projeqtor/model/Security.php at line 102 calling traceHack()
2019-09-23 17:37:19.776 ----- DEBUG ----- => /var/www/html/projeqtor/model/persistence/SqlElement.php at line 2882 calling Security:checkValidDateTime()
2019-09-23 17:37:19.776 ----- DEBUG ----- => /var/www/html/projeqtor/model/persistence/SqlElement.php at line 2408 calling SqlElement:fillSqlElementFromRequest()
2019-09-23 17:37:19.776 ----- DEBUG ----- => /var/www/html/projeqtor/tool/saveObject.php at line 69 calling SqlElement:fillFromRequest()
2019-09-23 17:37:19.776 ** ERROR ** [V8.2.1] REQUEST_URI = /tool/saveObject.php?destinationWidth=48&destinationHeight=0&isIE=&xhrPostDestination=resultDiv&xhrPostIsResultMessage=true&xhrPostValidationType=&xhrPostTimestamp=1569253039445
Just after i'm disconnected
Thanks for your help
Hi,
This issue is fixed on V8.1.6.
But if you customized Test Session screen, you may still face the issue.
To fix this, open file projeqtor/model/custom/TestSession.php
and comment two following lines :
//public $startDate; //public $endDate;
