I created my Laravel app and I am uploading on shared hosting. It's show error:
file_put_contents(D:\xampp\htdocs\Laravel\storage\framework/sessions/FlEPsHNW7Rggfb9wvDZ71K7D2YQNNQK0epRBRQnW): failed to open stream: No such file or directory
This is folder from my computer. I read same problems but I am on shared hosting and I don't have a composer or artisan for operations.
Thanks in advance!
What you should do is looking for occurrences of xampp
in your application because it seems you have sessions are written to same folder that you have on your machine and obviously such directory doesn't exist on web server.
Especially make sure you in session.php
you have:
'files' => storage_path('framework/sessions'),
and remove config cache from bootstrap/cache
directory just in case
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments