Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
profile.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2008 at 05:42 UTC
Updated:
6 Sep 2011 at 11:58 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedFeature requests go to the next version. Can you role the patch for HEAD please.
Comment #2
damien tournoud commentedThe profile module is obsolete. Won't fix.
Comment #3
bartezz commentedThanx for the patch!
Comment #4
hanskuiters commentedThanx for the patch +1
Comment #5
rickh commentedHey capono thanks for the patch. Tried it out but i got this error
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE fid = 7' at line 1 query: UPDATE profile_fields SET title = 'Short Description', name = 'profile_short', explanation = 'Give a short description of the band. Max 250 characters. The rest will be cut off from display.', category = 'General', weight = -9, required = 1, register = 1, visibility = 2, autocomplete = 0, options = '', page = '', length = 250, WHERE fid = 7 in /home7/freeedco/public_html/5storm/modules/profile/profile.admin.inc on line 355.Comment #6
hanskuiters commentedThe patch is from kjmph.
The error is caused by 'length = 250,'. It should be 'length = 250'. Without the comma. Did you patch by hand ;) ?
Comment #7
hanskuiters commentedOoops, double post.
Comment #8
rickh commentedHey Capono sorry for that. Yes I did patch by hand. I'll go through the process again and see if i've made a mistake somewhere.
Comment #9
rickh commentedHey Capono, I did the patch again and it seems perfect. I forgot that I added the comma. Removed the comma and still get this error. Any help would be appreciated. This is a very useful function for me.
user warning: Unknown column 'length' in 'field list' query: UPDATE profile_fields SET title = 'Short Description', name = 'profile_short', explanation = 'Give a short description of the band. Max 250 characters. The rest will be cut off from display.', category = 'General', weight = -9, required = 1, register = 1, visibility = 2, autocomplete = 0, options = '', page = '', length = 250 WHERE fid = 7 in /home7/freeedco/public_html/5storm/modules/profile/profile.admin.inc on line 355.
Comment #10
hanskuiters commentedIn the patch there is also something for the profile.install file. Patch that (maybe you did that already). Run update.php. That goes throught the install again and adds the 'length' field to the table.
Comment #11
rickh commentedi just had to run update. rookie mistake. sorry about that. thanks for the help.