josecar Posted November 29, 2012 Share Posted November 29, 2012 (edited) The thing is, i cannot get to the 'update address' part of the 'my account' options in the Front Officce. I mean, i can update an address, but i have to fill all the fields, because they are all empty. I need a clue as to what is happening. I have a clean install of P 1.5.2. I made some modifications, but tried to restore them. Maybe i forgot something. WHAT HAPPENS. I login an existing or new user. I go to my account->>my address. I see the user address(es). I hit 'Update address' button to edit an existing address.... and I get the form, but all the inputs are empty, without the values that should be there to be edited. The form's title is also wrong: is the same as with the 'create new address' form, but even without the name and surname fields filled, as I get correctly in that form. Then if I fill the blank form, I get correctly to edit the first address, the only annoying detail is that the user doesnt get the values of his address to edit, they all have to be filled again. So, it seems my code fails to pass this if test in Address.tpl: {if isset($id_address) && (isset($smarty.post.alias) || isset($address->alias))} {l s='Modify address'} {if isset($smarty.post.alias)} "{$smarty.post.alias}" {else} {if isset($address->alias)}"{$address->alias}"{/if} {/if} {else} {l s='To add a new address, please fill out the form below.'} {/if} So, the first if surely gets $id_address, because its in the url. What about ($smarty.post.alias) or $address->alias? I don't know Any help, hint or link to relevant info is highly appreciated... thnx. Edited November 29, 2012 by josecar (see edit history) Link to comment Share on other sites More sharing options...
josecar Posted December 1, 2012 Author Share Posted December 1, 2012 Nobody gets this error? What I get is a correct but empty form wherever I try to 'update' an existing address, what could cause this? Link to comment Share on other sites More sharing options...
SuperDuper Posted February 9, 2013 Share Posted February 9, 2013 Hi, I also have this problem with v1.5.3.1 Can anyone help to solve this problem?? Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts