aamirkh521 / yii-user

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

view/edit profile not displaying profile fields #85

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. renamed tbl_profiles and tbl_profiles_fields to sumba_profile and 
sumba_profile_field
2. changed table names in modules/user/usermodule.php
3. tablePrefix is set to sumba_ in protected/config/main.php
3. login
4. view or edit profile

What is the expected output? What do you see instead?

nice looking edit/view profile but the display stops after first name - see 
attached image

What version of the product are you using? On what operating system?

tried it with yii-1.1.7.r3135 and yii-1.1.6.r2877

yii-user-0.3-r107 

Please provide any additional information below.

I've managed to narrow it down to line 29 in modules/user/views/profile.php

echo $field->varname - this works and displays the field name

echo $profile->getAttribute($field->varname)) - this doesn't work and just 
stops without an error message.

The data is the default data from yii-user

Original issue reported on code.google.com by RussellE...@gmail.com on 27 Apr 2011 at 1:52

Attachments: