2016-09-14 99 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