你好複製我laravel項目到其他計算機上,當我嘗試PHP的工匠後爲它服務就可以了,我得到這個消息在localhost:8000。誰能解釋一下這是什麼意思?我刪除了.json會話文件,但仍然沒有任何結果。Laravel計算機計算機遷移會話錯誤
Whoops, looks like something went wrong.
1/1 InvalidArgumentException in FileViewFinder.php line 137: View [index2] not found.
in FileViewFinder.php line 137
at FileViewFinder->findInPaths('index2', array('C:\Users\chris-basic\Desktop\p\resources\views')) in FileViewFinder.php line 79
at FileViewFinder->find('index2') in Factory.php line 174
at Factory->make('index2', array(), array()) in helpers.php line 855
at view('index2') in web.php line 20
at RouteServiceProvider->{closure}() in Route.php line 176
at Route->runCallable() in Route.php line 147
at Route->run(object(Request)) in Router.php line 644
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 646
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 620
at Router->dispatchToRoute(object(Request)) in Router.php line 598
at Router->dispatch(object(Request)) in Kernel.php line 267
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 149
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116
at Kernel->handle(object(Request)) in index.php line 54
at require_once('C:\xampp\htdocs\test2\public\index.php') in server.php line 21
Whoops, looks like something went wrong.
1/1 ErrorException in Filesystem.php line 111: file_put_contents(C:\Users\chris-basic\Desktop\p\storage\framework/sessions/y4WU6ifJfcMd2ffoFyIZebwPw5ZCJyRxwHMLds2V): failed to open stream: No such file or directory
in Filesystem.php line 111
at HandleExceptions->handleError('2', 'file_put_contents(C:\Users\chris-basic\Desktop\p\storage\framework/sessions/y4WU6ifJfcMd2ffoFyIZebwPw5ZCJyRxwHMLds2V): failed to open stream: No such file or directory', 'C:\xampp\htdocs\test2\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php', '111', array('path' => 'C:\Users\chris-basic\Desktop\p\storage\framework/sessions/y4WU6ifJfcMd2ffoFyIZebwPw5ZCJyRxwHMLds2V', 'contents' => 'eyJpdiI6IlFrWUVnRCszeEwxem44UXc2dW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M2E2NTlkY2EzMDRlNjM5In0=', true) in FileSessionHandler.php line 83
at FileSessionHandler->write('y4WU6ifJfcMd2ffoFyIZebwPw5ZCJyRxwHMLds2V', 'eyJpdiI6IlFrWUVnRCszeEwxem44UXc2dWZZaVE9PSIsInZhbHVlIjoiU1JRU3J6ckx2eTFSc0RjSnArQnBPYzdiTktORVVCNTBkRUF5MHh6M2hqM1I0QnlWNEtPYTRlOWxyOWduSDR5Z3RxakZ2cjRFWWRwQ2U3Z0VcL3JLbHVBSG5FWlwvNGNVNUQrSWROUGM5eG8zdkVjaGR5RW5mdTNCZzk4S0M4OEsySUppdFwvYnN4VGtveEhLbndrT1lEc2hRS28wMXJnT1h5R2lYXC9ZdUtYN2ZKd2I5Mzl5aG1CYnJmdlcxTk1WYmxLM25VT0hnTWRcLyt1QUM4dkd4cnpBRGE3UzAwZ1JKbldkTHhCQndMUnRGWWFORER2WGxHQkVFWTlqY3FwSFhGcjFPdFhqTFU0eEhoaHdaYUs2ZUJJbjk1QmE4RDQxYUN2TlE2T2ZaXC9cLzBwQlZZYUlhUVd5Vko0QUtYbDJKZU5wMVNLMmN6N3pqQjh2ZHdlTlpvcTRyOG9mbUQwQ3lpOWwxTjByck42SGM0dmFBST0iLCJtYWMiOiI4Y2JkOGEwN2NiNjA5NDc4NTQzZTRlZTJhZTIxOTI2MmE5MzUzODVlMGNkZTZiMTRkM2E2NTlkY2EzMDRlNjM5In0=') in Store.php line 262
at Store->save() in StartSession.php line 88
at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 176
at Kernel->terminate(object(Request), object(Response)) in index.php line 58
at require_once('C:\xampp\htdocs\test2\public\index.php') in server.php line 21
第一,不'C:\用戶\克里斯 - 基本\桌面\ p \資源\ views'是正確的路徑? 'index2'確實存在? –
索引2存在,這是從第一臺計算機我的道路,但我不明白爲什麼它保存在項目 –
也許這將幫助:http://stackoverflow.com/questions/32697861/moving-laravel-project-between -computers – Mirceac21