Error while deploying Laravel project

Asked

Viewed 199 times

-1

By doing the deploy of my application on a Linux machine returns an error stating that the view was not found

"View [auth.login] not found." 

But the view is in the folder, and then the page reloads and another error is informing including the path (path) old machine

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

In my local machine works perfectly, what are these mistakes and how I repair them ?

  • How this procedure was done?

  • Try renaming the "vendor" folder to "vendor.bkp" and then run the following command at the project root composer update --no-scripts, and test the project again.

  • I followed the following procedure to deploy https://udemy-assets-on-demand2.udemy.com/2018-12-15_10-48-34-5d2debde0d335ad517a666b3b5843b64/original.pdf?nva=20190208023010&download=True&filename=deploylinux.pdftoken&=02e40aa1e0e2786d0829f

  • Try running the following commands at the project root, composer dump-autoload and php arsisan cache:cleanand see if the mistake will continue

  • I still can’t solve are the same mistakes

  • are you using git? Maybe you forgot to add the files? git add .

Show 1 more comment

1 answer

0

Possible reasons:

  1. You are reading the compiled file from your Standard. You can clean using:
php artisan clear-compiled  
php artisan view:clear # limpar apenas views
  1. If you use git, you may have forgotten to add the file(s) (s)?
git add .

Browser other questions tagged

You are not signed in. Login or sign up in order to post.