user profile update not working - Joomla! Forum - community, help and support
i researing couple of hours , can not solution... on local webserver works fine. on live server not work. website 1:1 same.
in fact there 2 problems:
my 1. problem is: if user logged in , wants edit profile, dropdownlist of timezones, can select preferred timezone. default select item should blank instead there follow:
on local server looks follow:
the problem is, store database on live server (on local server works perfectly). when go yoour profile, joomla wants convert timezone, of course not exist... error page.
i saw there no default timezone set on live server in php.ini, not have access php.ini file, tried .htaccess solution, di not make difference:.
my 2. problem is: when click save profile, stores in database table: user_profiles following entries:
the problem here is, not valid date string, create other error , of course not nice have written in profile . on local server, if user did not enter values, not write table user_profiles.
i have tried find piece of code responsible that, looks impossible find right spot.
how can rid of this?
in fact there 2 problems:
my 1. problem is: if user logged in , wants edit profile, dropdownlist of timezones, can select preferred timezone. default select item should blank instead there follow:
code: select all
<option value="joption_use_default">- use default -</option>on local server looks follow:
code: select all
<option value=>- use default -</option>the problem is, store
code: select all
joption_use_defaultcode: select all
joption_use_defaulti saw there no default timezone set on live server in php.ini, not have access php.ini file, tried .htaccess solution, di not make difference:
code: select all
php_value date.timezone "europe/zurich"my 2. problem is: when click save profile, stores in database table: user_profiles following entries:
code: select all
user_id key value ordering
78 profile.address1 "" 1
78 profile.address2 "" 2
78 profile.city "" 3
78 profile.region "" 4
78 profile.country "" 5
78 profile.postal_code "" 6
78 profile.phone "" 7
78 profile.website "" 8
78 profile.favoritebook "" 9
78 profile.aboutme "" 10
78 profile.dob "" 11the problem here is,
code: select all
profile.dob ""code: select all
""i have tried find piece of code responsible that, looks impossible find right spot.
how can rid of this?
not sure got code.
in 2.5, code in root/components/com_users/models/forms/frontend.xml
therefore "use default" sets empty value.
what php version of live server?
in 2.5, code in root/components/com_users/models/forms/frontend.xml
code: select all
<field name="timezone" type="timezone"
label="com_users_user_field_timezone_label"
description="com_users_user_field_timezone_desc"
>
<option value="">joption_use_default</option>
</field>therefore "use default" sets empty value.
what php version of live server?
Comments
Post a Comment