Witam! To pierwszy problem z YII na które nie mogę znaleźć rozwiązania liczę na to że ktoś z was będzie znał rozwiązanie.
w mojej klasie kontrolera dodaje standardową klase filtrów z accessControl (w poprzednich projektach używałem tego samego kodu i nie generował problemu).
public function filters()
{
return array(
'accessControl',
);
}
Niestety tym razem rezultatem jest taki komunikat:
Internal Server Error
Property "CWebUser." is not defined.
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.
Thank you.
2015-01-03 23:20:15
Dodam, że jestem na samym początku tworzenia tej aplikacji i nie używam rozszerzeń ani innych klas wspomagających cały kontroler wygląda tak:
class squeezeController extends CController
{
public function filters()
{
return array(
'accessControl',
);
}
public function actionIndex()
{
echo 'test udany';
}
}