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

D.P. picture D.P. · Aug 26, 2015 · Viewed 26.5k times · Source

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

Answer

D.P. picture D.P. · Aug 26, 2015

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 !