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 /home/balatona/public_html/controller/class/controller/controller.php:657 #2 file in /home/balatona/public_html/controller/class/controller/controller.php:657 #1 CO\SYSTEM\CONTROLLER:_loadConfigFromCache in /home/balatona/public_html/controller/class/controller/controller.php:130 #0 CO\SYSTEM\CONTROLLER:init in /home/balatona/public_html/index.php:11
Stack frames (4)
3
Whoops\Exception\ErrorException
/home/balatona/public_html/controller/class/controller/controller.php657
2
file
/home/balatona/public_html/controller/class/controller/controller.php657
1
CO\SYSTEM\CONTROLLER _loadConfigFromCache
/home/balatona/public_html/controller/class/controller/controller.php130
0
CO\SYSTEM\CONTROLLER init
/home/balatona/public_html/index.php11
/home/balatona/public_html/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]));

/home/balatona/public_html/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]));

/home/balatona/public_html/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();
    }

/home/balatona/public_html/index.php
<?php
if (php_sapi_name() === 'cli') {
    define('ARGV1', isset($argv[1]) ? $argv[1] : '');
}
define('TIMEZONE', 'Europe/Budapest');
require_once(__DIR__ .'/functions.php');
require_once(__DIR__ .'/controller/class/controller/controller.php');

$controller = new CO\SYSTEM\CONTROLLER();
//$controller->useMemcached('127.0.0.1', 11211);
$controller->init();
$controller->execute();

//ctodo angol / német



 

Environment & details:

Key Value
requestParameters hirek/322-eon-uzemszunet-ertesito
empty
empty
empty
empty
Key Value
USER balatona
HOME /home/balatona
SCRIPT_NAME /index.php
REQUEST_URI /hirek/322-eon-uzemszunet-ertesito
QUERY_STRING requestParameters=hirek/322-eon-uzemszunet-ertesito
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING requestParameters=hirek/322-eon-uzemszunet-ertesito
REDIRECT_URL /hirek/322-eon-uzemszunet-ertesito
REMOTE_PORT 25154
SCRIPT_FILENAME /home/balatona/public_html/index.php
SERVER_ADMIN webmaster@balatonalmadi.hu
CONTEXT_DOCUMENT_ROOT /home/balatona/public_html
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/balatona/public_html
REMOTE_ADDR 216.73.217.176
SERVER_PORT 443
SERVER_ADDR 185.208.224.76
SERVER_NAME mail.balatonalmadi.hu
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_X_HTTPS 1
HTTP_HOST mail.balatonalmadi.hu
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
proxy-nokeepalive 1
H2_STREAM_TAG 1385248-56-1
H2_STREAM_ID 1
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
SSL_TLS_SNI mail.balatonalmadi.hu
HTTPS on
SCRIPT_URI https://mail.balatonalmadi.hu/hirek/322-eon-uzemszunet-ertesito
SCRIPT_URL /hirek/322-eon-uzemszunet-ertesito
UNIQUE_ID atnhbcjvzfs0IShg3IjdCwACFw4
REDIRECT_STATUS 200
REDIRECT_H2_STREAM_TAG 1385248-56-1
REDIRECT_H2_STREAM_ID 1
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH off
REDIRECT_H2PUSH off
REDIRECT_HTTP2 on
REDIRECT_SSL_TLS_SNI mail.balatonalmadi.hu
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://mail.balatonalmadi.hu/hirek/322-eon-uzemszunet-ertesito
REDIRECT_SCRIPT_URL /hirek/322-eon-uzemszunet-ertesito
REDIRECT_UNIQUE_ID atnhbcjvzfs0IShg3IjdCwACFw4
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1792663917.2431
REQUEST_TIME 1792663917
argv Array ( [0] => requestParameters=hirek/322-eon-uzemszunet-ertesito )
argc 1
empty
0. CO\SYSTEM\ERROR\Whoops\PrettyErrorLogger