LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.
GNU General Public License v3.0
392 stars 233 forks source link

UnexpectedValueException #204

Open Qiumil opened 1 year ago

Qiumil commented 1 year ago

Hello dear community

After installing the database and registering the administrator, I get the following error message on some pages --> I only copied a few lines. The error message is over 20 lines long and repeats itself in content --> I have the feeling it has something to do with the "composer"? But there my knowledge stops already for a long time :)

UnexpectedValueException: There is no existing directory at "/var/log/librebooking/log" and it could not be created: open_basedir restriction in effect. File(/var/log/librebooking/log) is not within the allowed path(s): (/home/httpd/vhosts/:/tmp/) File(/var/log/librebooking/log) is not within the allowed path(s): (/home/httpd/vhosts/tmp/) in /home/httpd/vhosts/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:216 Stack trace: #0

I am grateful for any help. :)

Sorry for my bad English - Online translator makes it possible :)

treborin commented 1 year ago

HI @Qiumil , open_basedir restriction in effect is a webserver security restriction. You should ask your hosting provider to disable the open_basedir protection, if you do not have access to any control panel.

Qiumil commented 1 year ago

Hi treborin

Thank you very much for your answer. I have access to the control panel and was able to turn off the open_basedir protection setting there. The problem still occurs, but now that I know what to look for, I will contact my provider.

Thanks again for your help