[ic] address_book formating

Philip Alves interchange-users@icdevgroup.org
Sat Oct 5 16:48:00 2002


> Hello all.  I've searched the dcs and the mailing list for some insight,
and
> haven't gotten what I need.  In the address_book column of the userdb
table,
> what is the proper format for adding extra addresses manually in the
> userdb.txt file?  This is what I get in the admin UI after I added a
couple
> of addresses through ship_addresses.html:
>
> {'Store144' => {'state' => "ON",'country' => "CA",'address1' => "174
Street
> Ave.",'address2' => "",'mv_data_fields' => "username company fname lname
> address1 address2 city state zip country phone_day",'city' =>
> "Toronto",'phone_day' => "416-555-5555",'lname' => "Jones",'fname' =>
> "Tom",'zip' => "H0H0H0",'company' => "Store 144",},'Store350' => {'state'
=>
> "ON",'country' => "CA",'address1' => "174 Street Ave.",'address2' =>
> "",'mv_data_fields' => "username company fname lname address1 address2
city
> state zip country phone_day",'city' => "Toronto",'lname' =>
> "Jones",'phone_day' => "416-555-5555",'fname' => "Steve",'zip' =>
> "H0H0H0",'company' => "Store 350",},'Store2' => {'state' => "ON",'country'
> => "CA",'address1' => "174 Street Ave.",'address2' => "",'mv_data_fields'
=>
> "username company fname lname address1 address2 city state zip country
> phone_day",'city' => "Toronto",'lname' => "Jones",'phone_day' =>
> "416-555-5555",'fname' => "Chuck",'zip' => "H0H0H0",'company' => "Store
> 2",},}
>
> I pasted this into the userdb.txt of another test catalog and got this
error
> when I tried to login as that customer:
>
> Bad structure in address_book: Bad structure in address_book: syntax error
> at (eval 530) line 1, near ""{'Store144' => {'state' => ""ON""
>
> This is in 4.8.6 Foundation Demo using DBM.
>
> I guess my question is, what is the right structure?  Any thoughts or a
> shove in the right direction is much appreciated!
>

Before I get screamed at for constantly asking the same thing over and over,
I haven't gotten any response, and so am wondering if my emails are getting
onto the list.  That, and I'm completely and pathetically lost, and time is
running short for me now.  Please, please some help!

Humbly,

Phil