session_start(): open(/home/klingger/public_html/studiopl/temp/sessions/sess_6qfp22qtb8usl8ie0bk58lr4pt, O_RDWR) failed: Adresár alebo súbor neexistuje (2)
/home/klingger/public_html/studiopl/vendor/Onion/Application/Application.php
http://klingger.webstranky.net/~klingger/studiopl/public_html/ (GET)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
258 }259260 ini_set('session.use_trans_sid', false);261 ini_set('session.use_only_cookies', true);262 ini_set('session.hash_function', 'sha512');263 ini_set('hash_bits_per_character', 5);264 ini_set('session.cookie_httponly', true);265266 session_cache_limiter(false);267268 $domain = $this->configuration['system.cookie.domain'];269 $path = $this->configuration['system.cookie.path'];270 $lifetime = $this->configuration['system.session.lifetime'];271 $sessionName = $this->configuration['system.session.name'];272273 ini_set('session.save_handler', 'files');274 session_save_path(TEMP_DIR.'/sessions');275 session_set_cookie_params($lifetime, $path, $domain);276 session_name($sessionName);277 session_start();278279 if (isset($_COOKIE[$sessionName]) === true) {280 setcookie($sessionName, $_COOKIE[$sessionName], time() + $lifetime, $path, $domain, false, true);281 }282 }283284285 /**286 * Pridanie správy287 *
258 }259260 ini_set('session.use_trans_sid', false);261 ini_set('session.use_only_cookies', true);262 ini_set('session.hash_function', 'sha512');263 ini_set('hash_bits_per_character', 5);264 ini_set('session.cookie_httponly', true);265266 session_cache_limiter(false);267268 $domain = $this->configuration['system.cookie.domain'];269 $path = $this->configuration['system.cookie.path'];270 $lifetime = $this->configuration['system.session.lifetime'];271 $sessionName = $this->configuration['system.session.name'];272273 ini_set('session.save_handler', 'files');274 session_save_path(TEMP_DIR.'/sessions');275 session_set_cookie_params($lifetime, $path, $domain);276 session_name($sessionName);277 session_start();278279 if (isset($_COOKIE[$sessionName]) === true) {280 setcookie($sessionName, $_COOKIE[$sessionName], time() + $lifetime, $path, $domain, false, true);281 }282 }283284285 /**286 * Pridanie správy287 *
array ( )
107 $view = new \Onion\Templating\View($this->container);108 $this->container->addService('view', $view);109110 $this->container->addServices($configuration['system.services']);111 }112113 /**114 * Spustenie aplikácie115 */116 public function run()117 {118 $this->runHooks('system.hooks.onStart');119120 $this->currentRoute = $this->router->findCurrentRoute();121122 if ($this->currentRoute === null) {123 $this->notFound('Not found!');124 }125126 $this->startSession();127128 $this->runHooks('system.hooks.beforeCreateController');129130 if (isset($_SESSION['onion.flash']) === true) {131 $this->flash['current'] = $_SESSION['onion.flash'];132 }133134 $view = $this->container->view;135136 $view['host'] = $this->request->host;
array ( )
130 WWW_DIR.'/js/jquery.dropotron.min.js',131 WWW_DIR.'/js/skel.min.js',132 //WWW_DIR.'/js/respond.min.js',133 WWW_DIR.'/js/util.js',134 WWW_DIR.'/js/main.js',135 ),136 'less' => array(137 //WWW_DIR.'/less/main.less'138 ),139 'css' => array(140 WWW_DIR.'/scss/main.css',141 //WWW_DIR.'/scss/paginator.scss'142 )143 )144 )145 );146147 $app = new \Onion\Application($configuration);148149 $app->run();150 exit;
array ( )
1213 // absolute filesystem path to the libraries14 define('LIBS_DIR', realpath(WWW_DIR.'/../vendor'));1516 // absolute filesystem path to the web root17 define('ONION_DIR', LIBS_DIR.'/Onion');1819 // absolute filesystem path to the application root20 define('APP_DIR', WWW_DIR.'/../app');2122 // absolute filesystem path to the temporary files23 define('TEMP_DIR', realpath(WWW_DIR.'/../temp'));2425 // absolute filesystem path to the cache26 define('CACHE_DIR', realpath(WWW_DIR.'/../cache'));2728 define('ONIONCMS_DIR', realpath(ONION_DIR.'/../onionCMS'));2930 // load bootstrap file31 require ONIONCMS_DIR.'/bootstrap.php';
array ( 0 => '/home/klingger/public_html/studiopl/vendor/onionCMS/bootstrap.php', )
array ( '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' => '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' => '57658', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/~klingger/studiopl/public_html/', 'SCRIPT_NAME' => '/~klingger/studiopl/public_html/index.php', 'PHP_SELF' => '/~klingger/studiopl/public_html/index.php', 'REQUEST_TIME_FLOAT' => 1578815201.263, 'REQUEST_TIME' => 1578815201, )