kumarsivarajan / yii-usergroups

Automatically exported from code.google.com/p/yii-usergroups
0 stars 0 forks source link

Bad url when using relative paths in aprove and ban userGroups/views/user/_view.php #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Invite a user
2.Active new user
3.Aprove new user

What is the expected output? What do you see instead?
The site is redirected to http://localhost/userGroups/user/aprove instead of 
http://localhost/test/userGroups/user/admin with a page not found web server 
message

What version of the product are you using? On what operating system?
Yii 1.1.7
userGroups 1.6.4
Windows 7 Enterprise 64 bits

Please provide any additional information below.
Corrected the urls for forms 'user-groups-approval-form' and 
'user-groups-ban-form' to include 'Yii::app()->baseUrl .'
Line 37 - 'action'=>Yii::app()->baseUrl .'/userGroups/user/approve',
Line 51 - 'action'=>Yii::app()->baseUrl .'/userGroups/user/ban',
Tested and working fine !!

Original issue reported on code.google.com by artur.ol...@gmail.com on 20 Apr 2011 at 8:39

GoogleCodeExporter commented 8 years ago
just the approval and ban form have this issue or also the forms for activating 
do?

Original comment by nic...@creationgears.com on 21 Apr 2011 at 10:33

GoogleCodeExporter commented 8 years ago
fixed, waiting for bug #6 before doing a release.

Original comment by nic...@creationgears.com on 21 Apr 2011 at 10:45