<!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" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>Chyrp: Database Error</title>
        <script src="http://patrickyan.net/thoughts/includes/lib/gz.php?file=jquery.js" type="text/javascript" charset="utf-8"></script>
        <style type="text/css">
            html, body, ul, ol, li,
            h1, h2, h3, h4, h5, h6,
            form, fieldset, a, p {
                margin: 0;
                padding: 0;
                border: 0;
            }
            html {
                font-size: 62.5%;
            }
            body {
                font: 1.25em/1.5em normal Verdana, Helvetica, Arial, sans-serif;
                color: #626262;
                background: #e8e8e8;
                padding: 0 0 5em;
            }
            .window {
                width: 30em;
                background: #fff;
                padding: 2em;
                margin: 5em auto 0;
                -webkit-border-radius: 2em;
                -moz-border-radius: 2em;
            }
            h1 {
                color: #ccc;
                font-size: 3em;
                margin: .25em 0 .5em;
                text-align: center;
            }
            h2 {
                font-size: 1.25em;
                margin: 1em 0 0;
            }
            code {
                color: #06B;
                font-family: Monaco, monospace;
            }
            ul, ol {
                margin: 1em 3em;
            }
            ol.backtrace {
                margin-top: .5em;
            }
            .footer {
                color: #777;
                margin-top: 1em;
                font-size: .9em;
                text-align: center;
            }
            .error {
                color: #F22;
                font-size: 12px;
            }
            a:link, a:visited {
                color: #6B0;
            }
            a:hover {
                text-decoration: underline;
            }
            a.big {
                background: #eee;
                margin-top: 2em;
                display: block;
                padding: .75em 1em;
                color: #777;
                text-shadow: #fff 1px 1px 0;
                font: 1em normal "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
                text-decoration: none;
                -webkit-border-radius: .5em;
                -moz-border-radius: .5em;
            }
            a.big:hover {
                background: #f5f5f5;
            }
            a.big:active {
                background: #e0e0e0;
            }
            a.big.back {
                -webkit-border-top-right-radius: 0 !important;
                -webkit-border-bottom-right-radius: 0 !important;
                width: 42%;
                float: left;
            }
            a.big.login {
                float: right;
                text-align: right;
                -webkit-border-top-left-radius: 0 !important;
                -webkit-border-bottom-left-radius: 0 !important;
                background: #f5f5f5;
                width: 42%;
            }
            .clear {
                clear: both;
            }
        </style>
        <script type="text/javascript" charset="utf-8">
            $(function(){
                $('<a class="big back" href="javascript:history.back()">&larr; Back</a>').insertBefore(".clear.last")
            })
        </script>
    </head>
    <body>
        <div class="window">
            <h1>Database Error</h1>
            <div class="message">
                Table './chyrp/sessions' is marked as crashed and last (automatic?) repair failed

<pre>SELECT sessions.data
FROM sessions
WHERE (sessions.id = '7fa9m927t76ij0v9ndo3miokc1')
ORDER BY sessions.id


<pre>Array
(
    [:id] => 7fa9m927t76ij0v9ndo3miokc1
)
</pre>

<pre>#0 /home/pat/public_html/thoughts/includes/class/SQL.php(204): Query->__construct(Object(SQL), 'SELECT sessions...', Array, false)
#1 /home/pat/public_html/thoughts/includes/class/SQL.php(241): SQL->query('SELECT __sessio...', Array, false)
#2 /home/pat/public_html/thoughts/includes/class/Session.php(38): SQL->select('sessions', 'data', Array, 'id')
#3 [internal function]: Session::read('7fa9m927t76ij0v...')
#4 /home/pat/public_html/thoughts/includes/helpers.php(29): session_start()
#5 /home/pat/public_html/thoughts/includes/common.php(255): session()
#6 /home/pat/public_html/thoughts/index.php(5): require_once('/home/pat/publi...')
#7 {main}</pre>                <div class="clear"></div>
                <a href="http://patrickyan.net/thoughts/login/" class="big login">Log In &rarr;</a>
                <div class="clear last"></div>
            </div>
        </div>
        <p class="footer">Chyrp 2.0 &copy; 2009 Alex Suraci</p>
    </body>
</html>
