pro
pro

Reputation: 609

laravel-5.7: file_put_contents

i created a project on another pc it was working fine, but when i copy it into another pc and try to open it, thn it says:

file_put_contents(E:\xampp\htdocs\lweb2\storage\framework/sessions/tQp2cprdDgWqpDLBx52ncxsrn6vRlCpHcZjZXdjI): failed to open stream: No such file or directory

its using the older path where it is created,

   file_put_contents(E:\xampp\htdocs\lweb2\storage\framework/sessions/eoFduOIDZQiSf979DOWLulZNJU5oub99k6xqnhkl): failed to open stream: No such file or directory

Upvotes: 1

Views: 1012

Answers (1)

Iftikhar uddin
Iftikhar uddin

Reputation: 3182

From you question and comments it seems you need to delete public/bootstrap/cache/config.php

And then run php artisan config:cache

Upvotes: 1

Related Questions