Laravel 5 show ErrorException file_put_contents failed to open stream: No such file or directory

Evgeniy :

I have a project on Laravel 5 and I work with it at the office and at home too. It works fine, but recently at home it stopped working. Laravel show me two ErrorException

file_put_contents(G:\project\storage\framework\views/751d8a0fd8a7d4138c09ceb6a34bb377aa2d6265.php):
failed to open stream: No such file or directory

and

file_put_contents(G:\project\storage\framework/sessions/aIXycR4LIAUBVIqZu0T590paOMIpV8vfZGIroEp0):
failed to open stream: No such file or directory

I'm searching problem decision with Google and find information about correct rights. All advice is about Linux, but I'am work in Windows at the office and at home too.

When I try to clear application cache and view cache, artisan talk to me - ...cleared. But cache data and views are present in storage.

How can I fix this problem?

Thanks in advance!

Evgeniy :

After some research I understand - I have very similar, but different root project locations and its cached in /bootstrap/cache. After cache clearing project started.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

ErrorException in Filesystem.php line 111:file_put_contents(): failed to open stream: No such file or directory

file_put_contents(path): failed to open stream: Is a directory

ErrorException: md5_file(/tmp/phptdn2a80.30601700 1609791282): failed to open stream: No such file or directory

dompdf inside docker container: file_put_contents(x/x) failed to open stream: No such file or directory

file_put_contents(.../bootstrap/cache/services.json): failed to open stream: No such file or directory

file_put_contents(xxx.pdf): failed to open stream: No such file or directory"

How to resolve the error "[ErrorException] file_get_contents(/var/www/laravel/.env): failed to open stream: No such file or directory"?

Laravel 5.2 : file_put_contents (xxxxxxxxxxxxxxx.php) failed to open stream: Permission denied

file_put_contents into vfsstream raises error `failed to open stream:`

file_put_contents failed to open stream even though folder is there

composer install * file_put_contents * failed to open stream

Failed to open stream on file_put_contents in PHP on CentOS 7

PHP file_put_contents Failed to open stream, invalid argument

PHP file_put_contents: Failed to open stream: Permission denied

file_put_contents(C:\xampp\htdocs\instant\storage\framework/sessions/FF): failed to open stream: No such file or directory

failed to open stream: No such file or directory (Laravel)

Laravel 5 - ErrorException failed to open stream: Permission denied

failed to open stream: No such file or directory

Failed to open stream: No such file or directory

Laravel classloader.php error failed to open stream: No such file or directory

Laravel include(DatabaseSeeder.php): failed to open stream: No such file or directory

Warning: file_put_contents(./aa.txt): failed to open stream: Permission denied - in XAMPP

Composer: file_put_contents(./composer.json): failed to open stream: Permission denied

Warning: file_put_contents(symfony): failed to open stream: Permission denied in Command line code on line 1

Laravel 5 error 500 server error. Uncaught ErrorException: file_put_contents(/var/www/laravel/storage/framework/views/

file_get_contents(): failed to open stream: No such file or directory

failed to open stream: No such file or directory Codeignter

PHP - Failed to open stream : No such file or directory

PHP/SQL - failed to open stream: No such file or directory