403 You are not allowed to access this page – yii error when accessing gii

error image

403 you are not allowed yii error

403 you are not allowed is the error I got while using the young php framework YII. So far I am enjoying the yii framework. But, before I start to evangelize about it, I have to get some muscles on it.

Do you the different types of posts

I stumbled upon the above error when I start new project. The fix is on the ip filer of the main.php in the protected/config folder.

More on the fixing 403 you are not allowed error

On the config where there is a 'gii' => array(..), there is a ipFilters where you can list your own.

If not provided, local host will be the default and there should not be any problem, so one solution can be to have empty array for ipFilters.

Another is providing $_SERVER[‘REMOT_ADDR’] provided you are using it knowing the risk.

Add batch/multiple posts to Facebook Page – Graph API

Using Facebook API to post articles from PHP

Check if Function Exists in Javascript

AbstractSureFireMojo Class Missing Maven Surefire

Redirect to home page on 404 – htaccess

Spring Data error: getOutputStream() has already been called for this response

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*