Wednesday, April 12, 2017

Laravel file_put_contents() error

I have a website which works locally (through VM), but when I upload it to the server I get this error

ErrorException in Filesystem.php line 111:

file_put_contents(/home/vagrant/Code/xxxx/storage/framework/sessions
/Ec2ceBoBBnKIOx8SzMXOf4akbzA5g5aI9WHBEhn6): 
failed to open stream: No such file or directory

Things I've tried that didn't help: running composer update, running dump-autoload, running cache:clear, running config:cache, deleting everything on server and re-uploading everything after, creating directory/file manually, setting permissions to 777.

Any insights?



via Norgul

Advertisement