2013-06-03 3 views
0

왜 이런 일이 발생하는지 잘 모르겠습니다. 나는 생성 할 수있다 : 아무런 문제가없는 seed하지만, 마이그레이션을 할 때 아래에서 보는 것과 같은 오류가 계속 발생한다.Laravel 4 generate : migration 오류

php artisan generate:migration create_Post_table --fields="title:varchar, body:text" 

Generating optimized class loader 
Compiling common classes 
{"error":{"type":"ErrorException","message":"fopen(\/Applications\/MAMP\/htdocs\/DRCSports\/bootstrap\/compiled.php): failed to open stream: Permission denied","file":"\/Applications\/MAMP\/htdocs\/DRCSports\/vendor\/classpreloader\/classpreloader\/src\/ClassPreloader\/Command\/PreComp 
+2

'bootstrap' 디렉토리에 쓰기 권한이 있습니까? –

+0

drwxrwxr-x @ 6 rachaelhill admin 204 Jun 3 14:05 부트 스트랩 – Rachael

+1

나는 그것을 작동 시켰어! 고마워, 부트 스트랩에 대한 나의 권한이 아니지만 내 부트 스트랩 폴더에있는 내 complied.php. – Rachael

답변

0

당신이 bootstrap 디렉토리 및 compiled.php 파일 모두에 쓰기 권한이 있는지 확인합니다.