This question already has an answer here:
Warning: session_start(): open(/var/cpanel/php/sessions/ea-php56/sess_c84fdb91458e26c7325faf74a529a3, O_RDWR) failed: No such file or directory (2) in /home/username/public_html/test2.php on line 3
Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php56) in /home/username/public_html//test2.php on line 3
Notice: Undefined index: username in /home/username/public_html/test2.php on line 4
i used this code but add
(error_reporting(E_ALL);
ini_set('display_errors', 1);)
to above of test2.php
</div>