lundi 3 avril 2017

laravel cache failed to open stream: No such file or directory

i use laravel 5.4. a clear cache after update config file. that appear like this error

ErrorException in Filesystem.php line 111:
file_put_contents(/home/web_user/webhosts/mufer/backend.mufer.local/storage/framework/views/318a49f22562be3fc1c86c88ecc141c22e`8fed4e.php): failed to open stream: No such file or directory`

then i try to fixed using following command

php artisan route:cache
php artisan view:clear
php artisan config:cache

and

file_put_content...fail to open stream:Permission denied in Laravel 5

some answer are said create /storage/framework sub folders (view/cache/ sessions) and then composer update. but that also not working.

then i run composer dump-autoload andcomposer update`

but problem not solved..



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire