Friday, 16 September 2016

php - Syntax Error: Unexpected "&lt" on Line 1

Not sure why it's doing this, but I'm getting the following syntax error: "Unexpected "<" on Line1".



I can't seem to find out what is the problem, I've already tried troubleshooting the problem earlier before posting this.



Here's my code:



include($_SERVER["DOCUMENT_ROOT"].'/admin/classes/classes.php');        // Include local class lib


$sess = new SessionData(); // Creates session object
//$sess->CheckValidFBSession();

if($sess->CheckValidSession()){
header('Location: home.php');
}

$log= new log($_SERVER["PHP_SELF"], $_GET, $_POST, $_SERVER['HTTP_REFERER'] );
$stats=new Statistics();

$totalusers=$stats->totalscope();

?>







Kuarrel | Welcome to Kuarrel!










































Register  



if(!$sess->CheckValidSession()){

include('modules/default/topnav.php');
}else{
include('modules/loggedin/topnav.php');
}
?>
 









if(!$sess->CheckValidSession()){
include('modules/default/leftnav.php');
}else{
include('modules/loggedin/leftnav.php');
}

?>





Welcome to Kaurrel!

[ Welcome to Kaurell ]
 


"Facebook login has been disabled for today, please try again tomorrow.

Kaurell is an online directory that connects people from Facebook through social networks at colleges.

We have opened up Kaurell for popular consumption at all colleges and universities. If you are not part of a college or university, you will be added to the default Kaurell network.

Your account is limited to your own college or university.

You can use Kaurell to:

   Search for people at your school

   Find out who are in your classes

   Look up your friends' friends

   See a visualization of your social network

To get started, click below to register with your Facebook account.





2){
echo "".$_SESSION['notpartofacollege']."";
}
?>

  

 















Thanks to anyone who can figure out what's going on here!

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...