title: gii 404 error. Unable to use Gii
body: <p>Following <a href="http://www.yiiframework.com/doc/blog/1.1/en/prototype.scaffold" rel="nofollow">http://www.yiiframework.com/doc/blog/1.1/en/prototype.scaffold</a> tutorial, it mentions to add some code to /blog/protected/config/main.php</p>
  
  <pre><code>return array(
      ......
      'import'=&gt;array(
          'application.models.*',
          'application.components.*',
      ),
  
      'modules'=&gt;array(
          'gii'=&gt;array(
              'class'=&gt;'system.gii.GiiModule',
              'password'=&gt;'pick up a password here',
          ),
      ),
  );
  </code></pre>
  
  <p>These are the last few lines of my code for main.php, as you can see, I have followed instructions...</p>
  
  <pre><code>        'errorHandler'=&gt;array(
              // use 'site/error' action to display errors
              'errorAction'=&gt;'site/error',
          ),
          'log'=&gt;array(
              'class'=&gt;'CLogRouter',
              'routes'=&gt;array(
                  array(
                      'class'=&gt;'CFileLogRoute',
                      'levels'=&gt;'error, warning',
                  ),
                  // uncomment the following to show log messages on web pages
                  /*
                  array(
                      'class'=&gt;'CWebLogRoute',
                  ),
                  */
              ),
          ),
      ),
  
      // application-level parameters that can be accessed
      // using Yii::app()-&gt;params['paramName']
      'params'=&gt;array(
          // this is used in contact page
          'adminEmail'=&gt;'example@example.com',
      ),
      'import'=&gt;array(
          'application.models.*',
          'application.components.*',
      ),
      'modules'=&gt;array(
          'gii'=&gt;array(
              'class'=&gt;'system.gii.GiiModule',
              'password'=&gt;'pick up a password here',
          ),
      ),
  );
  </code></pre>
  
  <p>Yet when I visit index.php?r=gii, I get the following error:</p>
  
  <pre><code>Error 404 Unable to resolve the request "gii".
  </code></pre>
  
  <p>FYI - I am using version 1.1.12 which is the latest stable release.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I deleted everything and started again, and now is working. must have done something silly en-route</p>