SezerX adlı üyeden alıntı: mesajı görüntüle
echo window.location yerine
header("location:index.php");
denesen?
ek olarak üyeler tablosunda ne kadar üye var?
public function login($mail,$pass)
    {
       try
       {
          $bjk = $this->db->prepare("SELECT * FROM users WHERE uye_eposta=:mail LIMIT 1");
          $bjk->execute(array(:mail'=>$mail));
          $userRow=$stmt->fetch(PDO::FETCH_ASSOC);
          if($bjk->rowCount() > 0)
          {
             if(password_verify($pass, $userRow['uye_sifre']))
             {
                $_SESSION['uye_id'] = $userRow['uye_id'];
                $_SESSION['uye_kadi'] = $userRow['uye_kadi'];
                header('Location: http://www.besiktas.com/');
                exit;
             }
             else
             {
                return false;
             }
          }
       }
       catch(PDOException $e)
       {
           echo $e->getMessage();
       }
   }
 
Dene istersen bi