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.
Page 1 of 1
Gii Model Generator Error
#2
Posted 23 November 2012 - 08:19 PM
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?
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?
#3
Posted 07 December 2012 - 12:14 PM
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
i'm sorry but i don't know how to check the permission
main.php is configured correctly
i'm using localhost server only
#4
Posted 08 December 2012 - 04:48 PM
coy_coy, on 07 December 2012 - 12:14 PM, said:
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
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?
Share this topic:
Page 1 of 1

Help












