laravel / horizon

Dashboard and code-driven configuration for Laravel queues.
https://laravel.com/docs/horizon
MIT License
3.88k stars 658 forks source link

is_file(): open_basedir restriction in effect. File(/vendor/horizon/nonExistentFile) is not within the allowed path(s): (/var/www:/var/lib/php/session:/tmp:/usr/bin) #1443

Closed ArthurPatriot closed 6 months ago

ArthurPatriot commented 6 months ago

Horizon Version

5.24.4

Laravel Version

10

PHP Version

8.2

Redis Driver

PhpRedis

Redis Version

6

Database Driver & Version

No response

Description

is_file(): open_basedir restriction in effect. File(/vendor/horizon/nonExistentFile) is not within the allowed path(s): (/var/www:/var/lib/php/session:/tmp:/usr/bin)

Steps To Reproduce

Use Horizon 5.24.4 and open home page

ArthurPatriot commented 6 months ago

vendor\laravel\horizon\resources\views\layout.blade.php - problem with this path /vendor/horizon/nonExistentFile.

timacdonald commented 6 months ago

v5.24.4 does not include any reference to nonExistentFile.

Perhaps you have a cached view from v5.24.3. Can you please try running php artisan view:clear?

timacdonald commented 6 months ago

Going to close this one. Let us know if you are still having issues.

michaelklopf commented 6 months ago

I'd like to add that I had this problem out of the blue and upgrading to v5.24.4 helped to solve the problem. Took a while to find the issue though.

timacdonald commented 6 months ago

Great to know that 5.24.4 fixed the issue for you.