Forum

[SOLVED] Session De...
 
Notifications
Retirer tout

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

7 Posts
4 Utilisateurs
0 Reactions
8,717 Vu
Sagar
(@sagar-toshniwal)
Posts: 72
Active Member
Début du sujet
 
[#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...

 
Posté : 26 Juil PM 13:077
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

I cannot reproduce.
Is it systematic ?

What browser on what OS do you use ?


 
Posté : 27 Juil PM 20:077
Sagar
(@sagar-toshniwal)
Posts: 72
Active Member
Début du sujet
 

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...

 
Posté : 2 Août PM 16:088
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 2 Août PM 17:088
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


 
Posté : 14 Sep PM 13:099
(@babynus)
Posts: 14952
Membre Admin
 

Issue should be fixed on V5.5.2.

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


 
Posté : 14 Sep PM 14:099
(@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); 

 
Posté : 15 Sep PM 13:099
Share:
Retour en haut