Home > OS >  i try to upload laravel project in cpanel but it shows the following error
i try to upload laravel project in cpanel but it shows the following error

Time:12-26

file_put_contents(C:\xampp\htdocs\abacus\storage\framework/sessions/Iw3fk0d5uhp9LsrWhtfNb6E7VgX8YNN6639P3Md4): failed to open stream: No such file or directory

CodePudding user response:

at first make sure you have this folder

storage/framework/sessions

then run comands :

php artisan cache:clear

php artisan config:clear

Then assign the permissions to the folder storage/framework/sessions

CodePudding user response:

Go to directory laravel/bootstrap/cache and delete config.php file.

Thanks to Udhaf Sarvaiya. https://stackoverflow.com/a/59598600/14809952

  • Related