▼

# ApplicationException

An error occured while executing error-presenter

## Source file ▼

File: /domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Application.php Line: 171

    Line 164:
    Line 165:                    if (!$this->catchExceptions) {
    Line 166:                        $this->onShutdown($this, $e);
    Line 167:                        throw $e;
    Line 168:                    }
    Line 169:
    Line 170:                    if ($repeatedError) {
    Line 171:                        $e = new ApplicationException('An error occured while executing error-presenter', 0, $e);
    Line 172:                    }
    Line 173:
    Line 174:                    if (!$httpResponse->isSent()) {
    Line 175:                        $httpResponse->setCode($e instanceof BadRequestException ? $e->getCode() : 500);
    Line 176:                    }
    Line 177:
    Line 178:                    if (!$repeatedError && $this->errorPresenter) {

## Call stack ▼

1. app/bootstrap.php (75) source ► Application-> run ()

       Line 68:        'action' => 'default',
       Line 69:        'id' => NULL,
       Line 70:    ));
       Line 71:
       Line 72:    dibi::connect(Environment::getConfig('database'));
       Line 73:
       Line 74:    // Step 5: Run the application!
       Line 75:    $application->run();
       Line 76:

2. web/index.php (13) source ► require (arguments ►)

   #0 |
       string(63) "/domains1/do1820800/public/www_root/liveclass/app/bootstrap.php"

       Line  6:    // absolute filesystem path to the application root
       Line  7:    define('APP_DIR', WWW_DIR . '/../app');
       Line  8:
       Line  9:    // absolute filesystem path to the libraries
       Line 10:    define('LIBS_DIR', WWW_DIR . '/../libs');
       Line 11:
       Line 12:    // load bootstrap file
       Line 13:    require APP_DIR . '/bootstrap.php';
       Line 14:

## Caused by ▼

# InvalidStateException

Call to undefined block 'content'.

## Source file ▼

File: /domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/Filters/LatteMacros.php Line: 797

    Line 790:         * @param  string
    Line 791:         * @param  array
    Line 792:         * @return void
    Line 793:         */
    Line 794:        public static function callBlock(& $blocks, $name, $params)
    Line 795:        {
    Line 796:            if (empty($blocks[$name])) {
    Line 797:                throw new InvalidStateException("Call to undefined block '$name'.");
    Line 798:            }
    Line 799:            $block = reset($blocks[$name]);
    Line 800:            $block($params);
    Line 801:        }
    Line 802:
    Line 803:
    Line 804:

## Call stack ▼

1. c-Nette.Template/_0c6837bde9ddcea306562f102b248168.%40layout.phtml.php (31) source ► LatteMacros:: callBlock (arguments ►)

   $blocks |
       NULL
   $name |
       string(7) "content"
   $params |
       array(10) ► {
          "component" => object(ErrorPresenter) (29) ► {
             "onShutdown" => NULL
             "oldLayoutMode" => bool(TRUE)
             "oldModuleMode" => bool(TRUE)
             "request" private => object(PresenterRequest) (7) ► {
                "method" private => string(7) "FORWARD"
                "flags" private => array(0)
                "name" private => string(5) "Error"
                "params" private => array(1) {
                   ...
                }
                "post" private => array(0)
                "files" private => array(0)
                "frozen" private => bool(TRUE)
             }
             "response" private => object(RenderResponse) (1) ▼ {
                "source" private => object(Template) (7) {
                   ...
                }
             }
             "phase" private => int(5)
             "autoCanonicalize" => bool(TRUE)
             "absoluteUrls" => bool(FALSE)
             "globalParams" private => array(0)
             "globalState" private => array(0)
             "globalStateSinces" private => array(0)
             "action" private => string(7) "default"
             "view" private => string(3) "404"
             "layout" private => NULL
             "payload" private => object(stdClass) (0) {}
             "signalReceiver" private => string(0) ""
             "signal" private => NULL
             "ajaxMode" private => bool(FALSE)
             "startupCheck" private => bool(TRUE)
             "lastCreatedRequest" private => NULL
             "lastCreatedRequestFlag" private => NULL
             "template" private => object(Template) (7) ► {
                "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
                "warnOnUndefined" => bool(TRUE)
                "onPrepareFilters" => array(1) {
                   ...
                }
                "params" private => array(9) {
                   ...
                }
                "filters" private => array(1) {
                   ...
                }
                "helpers" private => array(8) {
                   ...
                }
                "helperLoaders" private => array(1) {
                   ...
                }
             }
             "invalidSnippets" private => array(0)
             "params" protected => array(1) ▼ {
                "exception" => object(BadRequestException) (8) {
                   ...
                }
             }
             "components" private => array(0)
             "cloning" private => NULL
             "parent" private => NULL
             "name" private => string(5) "Error"
             "monitors" private => array(1) ▼ {
                "Presenter" => array(4) {
                   ...
                }
             }
          }
          "control" => object(ErrorPresenter) (29) ► {
             "onShutdown" => NULL
             "oldLayoutMode" => bool(TRUE)
             "oldModuleMode" => bool(TRUE)
             "request" private => object(PresenterRequest) (7) ► {
                "method" private => string(7) "FORWARD"
                "flags" private => array(0)
                "name" private => string(5) "Error"
                "params" private => array(1) {
                   ...
                }
                "post" private => array(0)
                "files" private => array(0)
                "frozen" private => bool(TRUE)
             }
             "response" private => object(RenderResponse) (1) ▼ {
                "source" private => object(Template) (7) {
                   ...
                }
             }
             "phase" private => int(5)
             "autoCanonicalize" => bool(TRUE)
             "absoluteUrls" => bool(FALSE)
             "globalParams" private => array(0)
             "globalState" private => array(0)
             "globalStateSinces" private => array(0)
             "action" private => string(7) "default"
             "view" private => string(3) "404"
             "layout" private => NULL
             "payload" private => object(stdClass) (0) {}
             "signalReceiver" private => string(0) ""
             "signal" private => NULL
             "ajaxMode" private => bool(FALSE)
             "startupCheck" private => bool(TRUE)
             "lastCreatedRequest" private => NULL
             "lastCreatedRequestFlag" private => NULL
             "template" private => object(Template) (7) ► {
                "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
                "warnOnUndefined" => bool(TRUE)
                "onPrepareFilters" => array(1) {
                   ...
                }
                "params" private => array(9) {
                   ...
                }
                "filters" private => array(1) {
                   ...
                }
                "helpers" private => array(8) {
                   ...
                }
                "helperLoaders" private => array(1) {
                   ...
                }
             }
             "invalidSnippets" private => array(0)
             "params" protected => array(1) ▼ {
                "exception" => object(BadRequestException) (8) {
                   ...
                }
             }
             "components" private => array(0)
             "cloning" private => NULL
             "parent" private => NULL
             "name" private => string(5) "Error"
             "monitors" private => array(1) ▼ {
                "Presenter" => array(4) {
                   ...
                }
             }
          }
          "presenter" => object(ErrorPresenter) (29) ► {
             "onShutdown" => NULL
             "oldLayoutMode" => bool(TRUE)
             "oldModuleMode" => bool(TRUE)
             "request" private => object(PresenterRequest) (7) ► {
                "method" private => string(7) "FORWARD"
                "flags" private => array(0)
                "name" private => string(5) "Error"
                "params" private => array(1) {
                   ...
                }
                "post" private => array(0)
                "files" private => array(0)
                "frozen" private => bool(TRUE)
             }
             "response" private => object(RenderResponse) (1) ▼ {
                "source" private => object(Template) (7) {
                   ...
                }
             }
             "phase" private => int(5)
             "autoCanonicalize" => bool(TRUE)
             "absoluteUrls" => bool(FALSE)
             "globalParams" private => array(0)
             "globalState" private => array(0)
             "globalStateSinces" private => array(0)
             "action" private => string(7) "default"
             "view" private => string(3) "404"
             "layout" private => NULL
             "payload" private => object(stdClass) (0) {}
             "signalReceiver" private => string(0) ""
             "signal" private => NULL
             "ajaxMode" private => bool(FALSE)
             "startupCheck" private => bool(TRUE)
             "lastCreatedRequest" private => NULL
             "lastCreatedRequestFlag" private => NULL
             "template" private => object(Template) (7) ► {
                "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
                "warnOnUndefined" => bool(TRUE)
                "onPrepareFilters" => array(1) {
                   ...
                }
                "params" private => array(9) {
                   ...
                }
                "filters" private => array(1) {
                   ...
                }
                "helpers" private => array(8) {
                   ...
                }
                "helperLoaders" private => array(1) {
                   ...
                }
             }
             "invalidSnippets" private => array(0)
             "params" protected => array(1) ▼ {
                "exception" => object(BadRequestException) (8) {
                   ...
                }
             }
             "components" private => array(0)
             "cloning" private => NULL
             "parent" private => NULL
             "name" private => string(5) "Error"
             "monitors" private => array(1) ▼ {
                "Presenter" => array(4) {
                   ...
                }
             }
          }
          "baseUri" => string(15) "/liveclass/web/"
          "basePath" => string(14) "/liveclass/web"
          "flashes" => array(0)
          "layout" => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
          "content" => object(Template) (7) ► {
             "file" private => string(82) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates/Error/404.phtml"
             "warnOnUndefined" => bool(TRUE)
             "onPrepareFilters" => array(1) ▼ {
                0 => array(2) {
                   ...
                }
             }
             "params" private => array(7) ► {
                "component" => object(ErrorPresenter) (29) {
                   ...
                }
                "control" => object(ErrorPresenter) (29) {
                   ...
                }
                "presenter" => object(ErrorPresenter) (29) {
                   ...
                }
                "baseUri" => string(15) "/liveclass/web/"
                "basePath" => string(14) "/liveclass/web"
                "flashes" => array(0)
                "layout" => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
             }
             "filters" private => array(0)
             "helpers" private => array(8) ► {
                "escape" => object(Callback) (1) {
                   ...
                }
                "escapeurl" => object(Callback) (1) {
                   ...
                }
                "striptags" => object(Callback) (1) {
                   ...
                }
                "nl2br" => object(Callback) (1) {
                   ...
                }
                "substr" => object(Callback) (1) {
                   ...
                }
                "repeat" => object(Callback) (1) {
                   ...
                }
                "implode" => object(Callback) (1) {
                   ...
                }
                "number" => object(Callback) (1) {
                   ...
                }
             }
             "helperLoaders" private => array(1) ▼ {
                0 => object(Callback) (1) {
                   ...
                }
             }
          }
          "template" => object(Template) (7) ► {
             "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
             "warnOnUndefined" => bool(TRUE)
             "onPrepareFilters" => array(1) ▼ {
                0 => array(2) {
                   ...
                }
             }
             "params" private => array(9) ► {
                "component" => object(ErrorPresenter) (29) {
                   ...
                }
                "control" => object(ErrorPresenter) (29) {
                   ...
                }
                "presenter" => object(ErrorPresenter) (29) {
                   ...
                }
                "baseUri" => string(15) "/liveclass/web/"
                "basePath" => string(14) "/liveclass/web"
                "flashes" => array(0)
                "layout" => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
                "content" => object(Template) (7) {
                   ...
                }
                "template" => object(Template) (7) {
                   *RECURSION*
                }
             }
             "filters" private => array(1) ▼ {
                0 => object(Callback) (1) {
                   ...
                }
             }
             "helpers" private => array(8) ► {
                "escape" => object(Callback) (1) {
                   ...
                }
                "escapeurl" => object(Callback) (1) {
                   ...
                }
                "striptags" => object(Callback) (1) {
                   ...
                }
                "nl2br" => object(Callback) (1) {
                   ...
                }
                "substr" => object(Callback) (1) {
                   ...
                }
                "repeat" => object(Callback) (1) {
                   ...
                }
                "implode" => object(Callback) (1) {
                   ...
                }
                "number" => object(Callback) (1) {
                   ...
                }
             }
             "helperLoaders" private => array(1) ▼ {
                0 => object(Callback) (1) {
                   ...
                }
             }
          }
          "_cb" => object(stdClass) (3) ▼ {
             "templates" => array(1) ▼ {
                "71b4353e43" => object(Template) (7) {
                   ...
                }
             }
             "extends" => bool(FALSE)
             "blocks" => NULL
          }
       }

       Line 24:        <script type="text/javascript" src="<?php echo TemplateHelpers::escapeHtml($basePath) ?>/js/skript.js"></script>
       Line 25:
       Line 26:    </head>
       Line 27:
       Line 28:    <body>
       Line 29:        <h1>LiveClass visualization</h1>
       Line 30:    <?php LatteMacros::callBlock($_cb->blocks, 'content', get_defined_vars()) ?>
       Line 31:    <br />
       Line 32:    <p>
       Line 33:    Inline Sparkline: <span class="inlinesparkline">1,4,4,7,5,9,10</span>.
       Line 34:    </p>
       Line 35:    <p>
       Line 36:    Sparkline with dynamic data: <span class="dynamicsparkline">Loading..</span>
       Line 37:    </p>
       Line 38:    <p>

2. Loaders/LimitedScope.php (64) source ► include (arguments ►)

   #0 |
       string(125) "/domains1/do1820800/public/www_root/liveclass/app/temp/c-Nette.Template/_0c6837bde9ddcea306562f102b248168.%40layout.phtml.php"

       Line 57:         */
       Line 58:        public static function load(/*$file, array $vars = NULL*/)
       Line 59:        {
       Line 60:            if (func_num_args() > 1) {
       Line 61:                self::$vars = func_get_arg(1);
       Line 62:                extract(self::$vars);
       Line 63:            }
       Line 64:            return include func_get_arg(0);
       Line 65:        }
       Line 66:
       Line 67:    }

3. Templates/Template.php (124) source ► LimitedScope:: load (arguments ►)

   #0 |
       string(132) "/domains1/do1820800/public/www_root/liveclass/web/../app/temp/c-Nette.Template/_0c6837bde9ddcea306562f102b248168.%40layout.phtml.php"
   #1 |
       array(9) ► {
          "component" => object(ErrorPresenter) (29) ► {
             "onShutdown" => NULL
             "oldLayoutMode" => bool(TRUE)
             "oldModuleMode" => bool(TRUE)
             "request" private => object(PresenterRequest) (7) ► {
                "method" private => string(7) "FORWARD"
                "flags" private => array(0)
                "name" private => string(5) "Error"
                "params" private => array(1) {
                   ...
                }
                "post" private => array(0)
                "files" private => array(0)
                "frozen" private => bool(TRUE)
             }
             "response" private => object(RenderResponse) (1) ▼ {
                "source" private => object(Template) (7) {
                   ...
                }
             }
             "phase" private => int(5)
             "autoCanonicalize" => bool(TRUE)
             "absoluteUrls" => bool(FALSE)
             "globalParams" private => array(0)
             "globalState" private => array(0)
             "globalStateSinces" private => array(0)
             "action" private => string(7) "default"
             "view" private => string(3) "404"
             "layout" private => NULL
             "payload" private => object(stdClass) (0) {}
             "signalReceiver" private => string(0) ""
             "signal" private => NULL
             "ajaxMode" private => bool(FALSE)
             "startupCheck" private => bool(TRUE)
             "lastCreatedRequest" private => NULL
             "lastCreatedRequestFlag" private => NULL
             "template" private => object(Template) (7) ► {
                "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
                "warnOnUndefined" => bool(TRUE)
                "onPrepareFilters" => array(1) {
                   ...
                }
                "params" private => array(9) {
                   ...
                }
                "filters" private => array(1) {
                   ...
                }
                "helpers" private => array(8) {
                   ...
                }
                "helperLoaders" private => array(1) {
                   ...
                }
             }
             "invalidSnippets" private => array(0)
             "params" protected => array(1) ▼ {
                "exception" => object(BadRequestException) (8) {
                   ...
                }
             }
             "components" private => array(0)
             "cloning" private => NULL
             "parent" private => NULL
             "name" private => string(5) "Error"
             "monitors" private => array(1) ▼ {
                "Presenter" => array(4) {
                   ...
                }
             }
          }
          "control" => object(ErrorPresenter) (29) ► {
             "onShutdown" => NULL
             "oldLayoutMode" => bool(TRUE)
             "oldModuleMode" => bool(TRUE)
             "request" private => object(PresenterRequest) (7) ► {
                "method" private => string(7) "FORWARD"
                "flags" private => array(0)
                "name" private => string(5) "Error"
                "params" private => array(1) {
                   ...
                }
                "post" private => array(0)
                "files" private => array(0)
                "frozen" private => bool(TRUE)
             }
             "response" private => object(RenderResponse) (1) ▼ {
                "source" private => object(Template) (7) {
                   ...
                }
             }
             "phase" private => int(5)
             "autoCanonicalize" => bool(TRUE)
             "absoluteUrls" => bool(FALSE)
             "globalParams" private => array(0)
             "globalState" private => array(0)
             "globalStateSinces" private => array(0)
             "action" private => string(7) "default"
             "view" private => string(3) "404"
             "layout" private => NULL
             "payload" private => object(stdClass) (0) {}
             "signalReceiver" private => string(0) ""
             "signal" private => NULL
             "ajaxMode" private => bool(FALSE)
             "startupCheck" private => bool(TRUE)
             "lastCreatedRequest" private => NULL
             "lastCreatedRequestFlag" private => NULL
             "template" private => object(Template) (7) ► {
                "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
                "warnOnUndefined" => bool(TRUE)
                "onPrepareFilters" => array(1) {
                   ...
                }
                "params" private => array(9) {
                   ...
                }
                "filters" private => array(1) {
                   ...
                }
                "helpers" private => array(8) {
                   ...
                }
                "helperLoaders" private => array(1) {
                   ...
                }
             }
             "invalidSnippets" private => array(0)
             "params" protected => array(1) ▼ {
                "exception" => object(BadRequestException) (8) {
                   ...
                }
             }
             "components" private => array(0)
             "cloning" private => NULL
             "parent" private => NULL
             "name" private => string(5) "Error"
             "monitors" private => array(1) ▼ {
                "Presenter" => array(4) {
                   ...
                }
             }
          }
          "presenter" => object(ErrorPresenter) (29) ► {
             "onShutdown" => NULL
             "oldLayoutMode" => bool(TRUE)
             "oldModuleMode" => bool(TRUE)
             "request" private => object(PresenterRequest) (7) ► {
                "method" private => string(7) "FORWARD"
                "flags" private => array(0)
                "name" private => string(5) "Error"
                "params" private => array(1) {
                   ...
                }
                "post" private => array(0)
                "files" private => array(0)
                "frozen" private => bool(TRUE)
             }
             "response" private => object(RenderResponse) (1) ▼ {
                "source" private => object(Template) (7) {
                   ...
                }
             }
             "phase" private => int(5)
             "autoCanonicalize" => bool(TRUE)
             "absoluteUrls" => bool(FALSE)
             "globalParams" private => array(0)
             "globalState" private => array(0)
             "globalStateSinces" private => array(0)
             "action" private => string(7) "default"
             "view" private => string(3) "404"
             "layout" private => NULL
             "payload" private => object(stdClass) (0) {}
             "signalReceiver" private => string(0) ""
             "signal" private => NULL
             "ajaxMode" private => bool(FALSE)
             "startupCheck" private => bool(TRUE)
             "lastCreatedRequest" private => NULL
             "lastCreatedRequestFlag" private => NULL
             "template" private => object(Template) (7) ► {
                "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
                "warnOnUndefined" => bool(TRUE)
                "onPrepareFilters" => array(1) {
                   ...
                }
                "params" private => array(9) {
                   ...
                }
                "filters" private => array(1) {
                   ...
                }
                "helpers" private => array(8) {
                   ...
                }
                "helperLoaders" private => array(1) {
                   ...
                }
             }
             "invalidSnippets" private => array(0)
             "params" protected => array(1) ▼ {
                "exception" => object(BadRequestException) (8) {
                   ...
                }
             }
             "components" private => array(0)
             "cloning" private => NULL
             "parent" private => NULL
             "name" private => string(5) "Error"
             "monitors" private => array(1) ▼ {
                "Presenter" => array(4) {
                   ...
                }
             }
          }
          "baseUri" => string(15) "/liveclass/web/"
          "basePath" => string(14) "/liveclass/web"
          "flashes" => array(0)
          "layout" => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
          "content" => object(Template) (7) ► {
             "file" private => string(82) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates/Error/404.phtml"
             "warnOnUndefined" => bool(TRUE)
             "onPrepareFilters" => array(1) ▼ {
                0 => array(2) {
                   ...
                }
             }
             "params" private => array(7) ► {
                "component" => object(ErrorPresenter) (29) {
                   ...
                }
                "control" => object(ErrorPresenter) (29) {
                   ...
                }
                "presenter" => object(ErrorPresenter) (29) {
                   ...
                }
                "baseUri" => string(15) "/liveclass/web/"
                "basePath" => string(14) "/liveclass/web"
                "flashes" => array(0)
                "layout" => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
             }
             "filters" private => array(0)
             "helpers" private => array(8) ► {
                "escape" => object(Callback) (1) {
                   ...
                }
                "escapeurl" => object(Callback) (1) {
                   ...
                }
                "striptags" => object(Callback) (1) {
                   ...
                }
                "nl2br" => object(Callback) (1) {
                   ...
                }
                "substr" => object(Callback) (1) {
                   ...
                }
                "repeat" => object(Callback) (1) {
                   ...
                }
                "implode" => object(Callback) (1) {
                   ...
                }
                "number" => object(Callback) (1) {
                   ...
                }
             }
             "helperLoaders" private => array(1) ▼ {
                0 => object(Callback) (1) {
                   ...
                }
             }
          }
          "template" => object(Template) (7) ► {
             "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
             "warnOnUndefined" => bool(TRUE)
             "onPrepareFilters" => array(1) ▼ {
                0 => array(2) {
                   ...
                }
             }
             "params" private => array(9) ► {
                "component" => object(ErrorPresenter) (29) {
                   ...
                }
                "control" => object(ErrorPresenter) (29) {
                   ...
                }
                "presenter" => object(ErrorPresenter) (29) {
                   ...
                }
                "baseUri" => string(15) "/liveclass/web/"
                "basePath" => string(14) "/liveclass/web"
                "flashes" => array(0)
                "layout" => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
                "content" => object(Template) (7) {
                   ...
                }
                "template" => object(Template) (7) {
                   *RECURSION*
                }
             }
             "filters" private => array(1) ▼ {
                0 => object(Callback) (1) {
                   ...
                }
             }
             "helpers" private => array(8) ► {
                "escape" => object(Callback) (1) {
                   ...
                }
                "escapeurl" => object(Callback) (1) {
                   ...
                }
                "striptags" => object(Callback) (1) {
                   ...
                }
                "nl2br" => object(Callback) (1) {
                   ...
                }
                "substr" => object(Callback) (1) {
                   ...
                }
                "repeat" => object(Callback) (1) {
                   ...
                }
                "implode" => object(Callback) (1) {
                   ...
                }
                "number" => object(Callback) (1) {
                   ...
                }
             }
             "helperLoaders" private => array(1) ▼ {
                0 => object(Callback) (1) {
                   ...
                }
             }
          }
       }

       Line 117:                    )
       Line 118:                );
       Line 119:                $cache->release();
       Line 120:                $cached = $cache[$key];
       Line 121:            }
       Line 122:
       Line 123:            if ($cached !== NULL && self::$cacheStorage instanceof TemplateCacheStorage) {
       Line 124:                LimitedScope::load($cached['file'], $this->getParams());
       Line 125:                fclose($cached['handle']);
       Line 126:
       Line 127:            } else {
       Line 128:                LimitedScope::evaluate($content, $this->getParams());
       Line 129:            }
       Line 130:        }
       Line 131:

4. Responses/RenderResponse.php (55) source ► Template-> render ()

       Line 48:        /**
       Line 49:         * Sends response to output.
       Line 50:         * @return void
       Line 51:         */
       Line 52:        public function send()
       Line 53:        {
       Line 54:            if ($this->source instanceof ITemplate) {
       Line 55:                $this->source->render();
       Line 56:
       Line 57:            } else {
       Line 58:                echo $this->source;
       Line 59:            }
       Line 60:        }
       Line 61:
       Line 62:    }

5. Application/Application.php (153) source ► RenderResponse-> send ()

       Line 146:
       Line 147:                    // Send response
       Line 148:                    if ($response instanceof ForwardingResponse) {
       Line 149:                        $request = $response->getRequest();
       Line 150:                        continue;
       Line 151:
       Line 152:                    } elseif ($response instanceof IPresenterResponse) {
       Line 153:                        $response->send();
       Line 154:                    }
       Line 155:                    break;
       Line 156:
       Line 157:                } catch (Exception $e) {
       Line 158:                    // fault barrier
       Line 159:                    if ($this->catchExceptions === NULL) {
       Line 160:                        $this->catchExceptions = Environment::isProduction();

6. app/bootstrap.php (75) source ► Application-> run ()

       Line 68:        'action' => 'default',
       Line 69:        'id' => NULL,
       Line 70:    ));
       Line 71:
       Line 72:    dibi::connect(Environment::getConfig('database'));
       Line 73:
       Line 74:    // Step 5: Run the application!
       Line 75:    $application->run();
       Line 76:

7. web/index.php (13) source ► require (arguments ►)

   #0 |
       string(63) "/domains1/do1820800/public/www_root/liveclass/app/bootstrap.php"

       Line  6:    // absolute filesystem path to the application root
       Line  7:    define('APP_DIR', WWW_DIR . '/../app');
       Line  8:
       Line  9:    // absolute filesystem path to the libraries
       Line 10:    define('LIBS_DIR', WWW_DIR . '/../libs');
       Line 11:
       Line 12:    // load bootstrap file
       Line 13:    require APP_DIR . '/bootstrap.php';
       Line 14:

## Nette Application ►

### Requests

    array(2) ▼ {
       0 => object(PresenterRequest) (7) ► {
          "method" private => string(3) "GET"
          "flags" private => array(1) ▼ {
             "secured" => bool(FALSE)
          }
          "name" private => string(4) "Feed"
          "params" private => array(2) ▼ {
             "action" => string(8) "messages"
             "id" => NULL
          }
          "post" private => array(0)
          "files" private => array(0)
          "frozen" private => bool(TRUE)
       }
       1 => object(PresenterRequest) (7) ► {
          "method" private => string(7) "FORWARD"
          "flags" private => array(0)
          "name" private => string(5) "Error"
          "params" private => array(1) ▼ {
             "exception" => object(BadRequestException) (8) {
                ...
             }
          }
          "post" private => array(0)
          "files" private => array(0)
          "frozen" private => bool(TRUE)
       }
    }

### Presenter

    object(ErrorPresenter) (29) ► {
       "onShutdown" => NULL
       "oldLayoutMode" => bool(TRUE)
       "oldModuleMode" => bool(TRUE)
       "request" private => object(PresenterRequest) (7) ► {
          "method" private => string(7) "FORWARD"
          "flags" private => array(0)
          "name" private => string(5) "Error"
          "params" private => array(1) ▼ {
             "exception" => object(BadRequestException) (8) {
                ...
             }
          }
          "post" private => array(0)
          "files" private => array(0)
          "frozen" private => bool(TRUE)
       }
       "response" private => object(RenderResponse) (1) ▼ {
          "source" private => object(Template) (7) ► {
             "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
             "warnOnUndefined" => bool(TRUE)
             "onPrepareFilters" => array(1) {
                ...
             }
             "params" private => array(9) {
                ...
             }
             "filters" private => array(1) {
                ...
             }
             "helpers" private => array(8) {
                ...
             }
             "helperLoaders" private => array(1) {
                ...
             }
          }
       }
       "phase" private => int(5)
       "autoCanonicalize" => bool(TRUE)
       "absoluteUrls" => bool(FALSE)
       "globalParams" private => array(0)
       "globalState" private => array(0)
       "globalStateSinces" private => array(0)
       "action" private => string(7) "default"
       "view" private => string(3) "404"
       "layout" private => NULL
       "payload" private => object(stdClass) (0) {}
       "signalReceiver" private => string(0) ""
       "signal" private => NULL
       "ajaxMode" private => bool(FALSE)
       "startupCheck" private => bool(TRUE)
       "lastCreatedRequest" private => NULL
       "lastCreatedRequestFlag" private => NULL
       "template" private => object(Template) (7) ► {
          "file" private => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
          "warnOnUndefined" => bool(TRUE)
          "onPrepareFilters" => array(1) ▼ {
             0 => array(2) {
                ...
             }
          }
          "params" private => array(9) ► {
             "component" => object(ErrorPresenter) (29) {
                *RECURSION*
             }
             "control" => object(ErrorPresenter) (29) {
                *RECURSION*
             }
             "presenter" => object(ErrorPresenter) (29) {
                *RECURSION*
             }
             "baseUri" => string(15) "/liveclass/web/"
             "basePath" => string(14) "/liveclass/web"
             "flashes" => array(0)
             "layout" => string(81) "/domains1/do1820800/public/www_root/liveclass/web/../app/templates//@layout.phtml"
             "content" => object(Template) (7) {
                ...
             }
             "template" => object(Template) (7) {
                *RECURSION*
             }
          }
          "filters" private => array(1) ▼ {
             0 => object(Callback) (1) {
                ...
             }
          }
          "helpers" private => array(8) ► {
             "escape" => object(Callback) (1) {
                ...
             }
             "escapeurl" => object(Callback) (1) {
                ...
             }
             "striptags" => object(Callback) (1) {
                ...
             }
             "nl2br" => object(Callback) (1) {
                ...
             }
             "substr" => object(Callback) (1) {
                ...
             }
             "repeat" => object(Callback) (1) {
                ...
             }
             "implode" => object(Callback) (1) {
                ...
             }
             "number" => object(Callback) (1) {
                ...
             }
          }
          "helperLoaders" private => array(1) ▼ {
             0 => object(Callback) (1) {
                ...
             }
          }
       }
       "invalidSnippets" private => array(0)
       "params" protected => array(1) ▼ {
          "exception" => object(BadRequestException) (8) ► {
             "defaultCode" protected => int(404)
             "message" protected => string(69) "Page not found. Missing template '…/templates/Feed/messages.phtml'."
             "string" private => string(0) ""
             "code" protected => int(404)
             "file" protected => string(82) "/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Presenter.php"
             "line" protected => int(476)
             "trace" private => array(4) {
                ...
             }
             "previous" => NULL
          }
       }
       "components" private => array(0)
       "cloning" private => NULL
       "parent" private => NULL
       "name" private => string(5) "Error"
       "monitors" private => array(1) ▼ {
          "Presenter" => array(4) ▼ {
             0 => NULL
             1 => NULL
             2 => NULL
             3 => bool(TRUE)
          }
       }
    }

## Environment ►

### Constants ▼

WWW_DIR |
    string(49) "/domains1/do1820800/public/www_root/liveclass/web"
APP_DIR |
    string(56) "/domains1/do1820800/public/www_root/liveclass/web/../app"
LIBS_DIR |
    string(57) "/domains1/do1820800/public/www_root/liveclass/web/../libs"
NETTE |
    bool(TRUE)
NETTE_VERSION_ID |
    int(905)
NETTE_PACKAGE |
    string(7) "PHP 5.2"
E_DEPRECATED |
    int(8192)
E_USER_DEPRECATED |
    int(16384)

### Included files ►(87)

/domains1/do1820800/public/www_root/liveclass/web/index.php
/domains1/do1820800/public/www_root/liveclass/app/bootstrap.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/loader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/shortcuts.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/exceptions.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Framework.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Object.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/ObjectMixin.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Callback.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Loaders/LimitedScope.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Loaders/AutoLoader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Loaders/NetteLoader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Debug/Debug.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Environment/Environment.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Environment/Configurator.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Config/Config.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/Hashtable.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/Collection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/ICollection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/IMap.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Config/ConfigAdapterIni.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Config/IConfigAdapter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Tools.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/ArrayTools.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Environment/ServiceLocator.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Environment/IServiceLocator.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Loaders/RobotLoader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Caching/Cache.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Caching/FileStorage.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Caching/ICacheStorage.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Application.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Routers/MultiRouter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/ArrayList.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Collections/IList.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IRouter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Routers/Route.php
/domains1/do1820800/public/www_root/liveclass/libs/dibi/dibi.min.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/HttpRequest.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/IHttpRequest.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/HttpResponse.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/IHttpResponse.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/UriScript.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/Uri.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/FreezableObject.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/String.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/Session.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Reflection/ClassReflection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Reflection/PropertyReflection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/PresenterRequest.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/PresenterLoader.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IPresenterLoader.php
/domains1/do1820800/public/www_root/liveclass/app/presenters/FeedPresenter.php
/domains1/do1820800/public/www_root/liveclass/app/presenters/BasePresenter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Presenter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Control.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/PresenterComponent.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/ComponentModel/ComponentContainer.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/ComponentModel/Component.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/ComponentModel/IComponent.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/ComponentModel/IComponentContainer.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/ISignalReceiver.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IStatePersistent.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IRenderable.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IPresenter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/PresenterComponentReflection.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Reflection/AnnotationsParser.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Utils/Iterators/InstanceFilterIterator.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Reflection/MethodReflection.php
/domains1/do1820800/public/www_root/liveclass/app/models/MessageManager.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/Template.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/BaseTemplate.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/ITemplate.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/IFileTemplate.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/Filters/TemplateHelpers.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Exceptions/BadRequestException.php
/domains1/do1820800/public/www_root/liveclass/app/presenters/ErrorPresenter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Responses/RenderResponse.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/IPresenterResponse.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Exceptions/AbortException.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/TemplateCacheStorage.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/Filters/LatteFilter.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/Filters/LatteMacros.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Web/Html.php
/domains1/do1820800/public/www_root/liveclass/app/temp/c-Nette.Template/_0c6837bde9ddcea306562f102b248168.%40layout.phtml.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Templates/Filters/SnippetHelper.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Application/Exceptions/ApplicationException.php
/domains1/do1820800/public/www_root/liveclass/libs/Nette/Debug/templates/bluescreen.phtml

### $_SERVER

REDIRECT_SCRIPT_URL |
    string(23) "/liveclass/web/messages"
REDIRECT_SCRIPT_URI |
    string(41) "http://nissantn.sk/liveclass/web/messages"
REDIRECT_STATUS |
    string(3) "200"
SCRIPT_URL |
    string(23) "/liveclass/web/messages"
SCRIPT_URI |
    string(41) "http://nissantn.sk/liveclass/web/messages"
HTTP_HOST |
    string(11) "nissantn.sk"
HTTP_CONNECTION |
    string(10) "keep-alive"
HTTP_CACHE_CONTROL |
    string(9) "max-age=0"
HTTP_ACCEPT |
    string(90) "application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
HTTP_USER_AGENT |
    string(117) "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12"
HTTP_ACCEPT_ENCODING |
    string(17) "gzip,deflate,sdch"
HTTP_ACCEPT_LANGUAGE |
    string(14) "en-US,en;q=0.8"
HTTP_ACCEPT_CHARSET |
    string(13) "UTF-8,*;q=0.5"
HTTP_COOKIE |
    string(158) "__utmz=123634452.1288865594.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=123634452.511271069.1288865594.1289686388.1289815751.8; __utmc=1 ... "
PATH |
    string(90) "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin"
SERVER_SIGNATURE |
    string(0) ""
SERVER_SOFTWARE |
    string(6) "Apache"
SERVER_NAME |
    string(11) "nissantn.sk"
SERVER_ADDR |
    string(13) "82.208.46.226"
SERVER_PORT |
    string(2) "80"
REMOTE_ADDR |
    string(13) "193.84.36.129"
DOCUMENT_ROOT |
    string(36) "/domains/nissantn.sk/public/www_root"
SERVER_ADMIN |
    string(21) "webmaster@nissantn.sk"
SCRIPT_FILENAME |
    string(60) "/domains/nissantn.sk/public/www_root/liveclass/web/index.php"
REMOTE_PORT |
    string(5) "51408"
REDIRECT_URL |
    string(23) "/liveclass/web/messages"
GATEWAY_INTERFACE |
    string(7) "CGI/1.1"
SERVER_PROTOCOL |
    string(8) "HTTP/1.1"
REQUEST_METHOD |
    string(3) "GET"
QUERY_STRING |
    string(0) ""
REQUEST_URI |
    string(23) "/liveclass/web/messages"
SCRIPT_NAME |
    string(24) "/liveclass/web/index.php"
PHP_SELF |
    string(24) "/liveclass/web/index.php"
REQUEST_TIME |
    int(1289825216)

## HTTP request ►

### Headers

Host | nissantn.sk
Connection | keep-alive
Cache-Control | max-age=0
Accept | application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12
Accept-Encoding | gzip,deflate,sdch
Accept-Language | en-US,en;q=0.8
Accept-Charset | UTF-8,*;q=0.5
Cookie | __utmz=123634452.1288865594.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=123634452.511271069.1288865594.1289686388.1289815751.8; __utmc=123634452

### $_GET

empty

### $_POST

empty

### $_COOKIE

__utmz |
    string(70) "123634452.1288865594.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)"
__utma |
    string(54) "123634452.511271069.1288865594.1289686388.1289815751.8"
__utmc |
    string(9) "123634452"

## HTTP response ►

### Headers

    X-Powered-By: Nette Framework
    content-type: text/plain

- Report generated at 2010/11/15 13:46:56
- http://nissantn.sk/liveclass/web/messages
- PHP 5.2.11
- Apache
- Nette Framework 0.9.5 (revision 5eb03f5 released on 2010-07-01)