2015-10-14 91 views
0

這是我從電子郵件日誌中收到的消息。我收到它2次。我檢查該人是否來自Facebook,但當我嘗試重新播放時,對我來說沒有問題。我的Laravel 5製作網站崩潰,但無法在導航時崩潰

#0 /var/www/html/xxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\Routing\RouteCollection->match(Object(Illuminate\Http\Request)) 
#1 /var/www/html/xxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(652): Illuminate\Routing\Router->findRoute(Object(Illuminate\Http\Request)) 
#2 /var/www/html/xxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) 
#3 /var/www/html/xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(214): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) 
#4 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request)) 
#5 /var/www/html/xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) 
#6 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) 
#7 /var/www/html/xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) 
#8 /var/www/html/xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(115): Illuminate\Pipeline\Pipeline->then(Object(Closure)) 
#9 /var/www/html/xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(84): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) 
#10 /var/www/html/xxx/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) 
#11 {main} 

回答

0

當用戶訪問沒有匹配路徑的url時,形成我的這種情況。 您沒有在routes.php中爲被訪問的網址定義的路由。

Mybe以下情況: 如果有網址: www.ecample.com/image.gif 和路線

如果圖像存在laravel將顯示圖像,但如果圖像不存在的路線將被觸發,如果任何匹配給定的網址。如果圖像小而不易察覺,則不會注意到錯誤。

+0

不,不是因爲我可以正常導航,仍然會得到錯誤。但在電子郵件中獲取... –

+0

我編輯我的帖子也許這是問題。 – fico7489