Magento 1.7.0.0에서 alan storms article about it 다음에 사용자 지정 엔티티를 설정하려고하는데이 간단한 설치 스크립트로 "테이블을 만들 수 없음 : eavblog_posts ".Magento eav 엔티티 설치 실패 - 테이블을 만들 수 없음
는 스크립트가 deadsimple과 같이 보입니다 설치 내 :
<?php
$installer = $this;
$installer->addEntityType('complexworld_eavblogpost',
Array(
'entity_model'=>'complexworld/eavblogpost',
'attribute_model'=>'',
'table'=>'complexworld/eavblogpost',
'increment_model'=>'',eav/entity_increment_numeric
'increment_per_store'=>'0'
));
$installer->createEntityTables(
$this->getTable('complexworld/eavblogpost')
);
스크립트 내 작업 설치를 어떻게받을 수 있나요? 이것은 알려진 magento 버그입니까? 모든
미안 해요, 난 프로그램이 코멘트 생각하는 것은 명확하지 않다.코드는 다음과 같습니다 'increment_model'=> '', 'increment_per_store'=> '0', 답변을 제공해 드리겠습니다. 감사합니다. –