Hello everybody.
I evaluate Projeqtor for our company and installed V7.4.3 (224) on a Synology 918+
I accessed it with firefox 66.0.2 (64-Bit) and admin/admin
When I try to create any artefact (here for example a client) i loose connection
and the log entry is:
2019-04-11 10:07:49.113 ===== TRACE ===== NEW CONNECTED USER 'admin'
2019-04-11 10:08:11.149 ** ERROR ** [V7.4.3] HACK ================================================================
2019-04-11 10:08:11.149 ** ERROR ** [V7.4.3] Try to hack detected
2019-04-11 10:08:11.149 ** ERROR ** [V7.4.3] Source Code = SqlElement->_construct : id 'ac5v4bnnvn6YU18C0PDN461300' is not numeric for class Client
2019-04-11 10:08:11.149 ** ERROR ** [V7.4.3] QUERY_STRING =
2019-04-11 10:08:11.149 ** ERROR ** [V7.4.3] REMOTE_ADDR = 192.xxx.xxx.xx
2019-04-11 10:08:11.150 ** ERROR ** [V7.4.3] SCRIPT_FILENAME = /volume1/web/web_images/projeqtorV7.4.3/projeqtor/tool/getExtraRequiredFields.php
2019-04-11 10:08:11.150 ** ERROR ** [V7.4.3] REQUEST_URI = /tool/getExtraRequiredFields.php
2019-04-11 10:08:46.233 ===== TRACE ===== NEW CONNECTED USER 'admin'
I'd appreciate any help as i'm stuck at the moment
Best regards
Hi,
I don't know about synology, but it is possible that your system adds an unexpected attribute "id" to the requests with some token.
I think other users succeded to have ProjeQtOr work on synology.
Have a look at such threads in the forum.
Unfortunately i didn't find a solution. Shouldn't 'id' be a int(12) which
'ac5v4bnnvn6YU18C0PDN461300' isn't.
I'll continue trying and write agan in case i find something
Of course ac5v4bnnvn6YU18C0PDN461300 is not an interger and so not a correct id.
In /tool/getExtraRequiredFields.php, just after include of projeqtor.php (in fist lines) add :
traceLog($_REQUEST);
Then play test case.
Check browser console, tab network, check the request you send and value of id sent.
Compare with value of id found in log file.
I guess they will be different...
This because your system adds something in the request that sets the mess with original request.
Thanks, i'll try that.
By the way...I encountered a minute ago that it works with internet explorer
with which browser does it fail ?
Do you have some extension on this browser ?
It only is a problem with one Firefox installation. Disabling all extensions
didn't make it better.
I tried a Firefox installation in a different virtual machine and it
works.
So the first FF installation seems to be corrupted. I will not search
further and just do a reinstall -> problem solved.
Thank you for your advice