coy_coy
(Rexliterato)
November 23, 2012, 7:31pm
1
Hi,
I’m having problem accessing Model Generator in Gii.
Everything works fine except Model Generator.
It will just display a blank page.
I checked with chrome’s developer tools, it shows that no data available.
I checked the folders under framework, i think it’s all good.
I didn’t change anything when it comes to configurations.
Please help. TIA.
konapaz
(Konapaz)
November 24, 2012, 1:19am
2
Hi coy_coy
did you check the permissions to write file by php?
This problem exists only in Yii?
also check the configuarions on protected/config/main.php
‘gii’ => array(
‘class’ => ‘system.gii.GiiModule’,
‘password’ => ‘mypass’,
‘ipFilters’ => array(‘127.0.0.1’, ‘::1’),
),
Do you use localhost or online remote server?
coy_coy
(Rexliterato)
December 7, 2012, 5:14pm
3
sorry for the late reply.
i’m sorry but i don’t know how to check the permission
main.php is configured correctly
i’m using localhost server only
konapaz
(Konapaz)
December 8, 2012, 9:48pm
4
coy_coy:
sorry for the late reply.
i’m sorry but i don’t know how to check the permission
main.php is configured correctly
i’m using localhost server only
Are you sure that the connection with database is correct? check the connectionstring
‘connectionString’=>'mysql:host=localhost;dbname=testdrive…
'username'=>'root',
'password'=>''
The names of your tables has valid format?
Try to connect with pure php commands to test if the connection with database works (also test few queries related with your tables), also the database is the mysql or another one?
Go to the protected directory.Apply these commands
chmod 755 controllers
chmod 755 models
chmod 755 views
coy_coy:
sorry for the late reply.
i’m sorry but i don’t know how to check the permission
main.php is configured correctly
i’m using localhost server only