[3.2] "failed to open stream: No such file or directory"?
Verfasst: 29.12.2017 13:06
Servus,
ich habe soeben das Update von 3.2 auf 3.2.1 vorgenommen und es gab keine Fehlermeldungen und das ACP laesst sich nutzen und zeigt alles brav an, was so da ist^^. [29.12.2017, 12:59 Erweiterung aktualisiert; 29.12.2017, 12:59 Datenbank von Version 3.2.0 auf Version 3.2.1 aktualisiert]
Beim Aufrufen der Forumsseite aber erhalte ich folgende Meldung:
...hier der Code-Schnipsel der betreffenden Datei:
... und der Zeile 146:
Ich kann damit so leider nix anfangen, hat jmd. eine Idee, was da schiefgelaufen sein könnte bzw. wie ich es beheben kann?
Danke.
ich habe soeben das Update von 3.2 auf 3.2.1 vorgenommen und es gab keine Fehlermeldungen und das ACP laesst sich nutzen und zeigt alles brav an, was so da ist^^. [29.12.2017, 12:59 Erweiterung aktualisiert; 29.12.2017, 12:59 Datenbank von Version 3.2.0 auf Version 3.2.1 aktualisiert]
Beim Aufrufen der Forumsseite aber erhalte ich folgende Meldung:
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/di/container_builder.php on line 146: require(./cache/production/autoload_4335734bbdd20f586549a504dff5f80c.php): failed to open stream: No such file or directory
Fatal error: require(): Failed opening required './cache/production/autoload_4335734bbdd20f586549a504dff5f80c.php' (include_path='.:/usr/lib/php5.6') in /homepages/44/dXXX/htdocs/heimspiele/forum/phpbb/di/container_builder.php on line 146
...hier der Code-Schnipsel der betreffenden Datei:
Code: Alles auswählen
/**
* Build and return a new Container respecting the current configuration
*
* @return \phpbb_cache_container|ContainerBuilder
*/
public function get_container()
{
try
{
$container_filename = $this->get_container_filename();
$config_cache = new ConfigCache($container_filename, defined('DEBUG'));
if ($this->use_cache && $config_cache->isFresh())
{
if ($this->use_extensions)
{
require($this->get_autoload_filename());
}
require($config_cache->getPath());
$this->container = new \phpbb_cache_container();
}
else
{
$this->container_extensions = array(new extension\core($this->get_config_path()));
if ($this->use_extensions)
{
$this->load_extensions();
}
// Inject the config
if ($this->config_php_file)
{
$this->container_extensions[] = new extension\config($this->config_php_file);
}
$this->container = $this->create_container($this->container_extensions);
// Easy collections through tags
$this->container->addCompilerPass(new pass\collection_pass());
// Event listeners "phpBB style"
$this->container->addCompilerPass(new RegisterListenersPass('dispatcher', 'event.listener_listener', 'event.listener'));
// Event listeners "Symfony style"
$this->container->addCompilerPass(new RegisterListenersPass('dispatcher'));
if ($this->use_extensions)
{
$this->register_ext_compiler_pass();
}
$filesystem = new filesystem();
$loader = new YamlFileLoader($this->container, new FileLocator($filesystem->realpath($this->get_config_path())));
$loader->load($this->container->getParameter('core.environment') . '/config.yml');
$this->inject_custom_parameters();
if ($this->compile_container)
{
$this->container->compile();
if ($this->use_cache)
{
$this->dump_container($config_cache);
}
}
}
if ($this->compile_container && $this->config_php_file)
{
$this->container->set('config.php', $this->config_php_file);
}
$this->inject_dbal_driver();
return $this->container;
}
catch (\Exception $e)
{
// Don't try to recover if we are in the development environment
if ($this->get_environment() === 'development')
{
throw $e;
}
if ($this->build_exception === null)
{
$this->build_exception = $e;
return $this
->without_extensions()
->without_cache()
->with_custom_parameters(array_merge($this->custom_parameters, [
'container_exception' => $e,
]))
->get_container();
}
else
{
// Rethrow the original exception if it's still failing
throw $this->build_exception;
}
}
}
... und der Zeile 146:
Code: Alles auswählen
require($this->get_autoload_filename());
Ich kann damit so leider nix anfangen, hat jmd. eine Idee, was da schiefgelaufen sein könnte bzw. wie ich es beheben kann?
Danke.