Yii Framework Forum: Yii-User Install - Yii Framework Forum

Jump to content

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

Yii-User Install Rate Topic: -----

#1 User is offline   andrew80 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 26-June 14

Posted 26 June 2014 - 09:58 AM

I cann't install it.

I have problem with the step "Run command: yiic migrate --migrationPath=user.migrations"

It gives "Error: The migration directiory does not exist: user.migrations".


I use Windows and XAMP-portable. My comand is: C:\PATH_TO_HTDOCS\mysite\protected>C:\PATH_TO_PHP_DIRECTORY\php.exe yiic migrate --migrationPath=user.migrations"
0

#2 User is offline   andrew80 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 26-June 14

Posted 30 June 2014 - 05:09 AM

http://www.benjaminl...-rights-5-steps
0

#3 User is offline   Enthu 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 22
  • Joined: 17-June 14
  • Location:Singapore

Posted 01 July 2014 - 02:27 AM

View Postandrew80, on 30 June 2014 - 05:09 AM, said:



This is a perfect reference to install the extension.

Note:
I came across an error which reflects that there are no superusers available. (By default, Admin is a superuser)

Solution: (After searching online...)
Open up the file RAuthorizer.php under /modules/rights/components and comment out lines 304 and 305:

//if( $superusers===array() )
// throw new CHttpException(403, Rights::t('core', 'There must be at least one superuser!'));
0

#4 User is offline   andrew80 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 26-June 14

Posted 24 July 2014 - 08:02 AM

I did it. Hier is my german Tutorial.
0

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