View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] PHP 7.4 - Page 3 - ProjeQtOr
 
 

[SOLVED] PHP 7.4

More
12 Jan 2020 14:09 #13 by babynus
Replied by babynus on topic PHP 7.4
OK, so now I'm sure it's not a Session issue.

Can you just verify that the second part of the getHash() response (440c5bfd2beacc722fa848a6b41331856b354a7df4a7a029edd7b3344478f383), after "sha256;" is the same as the user salt stored in table resource ?

If it is the same, it means that the encryption done on Javascript and done on PHP.
Authentication process compared result in php
value in PHP = hash("sha256", $user->$password.$sessionSalt) where $user->password, stored in DB is hash("sha256", $enteredPassWord.$user->salt)
value in JS = CryptoJS.SHA256(CryptoJS.SHA256(pwd + userSalt)+ sessionSalt)

So I would say that CryptoJS.SHA256() or PHP hash("sha256") does not work as expected (at least both don't give save result.
It's quite difficult to investigate to find why...

Babynus
Administrator of ProjeQtOr web site

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

More
12 Jan 2020 18:02 #14 by Thierry94
Replied by Thierry94 on topic PHP 7.4
Hi,

thanks for you help.

select salt from resource where id=1;
+
+
| salt |
+
+
| 440c5bfd2beacc722fa848a6b41331856b354a7df4a7a029edd7b3344478f383 |
+
+

it is the same value...

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

More
13 Jan 2020 17:21 #15 by Thierry94
Replied by Thierry94 on topic PHP 7.4
My problem is solved.
I was the one who started it.

When I installed (replacing my arch linux server in PHP 7.4), an ubuntu server (which I just updated to PHP 7.3), I resin installed the application from the original zip (downloaded from the projeqtor site).
I updated the settings and encountered the problems mentioned in this thread.

What I forgot is the plugs in... (FR translation and reports).
I just reinstalled from a copy of my arch linux server files (including the plugins) and it works... no more connection problems...

I confess I didn't think that these authentication problems could come from the fact that the plugins were not installed.

Maybe this experience can be useful to other people...

Thank you again for your help these last few days.

I can now wait quietly for the 8.4 version.

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

Moderators: babynusprotion
Time to create page: 0.040 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.