Domain not working after parking

subdomain gardencityproperty.in not working after parked to 000webhost

It is because of that code actually

 if( !isset($_SESSION['user']) ) {
  header("Location: index.php");
  exit;
 }

This tells the browser to redirect to the same page if no session is set.
Which is why you are stuck in a redirect loop.
I commented this code, all should be working now :slight_smile:

1 Like

Oh ok I did it for password authentication. Thank you

2 Likes