View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Project selector not working - ProjeQtOr
 
 

[SOLVED] Project selector not working

More
03 Apr 2018 23:18 #1 by thargoid
Whenever I try to select a different project it has no effect.

For instance when I am on the projects page (logged in as admin). I can see a few projects (main and sub). When I select "all projects" or a different project, this has no effect.
I still see the same projects as before.
I tried debugging. I tried several versions of projeqtor. (6.5.7 and 7.0.2).
I started with an empty database and added two projects. (test1 and test2) And now I am not able to switch to test2.
From the "today" page I can jump to the settings off all projects. But the project page or activity page does not react to the project selection in the dropdown box.

Any suggestions what might be going on?
Thanks in advance.


Here is some logging when I try to switch from project test1 to all projects:

2018-04-03 23:11:36.368 ..... SCRIPT .... 145.132.84.69 =====/tool/saveDataToSession.php
2018-04-03 23:11:36.369 ..... SCRIPT .... 145.132.84.69 =====/view/shortcut.php
2018-04-03 23:11:36.374 ..... SCRIPT .... 145.132.84.69 Page=shortcut.php
2018-04-03 23:11:36.375 ..... SCRIPT .... 145.132.84.69 Page=saveDataToSession.php
2018-04-03 23:11:36.381 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=Audit #4)
2018-04-03 23:11:36.381 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=Audit #4)
2018-04-03 23:11:36.383 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=Audit #4)
2018-04-03 23:11:36.384 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=Audit #4)
2018-04-03 23:11:36.390 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=)
2018-04-03 23:11:36.411 ..... SCRIPT .... 145.132.84.69 Project(1)->getRecursiveSubProjectsFlatList(1,1)
2018-04-03 23:11:36.417 ..... SCRIPT .... 145.132.84.69 Project(1)->getRecursiveSubProjects(1)
2018-04-03 23:11:36.419 ..... SCRIPT .... 145.132.84.69 UserMain::getVisibleProjects(limitToActiveProjects=1)
2018-04-03 23:11:36.487 ..... SCRIPT .... 145.132.84.69 =====/tool/jsonQuery.php
2018-04-03 23:11:36.493 ..... SCRIPT .... 145.132.84.69 Page=jsonQuery.php
2018-04-03 23:11:36.500 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=Audit #4)
2018-04-03 23:11:36.500 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=Audit #4)
2018-04-03 23:11:36.503 ..... SCRIPT .... 145.132.84.69 ->/tool/jsonQuery.php
2018-04-03 23:11:36.505 ..... SCRIPT .... 145.132.84.69 securityGetAccessRight(menuName=menuProject, accessType=read, obj=, user=)
2018-04-03 23:11:36.505 ..... SCRIPT .... 145.132.84.69 getAccessControlRights(obj=)
2018-04-03 23:11:36.510 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=)
2018-04-03 23:11:36.513 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=)
2018-04-03 23:11:36.515 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=)
2018-04-03 23:11:36.515 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=)
2018-04-03 23:11:36.516 ..... SCRIPT .... 145.132.84.69 getProfile(objectOrIdProject=)
2018-04-03 23:11:36.517 ..... SCRIPT .... 145.132.84.69 securityGetAccessRight(menuName=menuProject, accessType=read, obj=, user=)
2018-04-03 23:11:36.518 ..... SCRIPT .... 145.132.84.69 getAccessControlRights(obj=)

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

More
04 Apr 2018 08:36 #2 by babynus
Hi,

Very strange.
This feature works like a charm on V6.5.7 and was not changed for long.
It was moved (so subject to issues) on V7.0 but I had training sessions with this version, without any issues pointed out by attendees.

First, please tell us the browser (and version) you are using.
Then, get back to debug level 2 to avoid many logs and test :
- any error in the log file ?
- any error in Apache error log file ?
- any error on browser console ?

If you could provide some screenshots, it may help.

Babynus
Administrator of ProjeQtOr web site

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

More
04 Apr 2018 20:31 #3 by thargoid
I setup projeqtor first on a local machine. And that worked perfect. (It still does). Now I want to deploy it on a shared hosted server. And there it does not work. I tried both 6.5.7 and 7.0.2, several php versions (I can select three different versions) and they all have the same issue.

Further debugging today pointed me towards the session. It appears the session information is not kept. The hosted server has a caching mechanism in place (varnish) perhaps that interferes somehow.

I don't think it is a projeqtor issue but a configuration issue on the server.

If I set the logging to a lower level then there are no errors present. (that is why I set it to a higher level to at least see something happening.
So my hypothesis is now that somehow the session is not stored and that the project selector is always taking the default setting.

But I am still logged in. Is that with a different mechanism or a second session?
Any ideas on debugging the session? or checking to see if caching is a factor here?

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

More
04 Apr 2018 22:07 #4 by thargoid
I solved it.
It was the session. I had to change the setting session.save_handler to files.
It was set to redis by default on the server.
I changed it by setting the following in a .htaccess file:
php_value session.save_handler files.

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

More
05 Apr 2018 00:10 #5 by babynus
Thanks for sharing the solution

Babynus
Administrator of ProjeQtOr web site

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

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