ErrorException: theme.yaml is not within the allowed path(s)
Posted 9 years 5 months ago
Hello,
I'm running Theme: Salient (v1.1.0 / rt_salient) on WP, after accessing Salient Theme->About section in backend I'm getting the following errors:
Whoops \ Exception \ ErrorException (E_WARNING)
file_exists(): open_basedir restriction in effect. File(/home/users/bond/public_html/test/wp-content/themes/index.php/gantry/theme.yaml) is not within the allowed path(s): (/home/users/bond/:/usr/lib/php:/usr/lib/php54:/usr/local/lib/php:/tmp)
Open: /home/users/bond/public_html/test/wp-content/plugins/gantry5/src/vendor/rockettheme/toolbox/ResourceLocator/src/UniformResourceLocator.php
// Handle absolute path lookup.
$fullPath = rtrim($path . $filename, '/');
if (!$absolute) {
throw new \RuntimeException('UniformResourceLocator: Absolute stream path with relative lookup not allowed', 500);
}
}
if ($all || file_exists($fullPath)) {
$current = $absolute ? $fullPath : $relPath;
if (!$array) {
GET Data
page layout-manager
view about
action gantry5
Re: ErrorException: theme.yaml is not within the allowed path(s)
Posted 9 years 5 months ago
hi,
my service provider claims that open_basedir is set correctly only to allow reading directories from within my account and they don't know what your script is reffering to, what should I tell them in such case?