Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 5.1: ErrorException in file_put_contents() error,possibly out of free disk space

This error arrived all out of a sudden.

ErrorException in D:\xampp\htdocs\pckg\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php line 81: file_put_contents(): Only 0 of 3520 bytes written, possibly out of free disk space

like image 937
D.P. Avatar asked Aug 26 '15 05:08

D.P.


2 Answers

Try clearing Composer's cache by running composer clear-cache

like image 125
Ayman Elshehawy Avatar answered Oct 31 '22 16:10

Ayman Elshehawy


I just freed / cleared the laravel.log file in the storage/logs folder.

Also clearing cache& sessions folders in storage/framework folder can help.

It just cleared the error and the login page was loaded again !

like image 22
D.P. Avatar answered Oct 31 '22 18:10

D.P.