I’ve installed yii framework for php in /srv/www/yiii folowing this tutorial http://www.unixmen.com/install-yii-php-framework-on-ubuntu-debian/ (I changed /var/www with /srv/www) does it means I’ve to put yii in /srv/www/htdocs ?
Yes.
On openSUSE apache2 expects its documents in /srv/www/htdocs/ by default. (~/public_html/ should work as well, but then you would have to type an URL like “http://localhost/~username/” into your browser)
currently I’m having 2 issues on **http://ip-address/yii/unixmen/index.php?r=gii **
Error 403 You are not allowed to access this page.
I’ve configured yii main.php user, password and the same combination in phpmyadmin ( so it should match) and when I’m trying to login at http://localhost/yii/unixmen/index.php?r=site/login I can’t login (wrong user / password) combination
[QUOTE=roberto68;2630946]currently I’m having 2 issues on **http://ip-address/yii/unixmen/index.php?r=gii **
**Error 403**
You are not allowed to access this page.
Well, seems to be a permissions issue.
Try to run:
sudo chown -R wwwrun: /srv/www/htdocs/yii/
and/or:
sudo chmod -R a+rwx /srv/www/htdocs/yii/
I’ve configured yii main.php user, password and the same combination in phpmyadmin ( so it should match) and when I’m trying to login at http://localhost/yii/unixmen/index.php?r=site/login I can’t login (wrong user / password) combination
The above maybe could help here as well.
I take it you setup the username/password as described in that article, right?
I have no experience with setting up that framework myself, but could have a try to see whether it would get it to work here.