naidusrinath / yii-user

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

view/edit profile error getAttribute() (yii-user extension) #87

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. using yii-1.1.7.r3135.tar.gz - unzip in module folder yii-user-0.3-r107.zip
2. configurarion yii-user
3. request user/profile and user/profile/edit urls

What is the expected output? What do you see instead?
Fatal error: Call to a member function getAttribute() on a non-object in 
C:\wamp\www\myproject\protected\modules\user\views\profile\profile.php on line 
29

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

Please provide any additional information below.

Original issue reported on code.google.com by kona...@gmail.com on 7 May 2011 at 10:00

GoogleCodeExporter commented 8 years ago
/index.php?r=user/profile/edit works without a problem on the current versions 
of the framework (1.1.8 r3324) + yii-user-0.3-r107

Original comment by radu.her...@gmail.com on 15 Sep 2011 at 11:56

GoogleCodeExporter commented 8 years ago
Issue reproduced by deleting any Profile Field with sqllite backend. 
ProfileField.Delete... when recreating profile table the sql Datatypes are not 
redefined. 

For example deleting birthday and dumping resulting db is "CREATE TABLE 
tbl_profiles (user_id,lastname,firstname);"

No idea why this causes relations to fail.

Original comment by GoGoGadg...@gmail.com on 3 Mar 2012 at 8:14

GoogleCodeExporter commented 8 years ago
No problem anymore with the newest version (maybe r132 or newer) got today via
svn checkout http://yii-user.googlecode.com/svn/trunk/ yii-user-read-only

Original comment by Achi...@googlemail.com on 12 Apr 2012 at 7:04