Closed gharajedaghi closed 3 years ago
Make sure the test is in Running Mode. You can check the status of the test in the details section of test
@amir-gharajedaghi Can you turn on errors on your PHP and see if anything is there? Also, guide us through how you got this error
remove these line of code from dashboard.php and it will definetly gonna work....
session_start(); if($_SESSION['test_ongoing'] == "true"){ echo "Test Ongoing"; header("Location: quiz.php"); } else if(!isset($_SESSION['student_details'])){ echo "You are not logged in"; header("Location: ../index.php"); }