Unknown Weird Problem

Neither error message nor error log file created:

  1. More than one same name functions

 

 

Session variables are missing after redirection:

  1. Set save path of session cookie manually:

     

    $sessionPath = dirname(dirname(dirname(dirname(__FILE__)))) . '/tmp';
    //echo $sessionPath;
    //exit();
    ini_set('session.save_path',$sessionPath); 
    session_start();
  2. Add "exit()" after header('location:xxx.php')