Answer the question
In order to leave comments, you need to log in
Why is there no access to the Sessions folder?
Hello. When loading the page, the following error occurs:
file_put_contents(\storage\framework/sessions/FKEnsH7AuXW7RBv8GUih49cG2Nx6c6gx0CU7F7al): failed to open stream: No such file or directory
Answer the question
In order to leave comments, you need to log in
Problem solved. It turned out that the site was first developed on one computer, and then it was copied to another, and for some reason the path to the old OpenServer folder was displayed in the "/bootstrap/cache/config.php" file: "D:\OpenServer" (in which the site was originally created), and for this reason the file you were looking for could not be found. I don't know what this file is, but deleting it solved the problem.
your problem is not with the rights, but with the fact that No such file or directory
There are no folders on this path.
Pay attention to the slashes \storage\framework/sessions/
A mixture of Linux and Windows, dig in this direction.
Plus, hosting on Windows, even for development, is already considered bad taste, raise Homestead to Vagrant and that's it, there will be no problems.
In addition, Windows is not case-sensitive, that is, the SomeClass and SoMeClaSS classes are the same for it, but not for Linux, when you upload your site to a server with a linkus, such problems may arise.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question