I just want to run my client's project in to my local and having this problem.
ErrorException in compiled.php line 6301: file_put_contents(C:\xampp\htdocs\tiger\storage/framework/views/111182673e168569a2371e23629d9c08): failed to open stream: No such file or directory
it is something like permission issue .. and i am windows user don't know how to figure it ... experts can u help me ? Thanks in Advance.
I had the same exact problem, try this
chmod -R guo+w storage
php artisan cache:clear
In case anyone here is using Homestead like me, you can run into the same issue using PHPUnit.
When you run php artisan config:cache
, Laravel hardcodes some paths in the cache. If you run it on your Homestead VM, it uses those paths. If you run it from your workstation, it uses those paths. You should make your cache from the Homestead VM and then execute your tests from there as well to avoid cache problems.
You can tell when the cache needs to be cleared by looking at the file path that PHPUnit tries to use. If it's not a valid path on the machine you're running the command from, you need to rebuild your cache.
This solves the problem
php artisan cache:clear
php artisan config:cache
This code clear the cache and delete cache files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With