2016-11-01から1ヶ月間の記事一覧
Laravel5.3をXserverで動かそうとしたらエラーになった。 [ERROR] Use of undefined constant STDIN - assumed 'STDIN'bootstrap/autoload.phpの先頭にdefine('STDIN', fopen('php://stdin', 'r'));を置いたら収まった。何だったんだ。
Laravelで php artisan migrate:resetしたら、以下のエラーが出た。外部キー関連のエラー。 SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or upda te a parent row: a foreign key constraint fails (SQL: drop table if exists `t…