Laravel 5.2 error when uploading it in hosting

0

I have a project done in laravel 5.2 with xampp on my local machine. When uploading it to a hosting, when I try to access the page, it returns an error that says it can not find the file (No such file or directory). From what I see in the message, the problem is that the page will look for the file on my local computer, and I should look for it on the server where I upload my project. The database was imported from my local PC to the server. I have searched but I have not found any solution. I do not understand why you are going to look for the file to my local xampp.

    
asked by Rodrigo Banegas 01.06.2017 в 20:03
source

3 answers

0

Did you check that the sessions folder has write permissions?

You can also try with the php artisan cache:clear command on your local machine and then upload the project to your hosting.

    
answered by 01.06.2017 в 22:48
0

Dear ... If you did not work clear: cache you could review the files generated by laravel to optimize the service load of your application.

I leave the following links ... link

link

Both links indicate where the files are located. Check them out.

Greetings

    
answered by 03.06.2017 в 01:56
-1

Check storage write permissions, and clean the views with

php artisan view:clear
    
answered by 11.01.2018 в 21:55