OpenCart 4.0.1.1
Default Theme
No Extensions(yet)
PHP 8.0.23
Plesk Obsidian Version 18.0.46
I thought I'd do a fresh install of version 4.0.1.1 I have a good back of v3 and I know I can go back and try doing the Upgrade if I can't find the answer to my error. I don't understand GitHub and have difficulty finding answers there.
Install error:
Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/path/is/hiden/for-security/:/tmp/) in /path/is/corect/to/file/system/storage/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 91Twig\Error\LoaderError: The "/" directory does not exist ("/"). in /path/is/corect/to/file//system/storage/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 92
The code I found in FilesystemLoader.php related to error:
/**
* @throws LoaderError
*/
public function addPath(string $path, string $namespace = self::MAIN_NAMESPACE): void
{
// invalidate the cache
$this->cache = $this->errorCache = [];
$checkPath = $this->isAbsolutePath($path) ? $path : $this->rootPath.$path;
if (!is_dir($checkPath)) {
throw new LoaderError(sprintf('The "%s" directory does not exist ("%s").', $path, $checkPath));
}
$this->paths[$namespace][] = rtrim($path, '/\\');
}
hope you can help
