Jrb
Jrb

Reputation: 461

file_put_contents(/homepages/storage/framework/views/c8d540ced881ee3d14baa6e1259a7deab143b7fa.php): failed to open stream: No such file or directory

I have a Laravel 5 project that I copied from my friend with FTP to work on it in locally. I ran composer install to install the vendor.

The server is up, but when I enter localhost:8000, it shows me this error:

file_put_contents(/homepages/17/d595652778/htdocs/oneQ/storage/framework/views/c8d540ced881ee3d14baa6e1259a7deab143b7fa.php): failed to open stream: No such file or directory

Upvotes: 3

Views: 3483

Answers (4)

B.K
B.K

Reputation: 897

I had a similar issue and i managed to fix it by running:

composer install

from within the project directory or the container if you a using Docker-based development tool such as ddev.

Upvotes: 0

Iqbal hnn
Iqbal hnn

Reputation: 1

in my case i try to file config.php "delete file bootstrap/cahce/config.php" and its working.

Upvotes: 0

It hasn't worked for me:

php artisan config:cache

However this one has worked:

php artisan view:cache

Upvotes: 0

Pratik Powar
Pratik Powar

Reputation: 261

try this code

php artisan config:cache

Upvotes: 3

Related Questions