graphixx
(Graphixx)
June 8, 2011, 4:57pm
1
what is the url line command to run the rights install , i quote the text in the rights oficial setup manual.
yii-rights-doc-1.2.0.pdf
I find the possible install script for rights in:
my_project\protected\modules\rights\components\RInstaller.php
proves to call it directly, although not think it should be so.
I try to run:
http://localhost/my_project/protected/modules/rights/components/RInstaller.php
And the server return the error message:
thanks for your future answers, best regards.
gusnips
(Gustavo)
June 8, 2011, 5:03pm
2
This is just a guess, I haven’t used it yet but
you should modify the module’s configuration adding
'modules'=>array(
'rights'=>array(
'install'=>true
),
),
graphixx
(Graphixx)
June 8, 2011, 7:29pm
3
Yes Gustavo, i applies these changes now… thanks for your reply.
The solution are run te url:
http://localhost/my_project/index.php/rights
To execute the rights install.
For anyone looking how to run the installer for the Rights extension, navigate to this URL once you have followed the instructions in the documentation:
path/to/your/application/index.php?r=rights/install
This should get it if you haven’t made other mistakes.
Hope this helps someone.