Error when entering my website

Website URL

http://final1.infinityfreeapp.com/

Error Message

file_put_contents(C:\xampp\htdocs\sedif\storage\framework/sessions/7BHJGDUbv9Kccy6r7jt9RWzd5PJX8j2lDwxdiIwq): No se pudo abrir la secuencia: No existe tal archivo o directorio

When entering the url of my website it sends me this error which tells me that a file is missing or that it is not found, it is worth mentioning that my page that I am trying to upload was made in Laravel, I have already uploaded all my files , and I have assigned the corresponding permissions and it still sends me this error, if anyone can help me I would greatly appreciate it

Other Information

Everything is uploaded correctly and the index, htaccess, autoload, and env files are configured correctly, but it still gives me these errors

of course. how do you expect the server to open a folder that is on your machine? for solutions:
https://laracasts.com/discuss/channels/laravel/file-put-contentscxampphtdocsxxxstorageframeworksessionskxcxw0bxfbueyvf2fcn12hiht9vfewtffezs42rk-failed-to-open-stream-no-such-file-or-directory

4 Likes

Could you please try to clear empty bootstrap/cache folder in your website?

Laravel caches configuration for performance, but if you generate the cache on your computer, it may end up caching values specific to your computer which don’t work on our hosting, like the directory where Laravel is setup.

3 Likes

I already checked it but now it gives me the following error: 500
SERVER ERROR
I have to modify something else, it should be noted that I deleted the entire cache folder

I just checked and I still see an error referencing your local path. Is the bootstrap/cache folder gone completely?

You may also want to check your config directory and .env file for any hard coded file paths from your own computer.

A 500 error means something crashed. It’s likely that there is another error besides this particular directory issue.

2 Likes

como puedo saber cual es el error?

TRANSLATED BY MOD

How can I know what the error is?

You could try to enable Display Errors in the PHP options of your site:

However, your own software may override this setting. Sometimes there is a debug mode flag or a log file in your website to obtain real error messages.

You can try setting APP_DEBUG=true in your .env file, or manually update the debug option in config/app.php directly. You may also find errors in the storage/logs folder of your site.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.