AnsweredAssumed Answered

PHP Warning:  session_destroy(): Trying to destroy uninitialized session in C:\\xampp\\htdocs\\Waaree\\modules\\Users\\authentication\\SugarAuthenticate\\SugarAuthenticate.php on line 317

Question asked by Nilofar Mulani on Oct 10, 2017
Latest reply on Oct 12, 2017 by sugar.dennis

Every time when i login it shows Blank page with URL as "http://dcom2:8021/company_name/index.php" and in apache error log it is say's as below

"PHP Warning:  session_destroy(): Trying to destroy uninitialized session in C:\\xampp\\htdocs\\Waaree\\modules\\Users\\authentication\\SugarAuthenticate\\SugarAuthenticate.php on line 317, referer: http://dcom2:8021/company_name/index.php?module=Home&action=index"

 

I am using SugarCRM Community edition 6.5.26 version and below is line where error appears.

 

SyntaxEditor Code Snippet

function logout(){                session_destroy();                ob_clean();                header('Location: index.php?module=Users&action=Login');                sugar_cleanup(true);      }

i have done so many R & D but no success
please help!

Thanks in Advance

Outcomes