Forum

[SOLVED] Installati...
 
Notifications
Retirer tout

[SOLVED] Installation issue

11 Posts
2 Utilisateurs
0 Reactions
7,895 Vu
 Rafa
(@rbarragan)
Posts: 6
Active Member
Début du sujet
 
[#3103]

Hi!

I'm trying to install Projeqtor 5.2.4 in a hosting service. I've created the database and set the file permissions. But when I try to access with admin/admin I receive a undefined error. The log file say:

016-02-25 13:54:27.264 ** ERROR ** ERROR **
2016-02-25 13:54:27.264
** ERROR ** on file '/usr/home/tE1238upumdG/project.sinergiacrm.org/web/projeqtor/tool/loginCheck.php' at line (38)
2016-02-25 13:54:27.265
** ERROR ** cause = Undefined index: sessionSalt
2016-02-25 13:54:27.268
** ERROR ** ERROR **
2016-02-25 13:54:27.269 ** ERROR ** on file '/usr/home/tE1238upumdG/project.sinergiacrm.org/web/projeqtor/tool/loginCheck.php' at line (46)
2016-02-25 13:54:27.269 ** ERROR ** cause = Undefined index: sessionSalt
2016-02-25 13:54:27.274 ** ERROR ** ERROR **
2016-02-25 13:54:27.274
** ERROR ** on file '/usr/home/tE1238upumdG/project.sinergiacrm.org/web/projeqtor/tool/loginCheck.php' at line (50)
2016-02-25 13:54:27.274
** ERROR ***** cause = Undefined index: sessionSalt

and no tables neither changes was occurred in database.

I've also installed a local version (it worked) and I've tried to create the database with sql statements exported from local version, but the problem has been the same.

Now I have a empty database and a clean installation, and the logfile is the attached file.

Please, can you tell me what is wrong?

Thanks alot.


 
Posté : 25 Fév PM 16:022
(@babynus)
Posts: 14952
Membre Admin
 

you have a session issue.
possibly a session mimatch.
try and clean php sessions.


 
Posté : 25 Fév PM 23:022
 Rafa
(@rbarragan)
Posts: 6
Active Member
Début du sujet
 

Hi babynus,

I've cleaned all my session files and the result is the same.

🙁


 
Posté : 26 Fév PM 15:022
(@babynus)
Posts: 14952
Membre Admin
 

Try and clean browser cache also.

Do you have any other PHP application running on same server ?


 
Posté : 27 Fév PM 13:022
 Rafa
(@rbarragan)
Posts: 6
Active Member
Début du sujet
 

There is only projeqtor running on the virtual server.

I attach the javascript console log.


 
Posté : 29 Fév AM 11:022
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Could you please expand one or the errors logged in the console ?


 
Posté : 29 Fév PM 13:022
 Rafa
(@rbarragan)
Posts: 6
Active Member
Début du sujet
 

Hi,

I've attached the entire javascript console log.

Thanks!


 
Posté : 29 Fév PM 13:022
(@babynus)
Posts: 14952
Membre Admin
 

It seems you have an issue in the crypting phase.
Could you try and retreive, during the connection phase, the getHash.php request, retreive the response and post it here.

NB : I guess you have an error message insted of the expected responde.
Possibly one requires module is missing. OpenSSL ?


 
Posté : 29 Fév PM 13:022
 Rafa
(@rbarragan)
Posts: 6
Active Member
Début du sujet
 

Hi,

I think there is a loop in the getHash request, I don't know if it's correct:
1st call

Response:

Then application try to connect again:

And getHash is called again (2nd call):

This is the response for the 2nd call:

And these are some parts of phpinfo:

Thanks again!


 
Posté : 1 Mar AM 11:033
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Thanks for this investigation.
It seems you get a different session id each time you send a request to the PHP server.
So authentification process fails.
(and there is an error I detected that leads to never ending loop in the getHash processus)

The most likely is that your PHP server is configured to set session as cookies (session.use_cookies = 1) and possibly your browser refuses cookies for this server.
Just enable cookies for this server in your browser security options, it should then work better.

If it is not working with cooking, try and change PHP options about session management, such as :
session.use_only_cookies = 1 ; This is recommended in PHP best practices
session.use_strict_mode = 0; I never used this paraleter, but may be an issue if set to 1

NB : never ending loop in getHassh processus has been fixed and fix will be deployed in V5.3.0


 
Posté : 1 Mar PM 13:033
 Rafa
(@rbarragan)
Posts: 6
Active Member
Début du sujet
 

Hi!

We've found the problem!! We have PHP 5.3.2 installed, then session.use_strict_mode option is not available. But default php configuration set the session.cookie_secure option to enabled, this mean that cookies are sent only in secure connections. I've created a .htacces in my root folder with the sentence: php_flag session.cookie_secure 0.

And it works!! Great!!

Only one more think, another issue I've received is a message error telling "set_time_limit is disabled for security reason in projector.php at line (2553)". My max_execution_time option is set to 150. I've solved it by enabling safe_mode option, and disabling it when db update was completed.

Thanks for your support!


 
Posté : 1 Mar PM 14:033
Share:
Retour en haut