Yii Framework Forum: gii ModelGenerator - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

gii ModelGenerator Waiting For localhost...

#1 User is offline   yiirider 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 22-May 17

Posted 23 May 2017 - 03:24 AM

GII CodeGenerator is not working for me when i click any link of Generator(Model,Controller,Form,Module,GiixCrud and GiixModel),
Yii::app()->request->userHostAddress returns ::1, actually my ip was localhost:8080 i have configured in main.php as follows..
'modules' => array(
'gii' => array(
'class' => 'system.gii.GiiModule',
'password' => 'rajesh',
'ipFilters' => array('127.0.0.1:8080', '::1'),
// 'ipFilters'=>array($_SERVER['REMOTE_ADDR']),
'generatorPaths' => array(
'ext.giix-core', // giix generator
),
),
),
This is my second day of yii framework can anyone contribute to make better this one..
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users