내가 시도 하던지간에 /authenticate/{code}
경로는 NotFoundHttpException
을 반환합니다. routes.php에서Laravel 5.2 특정 경로가 하나만 존재하지만 존재하지 않습니다.
내 경로 :
Route::get('/authenticate/{code}', ['as' => 'authenticate', 'uses' => '[email protected]']);
내가 경로를 호출하고
:
URL::route('authenticate', $code)
내 로컬 컴퓨터에 그것이 잘 실행,하지만 내 프로덕션 서버에, 그것은 소요 나를 NotFoundHttpException
페이지로 보내주십시오.
web
미들웨어 그룹의 내부 사이트입니다. 나는 (아무 성공) 시도
:
- 서버에 github에의 REPO를 재설정 (신선한 설치)
composer update
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan config:clear
,
composer dump-autoload
- 가 무엇을 할 수
authenticate-email
-authenticate
에서 경로를 변경? 사이트의 다른 모든 경로가 작동합니다.
'php artisan route : list'를 할 때 경로가 표시되는지 확인해 보셨습니까? – dargue3
@ dargue3 예, 있습니다. – Haring10
문제 해결 단계와 마찬가지로 'Route :: any (...')를 선택하여 시도해 봅니다. – camelCase