title: yii Property "CWebUser.bootstrap" is not defined and can't access gii
body: <p>I have a site using the yii framework. As the first thing, after i got the site up and running, I wanted to install bootstrap (yii-bootstrap-2.1.0.r355.zip). This, however, did not go very smooth.</p>
  
  <p>I get the following error "Property "CWebUser.bootstrap" is not defined."</p>
  
  <p>The Bootstrap extension is placed as /blog/protected/extensions/bootstrap</p>
  
  <p>My main config file looks like this </p>
  
  <pre><code>&lt;?php
  
  // uncomment the following to define a path alias
  // Yii::setPathOfAlias('local','path/to/local-folder');
  
  // This is the main Web application configuration. Any writable
  // CWebApplication properties can be configured here.
  
  Yii::setPathOfAlias('bootstrap', dirname(__FILE__).'/../extensions/bootstrap');
  
  
  return array(
  'basePath'=&gt;dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
  'name'=&gt;'be creative',
  'theme'=&gt;'bootstrap', // requires you to copy the theme under your themes directory
  
  // preloading 'log' component
  'preload'=&gt;array('log'),
  // preloading bootstrap component
  'preload'=&gt;array('bootstrap'),
  
  // autoloading model and component classes
  'import'=&gt;array(
      'application.models.*',
      'application.components.*',
  ),
  
  'defaultController'=&gt;'post',
  
  // application components
  'components'=&gt;array(
      'user'=&gt;array(
          // enable cookie-based authentication
          'allowAutoLogin'=&gt;true,
          'bootstrap' =&gt; array('class'=&gt;'ext.bootstrap.components.Bootstrap')
      ),
  
      // gii module...        
      'modules'=&gt;array(
          'gii'=&gt;array(
              'class'=&gt;'system.gii.GiiModule',
              'password'=&gt;'admin',
              'generatorPaths'=&gt;array('bootstrap.gii')
          ),
      ),
  
      'db'=&gt;array(
          'connectionString' =&gt; 'sqlite:protected/data/blog.db',
          'tablePrefix' =&gt; 'tbl_',
      ),
      // uncomment the following to use a MySQL database
  
      'db'=&gt;array(
          'connectionString' =&gt; 'mysql:host=localhost;dbname=blog',
          'emulatePrepare' =&gt; true,
          'username' =&gt; 'root',
          'password' =&gt; '123',
          'charset' =&gt; 'utf8',
          'tablePrefix' =&gt; 'tbl_',
      ),
  
      'errorHandler'=&gt;array(
          // use 'site/error' action to display errors
          'errorAction'=&gt;'site/error',
      ),
      'urlManager'=&gt;array(
          'urlFormat'=&gt;'path',
          'rules'=&gt;array(
              'post/&lt;id:\d+&gt;/&lt;title:.*?&gt;'=&gt;'post/view',
              'posts/&lt;tag:.*?&gt;'=&gt;'post/index',
              '&lt;controller:\w+&gt;/&lt;action:\w+&gt;'=&gt;'&lt;controller&gt;/&lt;action&gt;',
          ),
      ),
      '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;require(dirname(__FILE__).'/params.php'),
  </code></pre>
  
  <p>);</p>