Closed (fixed)
Project:
Drupal core
Version:
4.7.3
Component:
profile.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2006 at 11:47 UTC
Updated:
3 Mar 2008 at 10:33 UTC
I made clean install for Drupall 4.7.3.
After using it for 1 week - I activated profile.module.
During User Profile Edit in admin/settings/profile - I see all profile categories and fields.
I fill them and press - Update - but no info is stored in profile_value table.
If I put manually info into profile_value - than it displays correct on User-Profile preview.
Using base pushbutton theme without overloads.
Comments
Comment #1
killes@www.drop.org commentedthe entries on the admin profile page are saved in the profile_fields table. To make stuff show up on your profile you need to edit your account.
Comment #2
MaksR commentedProfile Fields Definitions sotred perfectly.
I mean VALUES for theese fields.
For Example
I add Profile Field -> Personal Info -> Occupation
I go to Edit MaksR profile
Fill it's value - push Update button - and NO information stored for MaksR profile....
Comment #3
MaksR commented... and Drupal says "Changes Saved !"
Comment #4
killes@www.drop.org commentedwhich version of PHP do you use?
profile works fine for me and others (eg here at drupal.org)
Comment #5
MaksR commentedphp-4.4.2-Win32 with php_mbstring.dll enabled
Win XP SP2 IIS 5
All other stuff works fine except this one.
Comment #6
killes@www.drop.org commentedini_set("display_errors","1");
ini_set('error_reporting', E_ALL ^ E_NOTICE);
ini_set('log_errors', "1");
ini_set('track_errors', '1');
ini_set('auto_detect_line_endings', 1);
can you put these lines in your settings.php file and try again? Are there any errors in the mysql or apache logs?
Comment #7
MaksR commentedJust made it...
also set in php.ini error_reporting = E_ALL & ~E_NOTICE
NO errors or warnings reported...
Comment #8
killes@www.drop.org commentedcan you install devel.module and look if there are any INSERT queries executed? You need to enable "Display redirection page", too.
Comment #9
MaksR commentedThanx killes@www.drop.org !
The problem partically solved with analyze results in devel.module
I'm using Localization module (Russian lang pack)
And of course fill Category in Profile Field Definition with Russian words....
profile module was not able in profile_save_profile()
correctly run this
seems to me that strtolower will be preferrable....!
I'll try to enter Categories in English - and after this try to put translation for them.
Comment #10
MaksR commentedI discover this problem a little bit deep.
If you use localization and in Profile Field definition you type smth. in russian( other lang possible too ) BUT WITH space beetween words ( Example Category : Место[space]работы ( Work[space]place -eng.) )
Than during save_profile it didn't find matching fields from profile_fileds->category because it seek only for first word "Место" (Work -eng.) somehow second word is missing...
With English names for categories such problem don't appear...
Comment #11
magico commentedDeserves further analysis, to confirm if the bug still exists.
Comment #12
ricabrantes commented4.x is no longer supported.