I am trying to upload my laravel project from Xampp to shared hosting, but I get the error:
file_put_contents(C:\xampp\htdocs\resido\storage\framework/sessions/Jmmr9HI35UYdhIfZLDTVlLGjCy5AHiuVK9NfOQuT): failed to open stream: No such file or directory
when I try either of the following solutions:
- delete the file app/bootstrap/cache/config.php
- composer dump-autoload
- php artisan config:clear,
the application works. however, all the changes I made while working with xampp is gone and I get the old view from the application template. how do I fix this problem without losing the changes I made to the project?
I think I'm having this error because the folder C:\xampp\htdocs\resido\storage\framework/sessions does not exist how do I change this directory to that of the live hosting?