Whoops \ Exception \ ErrorException (E_WARNING)
file(tmp/cache/config.php): failed to open stream: No such file or directory Whoops\Exception\ErrorException thrown with message "file(tmp/cache/config.php): failed to open stream: No such file or directory" Stacktrace: #3 Whoops\Exception\ErrorException in /var/www/clients/client1/web1/web/controller/class/controller/controller.php:645 #2 file in /var/www/clients/client1/web1/web/controller/class/controller/controller.php:645 #1 CO\SYSTEM\CONTROLLER:_loadConfigFromCache in /var/www/clients/client1/web1/web/controller/class/controller/controller.php:118 #0 CO\SYSTEM\CONTROLLER:init in /var/www/clients/client1/web1/web/index.php:11
Stack frames (4)
3
Whoops\Exception\ErrorException
/var/www/clients/client1/web1/web/controller/class/controller/controller.php645
2
file
/var/www/clients/client1/web1/web/controller/class/controller/controller.php645
1
CO\SYSTEM\CONTROLLER _loadConfigFromCache
/var/www/clients/client1/web1/web/controller/class/controller/controller.php118
0
CO\SYSTEM\CONTROLLER init
/var/www/clients/client1/web1/web/index.php11
/var/www/clients/client1/web1/web/controller/class/controller/controller.php
                if (file_exists('tmp/cache/config.php')) {
                    $ret = true;
                }
            }
            return $ret;
        }
    }

    private function _loadConfigFromCache() {
        if ($this->getMemcached()) {
            $memcacheD = new \Memcached();
            if ($memcacheD->addServer($this->getMemcached()->host, $this->getMemcached()->port)) {
                if ($memcacheD->get('controller_config_1') !== false and $memcacheD->get('controller_config_2') !== false) {
                    CONTROLLER\CONFIG::setClasses($memcacheD->get('controller_config_1'));
                    $this->_config = $memcacheD->get('controller_config_2');
                    return false;
                }
            }
        } else {
            $config = file('tmp/cache/config.php');
            if (!is_array($config) or !isset($config[1])) {
                if (file_exists('/tmp/cache/config.php')) {
                    unlink('/tmp/cache/config.php');
                }
                return false;
            }
            $decoded = urldecode($config[1]);
            try {
                $unserialized = unserialize($decoded);
                CONTROLLER\CONFIG::setClasses($unserialized);
            } catch (\Exception $e) {
                if (file_exists('/tmp/cache/config.php')) {
                    unlink('/tmp/cache/config.php');
                }
                return false;
//                \CO\SYSTEM\HTTP\HEADER::redirect('/');
            }
            try {
                $this->_config = unserialize(urldecode($config[2]));

/var/www/clients/client1/web1/web/controller/class/controller/controller.php
                if (file_exists('tmp/cache/config.php')) {
                    $ret = true;
                }
            }
            return $ret;
        }
    }

    private function _loadConfigFromCache() {
        if ($this->getMemcached()) {
            $memcacheD = new \Memcached();
            if ($memcacheD->addServer($this->getMemcached()->host, $this->getMemcached()->port)) {
                if ($memcacheD->get('controller_config_1') !== false and $memcacheD->get('controller_config_2') !== false) {
                    CONTROLLER\CONFIG::setClasses($memcacheD->get('controller_config_1'));
                    $this->_config = $memcacheD->get('controller_config_2');
                    return false;
                }
            }
        } else {
            $config = file('tmp/cache/config.php');
            if (!is_array($config) or !isset($config[1])) {
                if (file_exists('/tmp/cache/config.php')) {
                    unlink('/tmp/cache/config.php');
                }
                return false;
            }
            $decoded = urldecode($config[1]);
            try {
                $unserialized = unserialize($decoded);
                CONTROLLER\CONFIG::setClasses($unserialized);
            } catch (\Exception $e) {
                if (file_exists('/tmp/cache/config.php')) {
                    unlink('/tmp/cache/config.php');
                }
                return false;
//                \CO\SYSTEM\HTTP\HEADER::redirect('/');
            }
            try {
                $this->_config = unserialize(urldecode($config[2]));

/var/www/clients/client1/web1/web/controller/class/controller/controller.php
        spl_autoload_register(array($this, '_autoload'));
        $this->_timer = new TIMER();
        $this->_timer->add('CONTROLLER::init start');
//    var_dump($this->_configLoadedFromCache());
        if (php_sapi_name() !== 'cli') {
            ERROR::init();
        }
//        if ($this->_useConfigCache()) {
//            $this->_loadConfigFromCache();
//            if (CONTROLLER::getInstance()
//                          ->getConfig() == NULL) {
//                die("A rendszer nincs konfigurálva.");
//            }
//        } else {
//            $this->_generateConfigFromConfigFile();
//            $this->_storeConfigToCache();
//        }
        $sapi = php_sapi_name();
        if ($this->_useConfigCache() and $sapi != 'cli') {
            if ($this->_loadConfigFromCache() == false) {
                $this->_generateConfigFromConfigFile();
                $this->_storeConfigToCache();
            }
//            if (CONTROLLER::getInstance()
//                    ->getConfig() == NULL) {
//                die("A rendszer nincs konfigurálva.");
//            }
        } else {
            $this->_generateConfigFromConfigFile();
            if ($sapi !== 'cli') {
                $this->_storeConfigToCache();
            }
        }
        RESPONSE::init();
        REQUEST_HANDLER::init();
        $this->_timer->add('CONTROLLER::init end');
        $this->handleControllerOrModuleRedirects();
        \CO\HELPER\POST::initByRawRequestBody();
    }

/var/www/clients/client1/web1/web/index.php
<?php

require_once(__DIR__ .'/functions.php');
require_once(__DIR__ .'/controller/class/controller/controller.php');

require_once 'controller/class/domain/domain.php';

ini_set("session.cookie_domain", \CO\SYSTEM\DOMAIN::getDomainName(false, true));
$controller = new CO\SYSTEM\CONTROLLER();
//$controller->useMemcached('127.0.0.1', 11211);
$controller->init();
\CO\HELPER\DATETIME::setTimezoneOffset('+01:00');
$controller->execute();
 

Environment & details:

empty
Key Value
requestParameters cikk/68459-a-demencia-a-kozponti-temaja-a-veszpremi-petofi-szinhaz-legujabb-bemutatojanak
empty
empty
empty
empty
Key Value
REDIRECT_SCRIPT_URL /cikk/68459-a-demencia-a-kozponti-temaja-a-veszpremi-petofi-szinhaz-legujabb-bemutatojanak
REDIRECT_SCRIPT_URI https://vehir.hu/cikk/68459-a-demencia-a-kozponti-temaja-a-veszpremi-petofi-szinhaz-legujabb-bemutatojanak
REDIRECT_TMP /var/www/clients/client1/web1/tmp
REDIRECT_TMPDIR /var/www/clients/client1/web1/tmp
REDIRECT_TEMP /var/www/clients/client1/web1/tmp
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI vehir.hu
REDIRECT_STATUS 200
SCRIPT_URL /cikk/68459-a-demencia-a-kozponti-temaja-a-veszpremi-petofi-szinhaz-legujabb-bemutatojanak
SCRIPT_URI https://vehir.hu/cikk/68459-a-demencia-a-kozponti-temaja-a-veszpremi-petofi-szinhaz-legujabb-bemutatojanak
TMP /var/www/clients/client1/web1/tmp
TMPDIR /var/www/clients/client1/web1/tmp
TEMP /var/www/clients/client1/web1/tmp
HTTPS on
SSL_TLS_SNI vehir.hu
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_HOST vehir.hu
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE <address>Apache/2.4.18 (Ubuntu) Server at vehir.hu Port 443</address>
SERVER_SOFTWARE Apache/2.4.18 (Ubuntu)
SERVER_NAME vehir.hu
SERVER_ADDR 217.79.142.11
SERVER_PORT 443
REMOTE_ADDR 18.222.121.54
DOCUMENT_ROOT /var/www/vehir.hu/web
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/vehir.hu/web
SERVER_ADMIN webmaster@vehir.hu
SCRIPT_FILENAME /var/www/vehir.hu/web/index.php
REMOTE_PORT 31873
REDIRECT_URL /cikk/68459-a-demencia-a-kozponti-temaja-a-veszpremi-petofi-szinhaz-legujabb-bemutatojanak
REDIRECT_QUERY_STRING requestParameters=cikk/68459-a-demencia-a-kozponti-temaja-a-veszpremi-petofi-szinhaz-legujabb-bemutatojanak
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING requestParameters=cikk/68459-a-demencia-a-kozponti-temaja-a-veszpremi-petofi-szinhaz-legujabb-bemutatojanak
REQUEST_URI /cikk/68459-a-demencia-a-kozponti-temaja-a-veszpremi-petofi-szinhaz-legujabb-bemutatojanak
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1730568055.49
REQUEST_TIME 1730568055
empty
0. CO\SYSTEM\ERROR\Whoops\PrettyErrorLogger