Cannot send header after HTTP headers have been sent (output started at /www/doc/www.petho.cz/www/libs/Nette/Environment/Configurator.php:171).
File: /www/doc/www.petho.cz/www/libs/Nette/Web/HttpResponse.php Line: 99
Line 92: * @param string header value
Line 93: * @return NHttpResponse provides a fluent interface
Line 94: * @throws InvalidStateException if HTTP headers have been sent
Line 95: */
Line 96: public function setHeader($name, $value)
Line 97: {
Line 98: if (headers_sent($file, $line)) {
Line 99: throw new InvalidStateException("Cannot send header after HTTP headers have been sent" . ($file ? " (output started at $file:$line)." : "."));
Line 100: }
Line 101:
Line 102: if ($value === NULL && function_exists('header_remove')) {
Line 103: header_remove($name);
Line 104: } else {
Line 105: header($name . ': ' . $value, TRUE, $this->code);
Line 106: }
Application/Application.php (74) source ► NHttpResponse-> setHeader (arguments ►)
$name | string(12) "X-Powered-By"
|
---|---|
$value | string(15) "Nette Framework"
|
Line 67: */
Line 68: public function run()
Line 69: {
Line 70: $httpRequest = $this->getHttpRequest();
Line 71: $httpResponse = $this->getHttpResponse();
Line 72:
Line 73: $httpRequest->setEncoding('UTF-8');
Line 74: $httpResponse->setHeader('X-Powered-By', 'Nette Framework');
Line 75:
Line 76: if (NEnvironment::getVariable('baseUri') === NULL) {
Line 77: NEnvironment::setVariable('baseUri', $httpRequest->getUri()->getBasePath());
Line 78: }
Line 79:
Line 80: // autostarts session
Line 81: $session = $this->getSession();
app/bootstrap.php (55) source ► NApplication-> run ()
Line 48: 'action' => 'default',
Line 49: 'id' => NULL,
Line 50: ));
Line 51:
Line 52:
Line 53:
Line 54: // Step 5: Run the application!
Line 55: $application->run();
Line 56:
www/index.php (13) source ► require (arguments ►)
#0 | string(43) "/www/doc/www.petho.cz/www/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:
array(0)
NULL
WWW_DIR | string(25) "/www/doc/www.petho.cz/www"
|
---|---|
APP_DIR | string(29) "/www/doc/www.petho.cz/www/app"
|
LIBS_DIR | string(30) "/www/doc/www.petho.cz/www/libs"
|
NETTE | bool(TRUE)
|
NETTE_VERSION_ID | int(905)
|
NETTE_PACKAGE | string(16) "PHP 5.2 prefixed"
|
/www/doc/www.petho.cz/www/index.php |
/www/doc/www.petho.cz/www/app/bootstrap.php |
/www/doc/www.petho.cz/www/libs/Nette/loader.php |
/www/doc/www.petho.cz/www/libs/Nette/Utils/shortcuts.php |
/www/doc/www.petho.cz/www/libs/Nette/Utils/exceptions.php |
/www/doc/www.petho.cz/www/libs/Nette/Utils/Framework.php |
/www/doc/www.petho.cz/www/libs/Nette/Utils/Object.php |
/www/doc/www.petho.cz/www/libs/Nette/Utils/ObjectMixin.php |
/www/doc/www.petho.cz/www/libs/Nette/Utils/Callback.php |
/www/doc/www.petho.cz/www/libs/Nette/Loaders/LimitedScope.php |
/www/doc/www.petho.cz/www/libs/Nette/Loaders/AutoLoader.php |
/www/doc/www.petho.cz/www/libs/Nette/Loaders/NetteLoader.php |
/www/doc/www.petho.cz/www/libs/Nette/Debug/Debug.php |
/www/doc/www.petho.cz/www/libs/Nette/Environment/Environment.php |
/www/doc/www.petho.cz/www/libs/Nette/Environment/Configurator.php |
/www/doc/www.petho.cz/www/libs/Nette/Config/Config.php |
/www/doc/www.petho.cz/www/libs/Nette/Collections/Hashtable.php |
/www/doc/www.petho.cz/www/libs/Nette/Collections/Collection.php |
/www/doc/www.petho.cz/www/libs/Nette/Collections/ICollection.php |
/www/doc/www.petho.cz/www/libs/Nette/Collections/IMap.php |
/www/doc/www.petho.cz/www/libs/Nette/Config/ConfigAdapterIni.php |
/www/doc/www.petho.cz/www/libs/Nette/Config/IConfigAdapter.php |
/www/doc/www.petho.cz/www/libs/Nette/Utils/Tools.php |
/www/doc/www.petho.cz/www/libs/Nette/Utils/ArrayTools.php |
/www/doc/www.petho.cz/www/libs/Nette/Environment/ServiceLocator.php |
/www/doc/www.petho.cz/www/libs/Nette/Environment/IServiceLocator.php |
/www/doc/www.petho.cz/www/libs/Nette/Loaders/RobotLoader.php |
/www/doc/www.petho.cz/www/libs/Nette/Caching/Cache.php |
/www/doc/www.petho.cz/www/libs/Nette/Caching/FileStorage.php |
/www/doc/www.petho.cz/www/libs/Nette/Caching/ICacheStorage.php |
/www/doc/www.petho.cz/www/libs/Nette/Application/Application.php |
/www/doc/www.petho.cz/www/libs/Nette/Application/Routers/MultiRouter.php |
/www/doc/www.petho.cz/www/libs/Nette/Collections/ArrayList.php |
/www/doc/www.petho.cz/www/libs/Nette/Collections/IList.php |
/www/doc/www.petho.cz/www/libs/Nette/Application/IRouter.php |
/www/doc/www.petho.cz/www/libs/Nette/Application/Routers/Route.php |
/www/doc/www.petho.cz/www/libs/Nette/Web/HttpRequest.php |
/www/doc/www.petho.cz/www/libs/Nette/Web/IHttpRequest.php |
/www/doc/www.petho.cz/www/libs/Nette/Web/HttpResponse.php |
/www/doc/www.petho.cz/www/libs/Nette/Web/IHttpResponse.php |
/www/doc/www.petho.cz/www/libs/Nette/Debug/templates/bluescreen.phtml |
UNIQUE_ID | string(27) "Z4rl5SIvmHyy02Wqw-WDCwAAAAU"
|
---|---|
HTTPS | string(2) "on"
|
HTTP_HOST | string(8) "petho.cz"
|
HTTP_X_REAL_IP | string(14) "18.117.100.220"
|
HTTP_X_FORWARDED_PROTO | string(5) "https"
|
HTTP_CONNECTION | string(5) "close"
|
HTTP_ACCEPT | string(3) "*/*"
|
HTTP_USER_AGENT | string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
HTTP_ACCEPT_ENCODING | string(23) "gzip, br, zstd, deflate"
|
PATH | string(60) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
SERVER_SIGNATURE | string(0) ""
|
SERVER_SOFTWARE | string(6) "Apache"
|
SERVER_NAME | string(8) "petho.cz"
|
SERVER_ADDR | string(12) "81.95.96.124"
|
SERVER_PORT | string(3) "443"
|
REMOTE_ADDR | string(14) "18.117.100.220"
|
DOCUMENT_ROOT | string(25) "/www/doc/www.petho.cz/www"
|
REQUEST_SCHEME | string(5) "https"
|
CONTEXT_PREFIX | string(0) ""
|
CONTEXT_DOCUMENT_ROOT | string(25) "/www/doc/www.petho.cz/www"
|
SERVER_ADMIN | string(16) "info@active24.cz"
|
SCRIPT_FILENAME | string(35) "/www/doc/www.petho.cz/www/index.php"
|
REMOTE_PORT | string(5) "47676"
|
GEOIP_ADDR | string(14) "18.117.100.220"
|
GEOIP_CONTINENT_CODE | string(2) "NA"
|
GEOIP_COUNTRY_CODE | string(2) "US"
|
GEOIP_COUNTRY_NAME | string(13) "United States"
|
MAILUSER | string(10) "postmaster"
|
MAILHOST | string(8) "petho.cz"
|
GATEWAY_INTERFACE | string(7) "CGI/1.1"
|
SERVER_PROTOCOL | string(8) "HTTP/1.0"
|
REQUEST_METHOD | string(3) "GET"
|
QUERY_STRING | string(0) ""
|
REQUEST_URI | string(1) "/"
|
SCRIPT_NAME | string(10) "/index.php"
|
PHP_SELF | string(10) "/index.php"
|
REQUEST_TIME_FLOAT | float(1737156069.36)
|
REQUEST_TIME | int(1737156069)
|
argv | array(0)
|
argc | int(0)
|
Host | petho.cz |
---|---|
X-Real-IP | 18.117.100.220 |
X-Forwarded-Proto | https |
Connection | close |
accept | */* |
user-agent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
accept-encoding | gzip, br, zstd, deflate |
GEOIP_ADDR | 18.117.100.220 |
GEOIP_CONTINENT_CODE | NA |
GEOIP_COUNTRY_CODE | US |
GEOIP_COUNTRY_NAME | United States |
empty
empty
empty
Content-type: text/html; charset=UTF-8