gii Questions
4
Solved
I have generated a Model using gii of a mariadb view, which worked.
Then trying use the gii CRUD generator for the model, I get the error
The table associated with app\models\Future must have pr...
8
Solved
I have a server machine and I am trying to allow my PC ip address to use gii.
My PC ip address is 192.168.1.101
The server machine ip is 192.168.1.102.
I used composer to install the gii module....
5
i downloaded the advanced template, extracted it and changed the root documents for the back-end and the front-end, but i can't seem to figure out how to get Gii working to perform the crud operati...
11
I am new in yii framework. In my site gii shows the error
Error 403
You are not allowed to access this page.
I set the gii in the config file like this
'gii'=>array(
'class'=>'system.gii...
1
Solved
Could you provide an example usage. Description will be highly appreciated. I can not find a good example for it.
1
Solved
I allways setup table prefix - for this post lets say my prefix is abc_.
So in common\config\main-local.php. I have:
'components' => [
'db' => [
'class' => 'yii\db\Connection',
'dsn' =&...
4
I'm a noob and running through a Yii tutorial on AWS. So far I've been able to get everything up and running - including mysql connection. But now I'm using the Gii code generation tool to help cre...
Shumway asked 14/7, 2012 at 7:11
1
Solved
I'm trying to find a way to use custom Gii templates for Yii 2, but looking at the missing documentation in the docs, I assume it's not possible yet?
Or am I missing something?
2
Solved
class SomeController extends Controller
{
public function actionIndex() {
echo 'This is some controller';
}
}
class AnotherController extends SomeController
{
public function actionIndex() ...
1
© 2022 - 2024 — McMap. All rights reserved.