I am new to Yii and trying to follow steps in Getting Started sections. I have installed and created a testdrve application and it is working fine.
I run yii on windows/wamp server
For running Gii, I enabled GII in config/main.php but when I run the URL it shows the home page. It is not showing the login prompt for me. Can anyone help on this?
stasuss
(Stasuss)
February 24, 2012, 9:44am
2
testdrive/index.php?r=gii is the url?
stasuss
(Stasuss)
February 24, 2012, 9:55am
4
and is there theese lines in main.php config?
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'your pass',
),
StasuSS:
and is there theese lines in main.php config?
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'your pass',
),
yes, all these are in place. Please see the below lines from my config file
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'test'
),
stasuss
(Stasuss)
February 24, 2012, 10:10am
6
and how is configured you urlnamager?
and version of yii are you using?
Do you have ip in your config?
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'password',
// If removed, Gii defaults to localhost only. Edit carefully to taste.
'ipFilters'=>array('127.0.0.1','::1'),
),
This was necessary on Windoze
I’m on linux now
doodle
yes, all these are in place. Please see the below lines from my config file
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'test'
),
Hello, there. Besides, can i save that config file on my PC?
renjithmb
(Renjith)
February 25, 2014, 6:47am
9
in my situation (Enabled yii url management and removed index.php)
the below link worked to get gii.
localhost:8080/testapplication/gii