sayus2884
(Joniah2884)
1
Hi, i’ve run into a weird error. Fatal error: Class ‘AccountCode’ not found. The error was produced when i placed this code:
<?php echo $form->textFieldControlGroup($model,'account_code_id',array('span'=>5)); ?>
in my form. I know that account_code_id is in the model. any ideas as to why it produced this error?
JbalTero
(Jbaltero)
2
Where did you generate that model? Are you sure you’ve imported it in config/main?
sayus2884
(Joniah2884)
3
The model being used is Scdattrib but there is no AccountCode class which is weird.
JbalTero
(Jbaltero)
4
You should Import that model class in config/main