문제

i am trying to use cakes baking console and when i use cake bake model all

i am getting the following error

enter image description here

Attendance Table Structure

CREATE  TABLE IF NOT EXISTS `mydb`.`attendences` (
  `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT ,
  `dateTime` DATETIME NULL ,
  PRIMARY KEY (`id`) )
ENGINE = InnoDB;
도움이 되었습니까?

해결책

Rather than baking it all at once, do it table-by-table and model-controller-view separately. That way you'll be able to pin down the error.

Have you created any fixtures correctly? See http://book.cakephp.org/view/360/Creating-fixtures and check the syntax is correct, particularly in the array definitions.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top