Klaazzzzzz
New Pleskian
I uploaded my first Statamic 3.3 website (Based om Laravel 8) in new subscription on my Ubuntu server with Obsidian. This Laravel version needs PHP >8.02 so I updated Obsidian with PHP 8.1 and selected this PHP version in the subscription.
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught ErrorException: file_exists(): open_basedir restriction in effect. File(/var/www/project/resources/views/errors/500.blade.php) is not within the allowed path(s): (/var/www/vhosts/project.com/:/tmp/) in /var/www/vhosts/project.com/httpdocs/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:28
I just uploaded files & directories, just like I do on other projects. I also set the right permissions on the storage and bootstrap/cache directory. I don't understand why this is not working.
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught ErrorException: file_exists(): open_basedir restriction in effect. File(/var/www/project/resources/views/errors/500.blade.php) is not within the allowed path(s): (/var/www/vhosts/project.com/:/tmp/) in /var/www/vhosts/project.com/httpdocs/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:28
- Statamic uses Antlers templates, not Blade. I never used Blad in the fresh project
- Statamic is a flat file CMS, there is no database, all files are uploade exactlyd like they are on the development server (Where it works flawlessly)
- The filepath misses 'vhosts/project.com/httpdocs', IMHO necessary because the file paths does not exists. I don't know why it makes this up because I did not configure this
I just uploaded files & directories, just like I do on other projects. I also set the right permissions on the storage and bootstrap/cache directory. I don't understand why this is not working.