Warning: get_class() called without object from outside a class in D:\wwwroot\syfloor\wwwroot\old\framework\gii\generators\model\views\index.php on line 2

Fatal error: Class 'Yii' not found in D:\wwwroot\syfloor\wwwroot\old\framework\gii\generators\model\views\index.php on line 3