Warning

filemtime(): stat failed for /home/klingger/public_html/studiopl/public_html/templates/!Index.html

/home/klingger/public_html/studiopl/vendor/Onion/Templating/View.php

Url/Visitor

http://klingger.webstranky.net/~klingger/studiopl/public_html/sk/uvod (GET)

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36

Source

141 $operation = $tmp[1];
142 }
143
144 $s['selector'] = $selector;
145 $s['operation'] = $operation;
146 $s['content'] = trim($snippets[2][$key]);
147
148 $ajaxTemplate[] = $s;
149 }
150
151 return $ajaxTemplate;
152 }
153
154 public function compile($template = null)
155 {
156 if ($template === null) {
157 $templateName = str_replace($this->templatesDir, '', $this->templateFile);
158 $templateName = str_replace(DIR_SEPARATOR, '_', trim($templateName, DIR_SEPARATOR));
159
160 $templateTime = filemtime($this->templateFile);
161
162 $hash = sha1((string) $this->hash.$_SERVER['HTTP_HOST'].$templateName.$templateTime);
163
164 $template = $this->services->cache->fetch($hash, 'template');
165
166 if ($template !== false) {
167 return $template;
168 }
169
170 $template = file_get_contents($this->templateFile);

Backtrace

$_SERVER

array (
  'REDIRECT_STATUS' => '200',
  'HTTP_HOST' => 'klingger.webstranky.net',
  'HTTP_CONNECTION' => 'keep-alive',
  'HTTP_CACHE_CONTROL' => 'max-age=0',
  'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
  'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36',
  'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
  'HTTP_REFERER' => 'http://klingger.webstranky.net/~klingger/studiopl/',
  'HTTP_ACCEPT_ENCODING' => 'gzip, deflate',
  'HTTP_ACCEPT_LANGUAGE' => 'sk-SK,sk;q=0.9,cs;q=0.8,en-US;q=0.7,en;q=0.6',
  'HTTP_COOKIE' => 'qazfdrtygdfxsw=6qfp22qtb8usl8ie0bk58lr4pt; XDEBUG_SESSION=VSCODE',
  'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/bin',
  'SERVER_SIGNATURE' => '',
  'SERVER_SOFTWARE' => 'Apache/2.4.41 (Unix) PHP/7.4.1',
  'SERVER_NAME' => 'klingger.webstranky.net',
  'SERVER_ADDR' => '192.168.1.10',
  'SERVER_PORT' => '80',
  'REMOTE_ADDR' => '192.168.1.10',
  'DOCUMENT_ROOT' => '/etc/httpd/docs/dummy-host.example.com',
  'REQUEST_SCHEME' => 'http',
  'CONTEXT_PREFIX' => '/~klingger',
  'CONTEXT_DOCUMENT_ROOT' => '/home/klingger/public_html',
  'SERVER_ADMIN' => 'webmaster@dummy-host.example.com',
  'SCRIPT_FILENAME' => '/home/klingger/public_html/studiopl/public_html/index.php',
  'REMOTE_PORT' => '57778',
  'REDIRECT_URL' => '/~klingger/studiopl/public_html/sk/uvod',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'REQUEST_METHOD' => 'GET',
  'QUERY_STRING' => '',
  'REQUEST_URI' => '/~klingger/studiopl/public_html/sk/uvod',
  'SCRIPT_NAME' => '/~klingger/studiopl/public_html/index.php',
  'PHP_SELF' => '/~klingger/studiopl/public_html/index.php',
  'REQUEST_TIME_FLOAT' => 1578815475.694,
  'REQUEST_TIME' => 1578815475,
)

$_GET

array (
)