title: Yii modules not working on my site
body: <p>I have a website powered by yii framework.</p>
  
  <p>Yii Version: 1.1.14</p>
  
  <p>Php version: above 5.4</p>
  
  <p>I tried to install a forum module from the following location</p>
  
  <p><a href="http://www.yiiframework.com/extension/bbii" rel="nofollow">http://www.yiiframework.com/extension/bbii</a></p>
  
  <p>I added the modules in the main.php as specified in the readme file. But the /forum is not working and I tried some other modules and none of them are working on my installation. I am stuck at the moment and I tried google but it is like a unique error and I don't know how to debug it. Please help. Thanks</p>
  
  <pre><code>return array(
          'basePath'=&gt;dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
          'name'=&gt;'testapp',
          'preload'=&gt;array('log','bootstrap'),
          'import'=&gt;array(
              'application.models.*',
              'application.components.*',
              'application.vendor.*',
              'application.controllers.NavSort*',
              ),
          'modules'=&gt;array(
              'gii'=&gt;array(
                  'class'=&gt;'system.gii.GiiModule',
                  'password'=&gt;'123',
                  // If removed, Gii defaults to localhost only. Edit carefully to taste.
                  'ipFilters'=&gt;array('127.0.0.1','::1'),
                  'generatorPaths' =&gt; array(
                          'bootstrap.gii'
                      ),
                  ),
              'forum'=&gt;array(
                  'class'=&gt;'application.modules.bbii.BbiiModule',
                  'adminId'=&gt;1,
                  'userClass'=&gt;'User',
                  'userIdColumn'=&gt;'id',
                  'userNameColumn'=&gt;'username',
                  ),
              ),
          'homeUrl'=&gt;array('site/login'),
          // application components
          'components'=&gt;array(
              'bootstrap' =&gt; array(
                  'class' =&gt; 'ext.yiibooster.components.Bootstrap',
                  ),
              'user'=&gt;array(
                  // enable cookie-based authentication
                  'allowAutoLogin'=&gt;true,
                  ),          
              'session'=&gt;array(
                  'autoStart'=&gt;true,
                  'sessionName'=&gt;'session',
                  'cookieMode' =&gt; 'only',
                  'timeout'=&gt;86400,
                  ),
              'urlManager'=&gt;array(
                  'urlFormat'=&gt;'path',
                  'showScriptName'=&gt;false,
                  //'urlSuffix'=&gt;'.html',
                  'urlSuffix'=&gt;'',
                  'class' =&gt; 'UrlManager',
                  'rules'=&gt;array(
                      '&lt;controller:\w+&gt;/&lt;id:\d+&gt;'=&gt;'&lt;controller&gt;/view',
                      '&lt;controller:\w+&gt;/&lt;action:\w+&gt;/&lt;id:\d+&gt;'=&gt;'&lt;controller&gt;/&lt;action&gt;',
                      '&lt;controller:\w+&gt;/&lt;action:\w+&gt;'=&gt;'&lt;controller&gt;/&lt;action&gt;',
                      '&lt;controller:[\w\-]+&gt;/&lt;action:[\w\-]+&gt;' =&gt; '&lt;controller&gt;/&lt;action&gt;',
                       // defaults to a site page if not above
                      '&lt;view:[a-zA-Z0-9-]+&gt;/'=&gt;'site/login',
                      ),
                  ),
              'db'=&gt;array(
                  'connectionString' =&gt; 'pgsql:host=localhost;port=5432;dbname=testdb',
                  'emulatePrepare' =&gt; false,
                  'username' =&gt; 'postgres',
                  'password' =&gt; 'root', 
                  //'tablePrefix'=&gt;'',
                  'charset' =&gt; 'utf8',
                  ),
              'errorHandler'=&gt;array(
                  'errorAction'=&gt;'site/error',
                  ),
              'log'=&gt;array(
                  'class'=&gt;'CLogRouter',
                  'routes'=&gt;array(
                      array(
                          'class'=&gt;'CFileLogRoute',
                          'levels'=&gt;'error, warning',
                          ),
                      ),
                  ),
              ),
          'params'=&gt;array(
              // this is used in contact page
              'adminEmail'=&gt;'info@site.com',
              ),
          );
  </code></pre>