Yii Framework Forum: Yii Usergroups Installation Fail - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii Usergroups Installation Fail

#1 User is offline   beginner123 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 84
  • Joined: 03-March 14

Posted 19 March 2014 - 09:07 AM

Hi all, could anyone please help me on how to install Yii UserGroups correctly. I have already followed the instructions here but I have no idea why there is still no way to get the installation done. It returned an error 'Property "CWebApplication.eauth" is not defined'. How to solve this error? Any help is much appreciated. Thanks in advance. Please help me~

Here's my code:

// 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(
    'theme'=>'bootstrap', // requires you to copy the theme under your themes directory
	'name'=>'Course & Timetabling System',

	// preloading 'log' component

	// autoloading model and component classes

		// uncomment the following to enable the Gii tool
        // accessCode can be changed
        // salt can be changed
			// If removed, Gii defaults to localhost only. Edit carefully to taste.

	// application components
	    'bootstrap' => array(
        'class' => 'ext.bootstrap.components.Bootstrap',
			// enable cookie-based authentication
            // GD or ImageMagick
            // ImageMagick setup path
		// uncomment the following to enable URLs in path-format
			'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
		// uncomment the following to use a MySQL database
			'connectionString' => 'mysql:host=localhost;dbname=testdb',
			'emulatePrepare' => true,
			'username' => 'root',
			'password' => '',
			'charset' => 'utf8',
			'tablePrefix' => 'tbl_',
			// use 'site/error' action to display errors
					'levels'=>'error, warning, info, trace, notice',
				// uncomment the following to show log messages on web pages

	// application-level parameters that can be accessed
	// using Yii::app()->params['paramName']
		// this is used in contact page

Options +FollowSymLinks
IndexIgnore */*
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /test1/

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule ^(.*)$ index.php/$1 [L]


Share this topic:

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users