من تازه با این فریم ورک آشنا شدم
دارم باهاش یک سایت مینویسم مشکل اینجاس که من فرم عضویت رو نوشتم ولی برای فرم لاگین قسمت
$this->_identity=new UserIdentity($this->username,$this->password);
print_r($this->_identity->authenticate());
if(!$this->_identity->authenticate())
$this->addError('password','Incorrect username or password.');
ارروی مبنی بر
$this->tableSchema=$table;
2281 $this->columns=$table->columns;
2282
2283 foreach($table->columns as $name=>$column)
2284 {
2285 if(!$column->isPrimaryKey && $column->defaultValue!==null)
2286 $this->attributeDefaults[$name]=$column->defaultValue;
2287 }
2288
2289 foreach($model->relations() as $name=>$config)
2290 {
2291 $this->addRelation($name,$config);
2292 }
2293 }
2294
میده حتی من از
$etona = User::model()->findByAttributes(array('username'=>'sitename'));
هم استفاده میکنم باز هم اررور میده
میدونید مشکل از کجاس

Help











