Yii Error 403 Please Help

Hello everyone :)

I already wrote my problem into the german forum but didn’t get any answers so I try it here.

I’m a student who doesn’t has any experience with Yii. I got an exercise from the university to make a web-application localy with virtualbox. So I downloaded virtualbox, php, MySQL, … and it works. Then I put my git repository into it and came across with Yii as framework for my web-application. I downloaded this into the virtualbox too and unpacked it, installed it. This works too.

Okay my problem is the gii-module. My main.php file looks like this:

5891

main.php 1.png

5892

main.php 2.png

But I always get this error:

5893

Yii Gii-Module.png

I really don’t know what I’m doing wrong and even our system administrator doesn’t know how to fix this :(

I hope you can help me it would be so awesome :)

u have to uncomment the module code in protected/config/main.php

// uncomment the following to enable the Gii tool

	'gii'=>array(


		'class'=>'system.gii.GiiModule',


		'password'=>'Enter Your Password Here',


		// If removed, Gii defaults to localhost only. Edit carefully to taste.


		'ipFilters'=>array('127.0.0.1','::1'),


	),

Enter Your Password Here => ur gii password goes here. and ur ip port here 127.0.0.1’,’::1

I have already uncomment this part and entered the password and the ip but it still doesn’t work :(


'ipFilters'=>array('127.0.0.1','::1'),

There should be your IP.

http://www.yiiframework.com/forum/index.php/topic/9646-cant-get-past-gii-login-page/

Thank you everyone I found the problem. Gii uses the IP of my Putty :) Now it works.