Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Installati...
 
Notifications
Clear all

[SOLVED] Installation issue

11 Posts
2 Users
0 Reactions
7,910 Views
 Rafa
(@rbarragan)
Posts: 6
Active Member
Topic starter
 
[#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.


 
Posted : 25 Feb 2016 16H06
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 25 Feb 2016 23H50
 Rafa
(@rbarragan)
Posts: 6
Active Member
Topic starter
 

Hi babynus,

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

🙁


 
Posted : 26 Feb 2016 15H33
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Try and clean browser cache also.

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


 
Posted : 27 Feb 2016 13H21
 Rafa
(@rbarragan)
Posts: 6
Active Member
Topic starter
 

There is only projeqtor running on the virtual server.

I attach the javascript console log.


 
Posted : 29 Feb 2016 11H22
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

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


 
Posted : 29 Feb 2016 13H32
 Rafa
(@rbarragan)
Posts: 6
Active Member
Topic starter
 

Hi,

I've attached the entire javascript console log.

Thanks!


 
Posted : 29 Feb 2016 13H43
babynus
(@babynus)
Posts: 14966
Main Contributor 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 ?


 
Posted : 29 Feb 2016 13H56
 Rafa
(@rbarragan)
Posts: 6
Active Member
Topic starter
 

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!


 
Posted : 01 Mar 2016 11H26
babynus
(@babynus)
Posts: 14966
Main Contributor 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


 
Posted : 01 Mar 2016 13H03
 Rafa
(@rbarragan)
Posts: 6
Active Member
Topic starter
 

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!


 
Posted : 01 Mar 2016 14H12
Share:

Scroll to Top