'Web Server Says The Page Isn't Working And Won't Load Page

This is the entirety of the code that I have on this page. I've linked to the server connection, which works. Can't figure out what's wrong. Some input would be appreciated.

<?php
    session_start();
    require_once("account-management/db_connect.php");
    
    
        if (isset($_SESSION['user_lister_id']) && ($_SESSION['email'])) {
            echo '<section class="topnavbar">';
            echo '<div id="top-login">';
            echo '<a href="#">Listing Profile</a> / <a href="#">Account Settings</a> / <a href="#">Case Requests</a>';
            echo '</div>';
            echo '</section>';
        } else {
            echo '<section class="topnavbar">';
            echo '<div id="top-register">';
            echo '<a href="#">Client Register</a> / <a href="#">Lister Register</a>';
            echo '</div>';
            echo '<div id="top-login">';
            echo '<a href="#">Client Login</a> / <a href="#">Lister Login</a>';
            echo '</div>';
            echo '</section>';
        }
?>
            <section class="header-grid">
        <img src="../images/Logo.png" width="120" />
        <div id="ad-field">This content coming soon!</div>
</section>
php


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source