Hello!
I'm new on this forum.
Today I prepared a fresh installation of phpBB 3.3.11 on my hosting (MyDevil.net) based on FreeBSD + Nginx + PHP 8.1 + MySQL 8.0.
After uploading all files to the server and runing installation, I repeatedly received attached error:where:
[user] is my user name,
[my_domain] is my domain name.
I checked paths included in error message and I found strange problem. The phpBB installer looks for file "services_event.yml" in this location ("../../" is applied):
/usr/home/[user]/domains/[my_domain]/default/container/services_event.yml
But this file doesn't exist in this location. It is located in:
/usr/home/[user]/domains/[my_domain]/public_html/config/default/container/services_event.yml
What is going wrong? How can I fix this problem?
I'm new on this forum.
Today I prepared a fresh installation of phpBB 3.3.11 on my hosting (MyDevil.net) based on FreeBSD + Nginx + PHP 8.1 + MySQL 8.0.
After uploading all files to the server and runing installation, I repeatedly received attached error:
Code:
[phpBB Debug] "file_exists(): open_basedir restriction in effect. File(/usr/home/[user]/domains/[my_domain]/public_html/config/../../default/container/services_event.yml) is not within the allowed path(s): (/usr/home/[user]/domains/[my_domain]/public_html:/tmp:/usr/share:/usr/local/share:/dev)" in file /usr/home/[user]/domains/[my_domain]/public_html/vendor/symfony/config/FileLocator.php on line 60
[user] is my user name,
[my_domain] is my domain name.
I checked paths included in error message and I found strange problem. The phpBB installer looks for file "services_event.yml" in this location ("../../" is applied):
/usr/home/[user]/domains/[my_domain]/default/container/services_event.yml
But this file doesn't exist in this location. It is located in:
/usr/home/[user]/domains/[my_domain]/public_html/config/default/container/services_event.yml
What is going wrong? How can I fix this problem?
Statistics: Posted by tadeuszd — Sat Jan 27, 2024 9:54 pm