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] Session De...
 
Notifications
Clear all

[SOLVED] Session Destroy giving error on first click, later on it works fine in Audit.php

7 Posts
4 Users
0 Reactions
8,729 Views
Sagar
(@sagar-toshniwal)
Posts: 72
Active Member
Topic starter
 
[#3547]

In v 5.4.2, when I click on "Disconnect" (Log Off) button, it throws below error for the first click. On second click, it works fine. Googling does not give satisfactory results specific to our tool, so what can be done to address this?

2016-07-26 14:24:49.434 ** ERROR ** on file 'C:wampwwwprojeqtorV5.4.2modelAudit.php' at line (214)
2016-07-26 14:24:49.434 ** ERROR ** cause = session_destroy(): Session object destruction failed

The line #214 under question is as follows:

213		  try {
214			  @session_destroy ();
215		  } catch ( Exception $e ) {
216			  // tried twice : OK let's give up.
217		  }

I am an Eagle. On a mission to help those who want to help themselves...

 
Posted : 26 Jul 2016 13H09
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

I cannot reproduce.
Is it systematic ?

What browser on what OS do you use ?


 
Posted : 27 Jul 2016 20H43
Sagar
(@sagar-toshniwal)
Posts: 72
Active Member
Topic starter
 

Even I could not reproduce. :angry: :ohmy:

I am using IE11 on Win 8.1. I know this is a stone-age configuration but I can't do anything as it is my work laptop. 🙂


I am an Eagle. On a mission to help those who want to help themselves...

 
Posted : 02 Aug 2016 16H20
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

IE11 on Win 8.1. I know this is a stone-age configuration

Some are still working with IE8 / Win7 :silly:

Even I could not reproduce

So let's forget about it unless your reproduce.


 
Posted : 02 Aug 2016 17H46
ash
 ash
(@ashofphoenix)
Posts: 140
Active Member
 

Same pb here ! 🙂

2016-09-14 11:19:01.853 ** ERROR ** ERROR **
2016-09-14 11:19:01.862
** ERROR ** on file 'D:IntranethtdocsprojeqtormodelAudit.php' at line (219)
2016-09-14 11:19:01.871
** ERROR ***** cause = session_destroy(): Session object destruction failed

WIN7/64b - Apache 2.4 / PHP7.0 / Firefox 48.0.2 / Projeqtor 5.5.1

http://www.projeqtor.org/fr/forum-fr/5-ask-questions/7668-session-destroy-giving-error


 
Posted : 14 Sep 2016 13H27
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Issue should be fixed on V5.5.2.

NB : please do not post on [SOLVED] item.


 
Posted : 14 Sep 2016 14H02
(@abenzakour)
Posts: 2
New Member
 

To fix it without updating :

Go to this file : D:IntranethtdocsprojeqtormodelAudit.php

and replace the ( line 219 )

@session_destroy(); 

by :

 unset($_SESSION); 

 
Posted : 15 Sep 2016 13H42
Share:

Scroll to Top