created Panels removed Circles
removed if statement

removed the if($result === false){
echo mysql_error();
}

then the redirect to admin worked.
moved file