View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Login bug - Page 2 - ProjeQtOr
 
 

Login bug

More
28 Mar 2016 09:31 #7 by babynus
Replied by babynus on topic Login bug
Find attached projeqtor.php file with some debugging lines
unzip and copy it in /tool/ directory after renaming existant as projaqtor.php.ol (to be able to revert to non debuggin code)

Then set $debugLevel=3; in paramerters.php.
Run ProjeQtOr and post log files.

Thanks

Babynus
Administrator of ProjeQtOr web site
Attachments:

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

More
28 Mar 2016 10:30 #8 by babynus
Replied by babynus on topic Login bug

N247S wrote: I have send you the login information,
Good luck with testing & debuggin!

N247S

I received the login information,
but not the url ... ;)

Babynus
Administrator of ProjeQtOr web site

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

More
28 Mar 2016 12:04 #9 by N247S
Replied by N247S on topic Login bug
I might be a little bit stupid :P
I'll send you all the information this time :)

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

More
28 Mar 2016 13:53 - 28 Mar 2016 13:54 #10 by bosimo
Replied by bosimo on topic Login bug
Hello,

I made the debug, attached the log file.
To make it easy to follow :
  • First part : old data navigation
  • Second part : first login try after activating debug with no remember me option >> I didn't get logged in, I was back to login page
  • Third part : login after activating no remember me option >> I got an error message

Hope it helps.

Thanks & regards
Attachments:
Last edit: 28 Mar 2016 13:54 by bosimo.

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

More
28 Mar 2016 14:15 - 28 Mar 2016 14:15 #11 by babynus
Replied by babynus on topic Login bug
OK,
thanks for the log.
So there is nothing weird in the trace, login seems complete.
Only issue is my mistake : line 188 in projeqtor.php should be :
debugLog("projeqtor.php - Step09 - user found=#".getSessionUser()->id);
But this is an issue only for "remember me" reconnection.

But with login provided by N247S I could find something weird.
On his version, the filed isLoginPage is not submitted, although it exists in the form.
With same browser on my Dev install all is fine and this field is submitted.
Could you try this patch, just to test : in /view/js/projeqtor.js, line 2781, add last line as described here :
function connect(resetPassword) {
	showWait();
    dojo.byId('login').focus();
    dojo.byId('password').focus();
    changePassword=resetPassword;
    var urlCompl='';
    if (resetPassword) {
      urlCompl='?resetPassword=true';
    }
    urlCompl=((urlCompl=="")?'?':'&')+'isLoginPage=true'; // Patch (try) for looping connections
Then clean browser cache as test again.
It connection works, this is a good hint for me.
But it cannot be a workaround as it disables password change.

Babynus
Administrator of ProjeQtOr web site
Last edit: 28 Mar 2016 14:15 by babynus.

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

More
28 Mar 2016 14:39 #12 by bosimo
Replied by bosimo on topic Login bug
Hi,
I made the change on JS then tryied to connect : same problem > I can't logged in.
The login is done but the redirection to the home page not, it keeps me on the login page.
I tried login twice, you'll find the trace on the log attached.

The second file is an offline session of Dynatrace Application Monitoring which may help more for diagnostic as you'll find on it all transactions trace I made during last hour with : detailed transaction information data from user browser to database, passing through web server and PHP execution.
You need to download Dynatrace 6.2 client to be able to read this file : downloads.dynatrace.com/downloads/download.aspx?p=1&r=89
You may need to register first to get access.
Let me know if you need any help for accessing.

Thanks & regards
Attachments:

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

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