DEV Community

Roby Cigar
Roby Cigar

Posted on

file_put_contents(...): Failed to open stream: No such file or directory

problem:

file_put_contents(/home/souv1390/public_html/jiwaku.souvenirlilin.com/mental-health-app/backend/storage/framework/sessions/B4BFl0ZHxq0c8wz4r7u2onSCR1eq5JFFQ1H9Ql9T): Failed to open stream: No such file or directory
Enter fullscreen mode Exit fullscreen mode

yg udah dicoba:

composer dump-autoload
composer install
php artisan cache:clear
php artisan clear-compiled
Enter fullscreen mode Exit fullscreen mode

solution:
bikin folder /storage/framework/sessions
mkdir storage/framework/sessions

Top comments (1)

Collapse
 
naruaika profile image
Naufan Rusyda Faikar

Laravel, ya? Itu biasanya hanya perlu benerin file permission-nya.