getgrav / grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony
https://getgrav.org
MIT License
14.49k stars 1.4k forks source link

Impossible to upload an image file in Admin Panel "Login custom Logo" #3541

Open beamaria opened 2 years ago

beamaria commented 2 years ago

I have a strange problem with Admin Panel. when I try to upload my "Login Custom logo" in tab "Customization" of the plugin and then try to save I receive this error:

file_exists(): open_basedir restriction in effect. File(/Compiler.php) is not within the allowed path(s): (/var/www/vhosts/connemara.irish/:/tmp/)

My php settings for open_basedir are {WEBSPACEROOT}{/}{:}{TMP}{/} same as for other Grav websites, all working properly on my VPS server and never had this issue.

I've tried dropping the image and also uploading from my Mac, with no success.

I have already uploaded the site twice, but the error is still there.

Any Idea hot to solve this?

Working in Grav v1.7.30 - Admin v1.10.30.2 Gantry 5.5.11 and Helium 5.5.11

shot 1

beamaria commented 2 years ago

There is definitely something strange with this issue:n ow I followed the same steps, had the same warning message, saved the plugin, but the logo now appears correctly in the backend...