sarvan75 / yii-user-management

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

Property "YumProfile.profile_id" is not defined. #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fresh install of yum from svn (rev 301)
2. Apply patch from Issue 108
3. Enter „Profiles / Manage Profile”

What is the expected output? What do you see instead?
Instead of „Manage Profile” page I've got:

http://pastebin.com/zaUZxe2V

What version of the product are you using? On what operating system?
Ubuntu Linux 10.10
PHP 5.3

Please provide any additional information below.

Original issue reported on code.google.com by pavel.zh...@gmail.com on 8 Feb 2011 at 9:22

GoogleCodeExporter commented 9 years ago
Just use this fix.
Copy this files to /webroot/protected/modules/user/views/profile
- OR -
in views/profile/_search.php change 'profile_id' to 'id' (Lines 9-10)
in views/profile/admin.php change 'profile_id' to 'id' (Line 40)

Original comment by sergey.m...@gmail.com on 23 Feb 2011 at 10:36

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by thyseus on 16 Mar 2011 at 8:23

GoogleCodeExporter commented 9 years ago
this should be fixed too, to prevent 'profile_id' error on menu "show profile 
visits":
in views/profile/visits.php change 'profile_id' to 'id' (Line 16-22)

Original comment by agungfir...@gmail.com on 9 Apr 2011 at 11:41