This site can’t be reached

(please specify the website or account you are asking about)

Error Message

Check if there is a typo in

Other Information

I set up an email verification system. So far everything in the process works, the site can send email, and the links. However when it comes to clicking the link in the email, the error above shows – it cant access the verified.php that completes verification.

The message is simply:

$link = "".$vKey;
$mail->Body = "Your form has been verified. Please click this ".$link." to complete verification. Once done, you can now sign up using your email.";

This is basically what’s in it

if(isset($_GET[‘vKey’])) {
$vKey = $_GET[‘vKey’];
$sql = “UPDATE people SET isVerified = :one WHERE vKey = :vk LIMIT 1”;
$stmt = $db->prepare($sql);
$stmt->bindValue(“:one”,1, PDO::PARAM_INT);
$stmt->bindParam(“:vk”,$vKey, PDO::PARAM_STR);
else {
header(“Locaton: index.php”);

If i comment out the if-else block, I could see the website (the rest of the HTML). The vKey is accurate. What could possibly be wrong?

Simple, you have a 301 redirect to non existent website. It should be


God now I feel so damn stupid. Sorry and thank you :sneezing_face:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.