View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Exception after admin login - ProjeQtOr
 
 

Exception after admin login

More
21 May 2015 12:05 #1 by rojas11
I have one exception after the admin login.

thi is mi error log:

2015-05-21 11:02:42 ===== TRACE ===== NEW CONNECTED USER 'admin'
2015-05-21 11:02:42 ===== TRACE ===== 'user' is not an instance of User class. May be a hacking attempt from IP 10.0.0.159
2015-05-21 11:02:42 ===== TRACE ===== IP CLient=10.0.0.159
2015-05-21 11:02:42 ===== TRACE ===== $_REQUEST[id]=screenWidth
2015-05-21 11:02:42 ===== TRACE ===== $_REQUEST[value]=1440
2015-05-21 11:02:42 ***** ERROR ***** EXCEPTION *****
2015-05-21 11:02:42 ***** ERROR ***** on file '/opt/projeqtor/tool/projeqtor.php' at line (128)
2015-05-21 11:02:42 ***** ERROR ***** cause = Invalid access attempt
2015-05-21 11:02:42 ***** ERROR ***** => #0 /opt/projeqtor/tool/saveDataToSession.php (30) -> require_once()
2015-05-21 11:02:42 ===== TRACE ===== 'user' is not an instance of User class. May be a hacking attempt from IP 10.0.0.159
2015-05-21 11:02:42 ===== TRACE ===== IP CLient=10.0.0.159
2015-05-21 11:02:42 ===== TRACE ===== $_REQUEST[id]=screenHeight
2015-05-21 11:02:42 ===== TRACE ===== $_REQUEST[value]=900
2015-05-21 11:02:42 ***** ERROR ***** EXCEPTION *****
2015-05-21 11:02:42 ***** ERROR ***** on file '/opt/projeqtor/tool/projeqtor.php' at line (128)
2015-05-21 11:02:42 ***** ERROR ***** cause = Invalid access attempt
2015-05-21 11:02:42 ***** ERROR ***** => #0 /opt/projeqtor/tool/saveDataToSession.php (30) -> require_once()
2015-05-21 11:02:42 ===== TRACE ===== 'user' is not an instance of User class. May be a hacking attempt from IP 10.0.0.159
2015-05-21 11:02:42 ===== TRACE ===== IP CLient=10.0.0.159
2015-05-21 11:02:42 ***** ERROR ***** EXCEPTION *****
2015-05-21 11:02:42 ***** ERROR ***** on file '/opt/projeqtor/tool/projeqtor.php' at line (128)
2015-05-21 11:02:42 ***** ERROR ***** cause = Invalid access attempt
2015-05-21 11:02:42 ***** ERROR ***** => #0 /opt/projeqtor/view/main.php (36) -> require_once()

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

More
21 May 2015 12:32 #2 by rojas11
Replied by rojas11 on topic Exception after admin login
clean browser cache: done

stop an restart PHP server: done

delete sessions files from /var/lib/php/sessions: done

but the problem still

Please help

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

More
21 May 2015 15:47 #3 by babynus
Replied by babynus on topic Exception after admin login
Issue in linked to another application you are also logged in, on same server.

The message you get : 'user' is not an instance of User class.
is because the other application also uses $_SESSION variable to store some connection information, but not on same format as PrpjeQtOr.
So you must be sure to clean the session

What you did is very good and should have solved the issue (as it does on 90% of cases)
What is possible is that session is not completely cleared.
For instance, the browser can keep things. If you use Chrome, take care to kill all Chrome prcesses (closing browser is not enough)

Best way to test is to use another browser you did not use to connect ot naother application.

For information, on V5 there will be a workaround to avoid this issue.

Babynus
Administrator of ProjeQtOr web site

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

More
21 May 2015 18:50 #4 by rojas11
Replied by rojas11 on topic Exception after admin login
I solved the problem. :woohoo:

The cause was in php.ini
session.auto_start was 'on', my solution was edit my php.ini file and change 'session.auto_start=1' to 'session.auto_start=0';

Thanks for the help.
The following user(s) said Thank You: babynus

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

More
21 May 2015 18:58 #5 by babynus
Replied by babynus on topic Exception after admin login
Thank you for sharing your solution.

It may be good help for other users ;)

Babynus
Administrator of ProjeQtOr web site

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.