2016-09-14 4 views
0

이 오류와 관련하여 도움을 줄 수 있습니까? Laravel 4.2 마이그레이션 중 가져 오기Laravel 4.2 마이그레이션 문제

{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Uncaught TypeError: Argument 1 passed to Illuminate\Exception\WhoopsDisplayer::display() must be an instance of Exception, instance of ParseError given, called in C:\Users\adejaremola\Desktop\UniServerZ\www\GoingFurther\bootstrap\compiled.php on line 9462 and defined in C:\Users\adejaremola\Desktop\UniServerZ\www\GoingFurther\bootstrap\compiled.php:9352\nStack trace:\n#0 C:\Users\adejaremola\Desktop\UniServerZ\www\GoingFurther\bootstrap\compiled.php(9462): Illuminate\Exception\WhoopsDisplayer->display(Object(ParseError))\n#1 C:\Users\adejaremola\Desktop\UniServerZ\www\GoingFurther\bootstrap\compiled.php(9414): Illuminate\Exception\Handler->displayException(Object(ParseError))\n#2 C:\Users\adejaremola\Desktop\UniServerZ\www\GoingFurther\bootstrap\compiled.php(9418): Illuminate\Exception\Handler->handleException(Object(ParseError))\n#3 [internal function]: Illuminate\Exception\Handler->handleUncaughtException(Object(ParseError))\n#4 {main}\n thrown","file":"C:\Users\adejaremola\Desktop\UniServerZ\www\GoingFurther\bootstrap\compiled.php","line":9352}}

답변

0

브라우저에서 laravel의 마이그레이션을 호출하는 것처럼 보입니다. 불행히도 여기서는 작동하지 않습니다.

당신은 프로젝트 루트에서 명령을 사용하여 CLI에서 실행해야합니다

$ php artisan migrate