diff --git a/lib/banana-admin.php b/lib/banana-admin.php
index 9c264aecc28077202b8e70058547fb93e33fbfbd..41278c1f7d3ab045d996c336118a9e9f6a47deab 100644
--- a/lib/banana-admin.php
+++ b/lib/banana-admin.php
@@ -26,7 +26,7 @@ if (isset($session->groups[$permission])) {
 			$DB->Query("INSERT INTO awards (username, score, whn, who, why) VALUES (?,?,NOW(),?,?)", array($who, $number, $session->username, $why));
 			header("Location: " . $_SERVER['PHP_SELF']); 
 		} else {
-			$smarty->assign("errormsg","No reason entered for the awarding of bananas.");
+			trigger_error("No reason entered for the awarding of bananas.", E_USER_WARNING);
 		}	
 	}
 } elseif ($session->loggedin) {
diff --git a/lib/session.php b/lib/session.php
index 61b92fe23ba308e9f9644aadc7939dbc359a569b..631e48f428f3924051b4ff751932c687d5d5d937 100644
--- a/lib/session.php
+++ b/lib/session.php
@@ -117,7 +117,7 @@ private $datahash='';		// hash of data field
 		$oldsess=$DB->GetAll("select * from {$this->table} where hash=?", array($this->token));
 
 		if (!$oldsess || count($oldsess) < 1) {
-			$this->errormsg="Session timed out";
+			trigger_error("Session timed out", E_USER_NOTICE);
 			$this->newsession();
 			return;
 		}
@@ -133,7 +133,7 @@ private $datahash='';		// hash of data field
 		if ($detail['username']) {
 			// Are we using HTTPS?
 			if (!isset($_SERVER['HTTPS'])) {
-				$this->errormsg = "Insecure Connection";
+				trigger_error("Insecure Connection", E_USER_NOTICE);
 				$this->loggedin = FALSE;
 				return;
 			}
@@ -192,7 +192,7 @@ private $datahash='';		// hash of data field
 	private function fetch_detail( $user )
 	{
 		if (!($ldap = @ldap_connect("ldap://localhost"))) {
-			$this->errormsg="LDAP connect failed";
+			trigger_error("LDAP connect failed", E_USER_ERROR);
 			return FALSE;
 		}
 		$info = $this->ldap_getuser($ldap, $user);
@@ -242,17 +242,17 @@ private $datahash='';		// hash of data field
 	{
 		// publically bind to find user
 		if (!($bind=@ldap_bind($ldap, "", ""))) {
-			$this->errormsg="LDAP bind failed";
+			trigger_error("LDAP bind failed", E_USER_ERROR);
 			return NULL;
 		}
 		// find the user
 		if (!($search=@ldap_search($ldap, "dc=sucs,dc=org", "(&(uid=$user))"))) {
-			$this->errormsg="LDAP search fail";
+			trigger_error("LDAP search fail", E_USER_ERROR);
 			return NULL;
 		}
 		$n = ldap_count_entries($ldap, $search);
 		if ($n < 1) {
-			$this->errormsg = "Username or Password Incorrect";
+			trigger_error("Username or Password Incorrect", E_USER_WARNING);
 			return NULL;
 		}
 		$info = ldap_get_entries($ldap, $search);
@@ -274,7 +274,7 @@ private $datahash='';		// hash of data field
 	{
 		// Open connection
 		if (!($ldap = @ldap_connect("ldap://localhost"))) {
-			$this->errormsg="LDAP connect failed";
+			trigger_error("LDAP connect failed", E_USER_ERROR);
 			return FALSE;
 		}
 		$info = $this->ldap_getuser($ldap, $user);
@@ -284,7 +284,7 @@ private $datahash='';		// hash of data field
 
 		ldap_close($ldap);
 		if ($real) return TRUE;
-		$this->errormsg="Username or Password Incorrect";
+		trigger_error("Username or Password Incorrect", E_USER_WARNING);
 		return FALSE;
 
 	}
@@ -297,7 +297,7 @@ private $datahash='';		// hash of data field
 		// This prevents replay attacks
 		$sess = $DB->GetAll("select * from {$this->table} where hash=? and username is NULL", array($this->token));
 		if (!$sess || count($sess)<1) {
-			$this->errormsg = "Invalid session, login again.";
+			trigger_error("Invalid session, login again.", E_USER_WARNING);
 			return;
 		}
 
diff --git a/templates/banana-award.tpl b/templates/banana-award.tpl
index 65cb6aaa2d2aecc60c762657f990aeeb55efcbce..befb7e3f2fcbb9eae749b3e210f66d4d42cfb29e 100644
--- a/templates/banana-award.tpl
+++ b/templates/banana-award.tpl
@@ -1,12 +1,5 @@
 {* Banana awarding widget *}
 
-{if $errormsg}
-	<div class="errorbar">
-	<div><div><div>
-	Error: {$errormsg}
-	</div></div></div>
-	</div>
-{/if}
 <div class="cbb">
 {if $awarded == true}
 	<h3>Nomination Received</h3>
diff --git a/templates/index.tpl b/templates/index.tpl
index 6f417257246cb6f9f9a0867fee8fb397818f562e..cd4ce5a120eea298e9d733c2261ba996b0b1af69 100644
--- a/templates/index.tpl
+++ b/templates/index.tpl
@@ -1,10 +1,3 @@
-{if $session->errormsg}
-	<div class="errorbar">
-		<div><div><div>
-			Session: {$session->errormsg}
-		</div></div></div>
-	</div>
-{/if}
 
 {if $secondary}
 <div id="primary">
diff --git a/templates/pastebin.tpl b/templates/pastebin.tpl
index 7812c7e0fcdd0de5211d9b6442bcb7608056b129..aed75f6720f30d40c56d5f809d1437607271553c 100644
--- a/templates/pastebin.tpl
+++ b/templates/pastebin.tpl
@@ -1,8 +1,4 @@
-{if !empty($error) }
-{foreach name=error from=$error item=errorMessage}
-	<p>{$errorMessage}</p>
-{/foreach}
-{elseif isset($userInfo)}
+{if isset($userInfo)}
 	<div id="userInfo">
 		<h3> {$userInfo}</h3>
 		<a href="{$uri}{$id}">{$uri}{$id}</a>