Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Undefined variable $subscription_box Whoops\Exception\ErrorException thrown with message "Undefined variable $subscription_box" Stacktrace: #3 Whoops\Exception\ErrorException in /var/www/html/includes/body_header_variable.php:19 #2 Whoops\Run:handleError in /var/www/html/includes/body_header_variable.php:19 #1 include in /var/www/html/includes/body_header.php:2 #0 include in /var/www/html/history/index.php:15
Stack frames (4)
3
Whoops\Exception\ErrorException
/html/includes/body_header_variable.php:19
2
Whoops\Run handleError
/html/includes/body_header_variable.php:19
1
include
/html/includes/body_header.php:2
0
include
/html/history/index.php:15
/var/www/html/includes/body_header_variable.php
<?
    require_once('/var/www/html/includes/lib_common.php');
    require_once('/var/www/html/includes/lib_mysql.php');
    include('/var/www/html/includes/menu_variable.php');
 
    if (strpos(PHP_SELF, '/hdstore') === false) {
        if ($user->data['is_registered'] || strpos(PHP_SELF, '/hdstore') === true) {}
        else {
            $subscription_box .= '<div align="right" style="float:right; width:455px"><div class="important"><span class="corners-top"><span></span></span>'.
                '<div style="color:#800000; float:left; font-weight:bold; padding-top:4px">Free <a href="/daily.php" target="_blank">HDTV Magazine Daily</a>: </div>'.
                '<form name="frmSub" method="post" action="/profile-create.php"'.
                ' onsubmit="if (!isValidEmail(this.email_address)) {return false;} else {return true;}">'.
                    '<input type="hidden" name="action" value="create" />'.
                    '<input type="hidden" name="type" value="email_only" />'.
                    '<input type="text" name="email_address" class="inputText" style="width:15em;color:#777777" maxlength="255" value="email address"'.
                    ' onfocus="if (this.value == \'email address\') {this.value=\'\'; this.style.color = \'\';}" />'.
                    ' <input type="submit" class="inputButton" value="Subscribe" />'.
                '</form>'.
            '<span class="corners-bottom"><span></span></span></div></div>'."\n";
        }
 
        if ($user->data['is_registered']) {
            $login_string = 'Welcome, '. $user->data['username'] .'&nbsp;&nbsp;&bull;&nbsp;&nbsp;'.
            '<a href="'. BASE_URL .'/profile.php">Edit Profile</a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;'.
            '<a href="'. BASE_URL .'/logout.php?r='. rawurlencode($_SERVER['REQUEST_URI']) .'">Sign Out</a>';
            if (!access(ACCESS_PREMIUM)) $login_string .= '&nbsp;&nbsp;&bull;&nbsp;&nbsp;<a href="'. BASE_URL .'/subscribe.php">Subscribe</a>';
        } elseif ($_SERVER['PHP_SELF'] == '/forum/login.php') {
            $login_string = '(Not logged in)&nbsp;&nbsp;&bull;&nbsp;&nbsp;<a href="'. BASE_URL .'/profile-create.php">Register</a>';
        } else {
            $redirect = '../'. substr($_SERVER['REQUEST_URI'], 1);
            $login_string = '(Not logged in)&nbsp;&nbsp;<a href="'. FULL_URL_LOGIN .'?redirect='. $redirect .'">Sign In</a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;'.
            '<a href="'. FULL_URL_PROFILE_CREATE .'">Register</a>';
        }
 
        $login_string .= '&nbsp;&nbsp;&bull;&nbsp;&nbsp;<a href="'. BASE_URL .'/help/index.php">Help</a>';
    }
 
    $body_header_output = ''.
    '<div id="container">'."\n".
        '<div style="float:left;"><a href="'. BASE_URL .'/"><img src="'. BASE_IMG_URL .'/images/hdtvmagazine.gif" alt="HDTV Magazine" height="57" width="338"/></a></div>'.
/var/www/html/includes/body_header_variable.php
<?
    require_once('/var/www/html/includes/lib_common.php');
    require_once('/var/www/html/includes/lib_mysql.php');
    include('/var/www/html/includes/menu_variable.php');
 
    if (strpos(PHP_SELF, '/hdstore') === false) {
        if ($user->data['is_registered'] || strpos(PHP_SELF, '/hdstore') === true) {}
        else {
            $subscription_box .= '<div align="right" style="float:right; width:455px"><div class="important"><span class="corners-top"><span></span></span>'.
                '<div style="color:#800000; float:left; font-weight:bold; padding-top:4px">Free <a href="/daily.php" target="_blank">HDTV Magazine Daily</a>: </div>'.
                '<form name="frmSub" method="post" action="/profile-create.php"'.
                ' onsubmit="if (!isValidEmail(this.email_address)) {return false;} else {return true;}">'.
                    '<input type="hidden" name="action" value="create" />'.
                    '<input type="hidden" name="type" value="email_only" />'.
                    '<input type="text" name="email_address" class="inputText" style="width:15em;color:#777777" maxlength="255" value="email address"'.
                    ' onfocus="if (this.value == \'email address\') {this.value=\'\'; this.style.color = \'\';}" />'.
                    ' <input type="submit" class="inputButton" value="Subscribe" />'.
                '</form>'.
            '<span class="corners-bottom"><span></span></span></div></div>'."\n";
        }
 
        if ($user->data['is_registered']) {
            $login_string = 'Welcome, '. $user->data['username'] .'&nbsp;&nbsp;&bull;&nbsp;&nbsp;'.
            '<a href="'. BASE_URL .'/profile.php">Edit Profile</a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;'.
            '<a href="'. BASE_URL .'/logout.php?r='. rawurlencode($_SERVER['REQUEST_URI']) .'">Sign Out</a>';
            if (!access(ACCESS_PREMIUM)) $login_string .= '&nbsp;&nbsp;&bull;&nbsp;&nbsp;<a href="'. BASE_URL .'/subscribe.php">Subscribe</a>';
        } elseif ($_SERVER['PHP_SELF'] == '/forum/login.php') {
            $login_string = '(Not logged in)&nbsp;&nbsp;&bull;&nbsp;&nbsp;<a href="'. BASE_URL .'/profile-create.php">Register</a>';
        } else {
            $redirect = '../'. substr($_SERVER['REQUEST_URI'], 1);
            $login_string = '(Not logged in)&nbsp;&nbsp;<a href="'. FULL_URL_LOGIN .'?redirect='. $redirect .'">Sign In</a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;'.
            '<a href="'. FULL_URL_PROFILE_CREATE .'">Register</a>';
        }
 
        $login_string .= '&nbsp;&nbsp;&bull;&nbsp;&nbsp;<a href="'. BASE_URL .'/help/index.php">Help</a>';
    }
 
    $body_header_output = ''.
    '<div id="container">'."\n".
        '<div style="float:left;"><a href="'. BASE_URL .'/"><img src="'. BASE_IMG_URL .'/images/hdtvmagazine.gif" alt="HDTV Magazine" height="57" width="338"/></a></div>'.
/var/www/html/includes/body_header.php
<?
    include('body_header_variable.php');
    echo $body_header_output;
?>
/var/www/html/history/index.php
<?
    require('../global.php');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <?require(BASE_DIR .'/includes/common_header.php');?>
    <meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />
    <title>HDTV Magazine - History &amp; Interviews</title>
</head>
<body>
    <?
        include(BASE_DIR .'/includes/tracker.php');
        include(BASE_DIR .'/includes/body_header.php');
        include(BASE_DIR .'/ads/leaderboard.php');
    ?>
 
        <table class="bare" cellpadding="0" cellspacing="0" style="width:100%"><tr>
            <td style="vertical-align:top;padding-right:20px;">
            <h2>HDTV History &amp; Archives</h2>
                <table cellpadding="3" cellspacing="0">
                    <?
                        $qry = "SELECT entry_created_on, entry_title, entry_basename, author_name".
                        " FROM mt_entry e, mt_author a".
                        " WHERE".
                        "    e.entry_author_id = a.author_id".
                        "    AND entry_blog_id = 5 AND entry_status = 2".
                        "    ORDER BY entry_created_on DESC";
                        $result = mQuery($qry);
                        while ($entry = mysql_fetch_assoc($result)) {
                            $ts = strtotime($entry['entry_created_on']);
                            $y = date('Y', $ts);
                            $m = date('m', $ts);
                            echo '<tr>'.
//                                        '    <td class="entrydate" nowrap>'. date('M j, Y', $ts) .'</td>'.
                            '    <td><a href="'. URL_HISTORY_DIR .'/'. $y .'/'. $m .'/'. $entry['entry_basename'] .'.php">'. $entry['entry_title'] .'</a></td>'.
                            '</tr>';
                        }
                    ?>

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER apache
HOME /usr/share/httpd
SCRIPT_NAME /history/index.php
REQUEST_URI /history/index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 10780
SCRIPT_FILENAME /var/www/html/history/index.php
SERVER_ADMIN root@localhost
CONTEXT_DOCUMENT_ROOT /var/www/html
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /var/www/html
REMOTE_ADDR 172.70.127.128
SERVER_PORT 80
SERVER_ADDR 172.31.24.244
SERVER_NAME hdtvmagazine.com
SERVER_SOFTWARE Apache/2.4.65 (Amazon Linux)
SERVER_SIGNATURE
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_X_FORWARDED_PROTO http
HTTP_CF_VISITOR {"scheme":"http"}
HTTP_CF_IPCOUNTRY US
HTTP_CF_CONNECTING_IP 216.73.216.44
HTTP_CDN_LOOP cloudflare; loops=1
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_ACCEPT */*
HTTP_CONNECTION Keep-Alive
HTTP_CF_RAY 9bba7673899a4fa4-ORD
HTTP_X_FORWARDED_FOR 10.1.67.249,216.73.216.44
HTTP_CACHE_CONTROL max-age=259200
HTTP_VIA 1.1 squid-proxy-5b5d847c96-vtxsq (squid/6.13)
HTTP_ACCEPT_ENCODING gzip
HTTP_HOST hdtvmagazine.com
proxy-nokeepalive 1
UNIQUE_ID aWH_z9Y-JmyyUsPGg3ml1QAAAMI
FCGI_ROLE RESPONDER
PHP_SELF /history/index.php
REQUEST_TIME_FLOAT 1768030159.936
REQUEST_TIME 1768030159
MYSQL_DATABASE main
MYSQL_HOST localhost
MYSQL_PASSWORD DAylp-fRIBRuspa&+PReF!drOt1rlp*U&r2RotR?
MYSQL_USER hdtvweb
WHOOPS_ENABLED true
Key Value
MYSQL_DATABASE main
MYSQL_HOST localhost
MYSQL_PASSWORD DAylp-fRIBRuspa&+PReF!drOt1rlp*U&r2RotR?
MYSQL_USER hdtvweb
WHOOPS_ENABLED true
0. Whoops\Handler\PrettyPageHandler