Top "Yii2-basic-app" questions

Yii 2 Basic Project Template is a skeleton Yii 2 application best for rapidly creating small projects.

Error in accessing post json data in yii2

Am passing data to yii2 using ajax request but i keep on getting a 500 error This is the ajax request …

php ajax yii2 yii2-advanced-app yii2-basic-app
Yii2: compare validation of password and repassword

I'm a beginner of Yii, that's why can't figure out, what's wrong. I use the same model - Users - …

php yii2 yii2-basic-app yii2-validation
How to create a directory inside a directory in yii2 and upload file into that directory

I have a form <?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']]); ?> <?php echo $form-&…

yii2 yii2-advanced-app yii2-basic-app yii2-model yii2-validation
How to get params in url , and it is array? yii2

I have url like this http://localhost/belajar4/web/index.php?r=data%2Fsingle&id=2&DataSearch[TANGGAL]=2015-08…

php yii2 yii2-basic-app
Yii2 db mysql connection throw ssh port 33060

I have problem with connecting to mysql database throw ssh on port 33060, My conf : return [ 'class' => 'yii\db\Connection', …

php mysql yii2 yii2-advanced-app yii2-basic-app
Yii2 Horizontal form

What I want to do is to change from bootstrap vertical to horizontal form and this is what I've tried: &…

yii2 yii2-advanced-app yii2-basic-app
Invalid validation rule: a rule must specify both attribute names and validator type, in Yii2

In my basic app project, I'm trying to integrate the signup form, I'm getting this error: Invalid validation rule: a …

yii2 yii2-basic-app yii2-user yii2-validation
Call to undefined method app\models\Message::model()

I am new with Yii2, using Gii tool,I have created the model and CRUD components for simple 'Message' class …

php activerecord yii2 yii2-basic-app
Installing Yii2 via composer failed

I want to install yii2 via composer and it's give me a error here is error: Your requirements could not …

php yii yii2 composer-php yii2-basic-app
Show/Hide Grid View Action Column Based On Condition - Yii2

I was trying to show/hide ActionColumn based on some condition. In my system, 2 roles are defined : Primary & Secondary. …

php gridview yii2 yii2-basic-app yii2-widget