Gii Model Generator Error
Posted 23 November 2012 - 02:31 PM
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.
Posted 23 November 2012 - 08:19 PM
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?
Posted 08 December 2012 - 04:48 PM
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
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?
Posted 10 December 2012 - 07:44 AM