I’ve accidentally tried to update the plugins in a installed GRAV (1.1.8). As a result I get the following error while calling the admin section.
"An exception has been thrown during the rendering of a template ("file_exists(): open_basedir restriction in effect. File(/customers/f/9/e/<site>/httpd.wwwuser/plugins/admin/themes/grav/c ss-compiled/nucleus.css) is not within the allowed path(s): (//customers/f/9/e/<site>//httpd.www://customers/f/9/e/<site>//httpd.private://customers/f/9/e/<site>//tmp:/customers/<site>/<site>:/var/www/diagnostics:/usr/share/php)") in "partials/base.html.twig" at line 21."
Hi, this looks like a problem caused by the hosting provider as they have open_basedir restriction in effect as the error says. You might want to ask your hosting support how to fix this.
I tried putting a site under httpd.www to check if the dot in the root folder name causes an issue but I have no problems - looks like some hosting misconfiguration but not sure what to suggest
I’m lucky. Found an older backup of the page and updated it in the correct way and no errors occured. So the error is a result of updating the plugins before updating the core of grav…
Oh. A pull request, yes. I’ll update the update command to warn you if a new version of Grav is available. We’ll see if the dev team thinks it’s helpful.
I think it is. I repaired the page for a client. He isn’t that type of computer geek. So he accidently destroyed the hole page. XD But I think it could happend to anyone.