March 10 2013

Yii rules numerical minimum or maximum display error message

Tagged Under :

Normally in Yii model rules validation to set the error message like below:
array('username', 'required', 'message'=>'username cannot blank.');

But, numerical validate method is different if you set the ‘min‘ or ‘max‘ inside the rules.

February 01 2013

Yii PHPUnit CLI has stopped working

Tagged Under : ,

Few day ago I install PHPUnit3.7 on my PC. and I follow instruction install on my PC.

So far everything working properly. But when I try run it on Yii, it pop out an alert message “CLI has stopped working”.