RuntimeException: невозможно выполнить запись в каталог «кэш» в Symfony\Component\HttpKernel\Kernel->buildContainer() ⇐ Php
RuntimeException: невозможно выполнить запись в каталог «кэш» в Symfony\Component\HttpKernel\Kernel->buildContainer()
защищенная функция buildContainer() { foreach (['cache' => $this->getCacheDir(), 'build' => $this->warmupDir ?: $this->getBuildDir(), 'logs' => $this->getLogDir()] as $name => $dir) { если (!is_dir($dir)) { if (false === @mkdir($dir, 0777, true) && !is_dir($dir)) { throw new \RuntimeException(sprintf('Невозможно создать каталог "%s" (%s).', $name, $dir)); } } elseif (!is_writable($dir)) { throw new \RuntimeException(sprintf('Невозможно выполнить запись в каталог "%s" (%s).', $name, $dir)); } } Я пытаюсь настроить uvdesk на тестовом сервере, но получаю RuntimeException:
Невозможно выполнить запись в каталог «cache» Symfony\Component\HttpKernel\Kernel->buildContainer()
защищенная функция buildContainer() { foreach (['cache' => $this->getCacheDir(), 'build' => $this->warmupDir ?: $this->getBuildDir(), 'logs' => $this->getLogDir()] as $name => $dir) { если (!is_dir($dir)) { if (false === @mkdir($dir, 0777, true) && !is_dir($dir)) { throw new \RuntimeException(sprintf('Невозможно создать каталог "%s" (%s).', $name, $dir)); } } elseif (!is_writable($dir)) { throw new \RuntimeException(sprintf('Невозможно выполнить запись в каталог "%s" (%s).', $name, $dir)); } } Я пытаюсь настроить uvdesk на тестовом сервере, но получаю RuntimeException:
Невозможно выполнить запись в каталог «cache» Symfony\Component\HttpKernel\Kernel->buildContainer()
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение