У меня есть ошибка об этом коде. Проблема в certificate_controller.ctp
Parse error: syntax error, unexpected T_STRING
function index() {
$this->Certification->recursive = 0;
$this->Trainee->recursive = 0;
//$this->set('certifications', $this->paginate());
$this->set('viewCertificate',$this->View Certificate->find('list'));
$this->set('courses',$this->Course->find('list'));
$this->set('locations',$this->Location->find('list'));
$this->set('trainees',$this->Trainee->find('list'));
//$this->Trainee->recursive = 0;
$locations = $this->Location->find('list', array('order'=>'name ASC'));
//$this->set(compact('courses','locations','trainees'));
}
Спасибо за продвижение