Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Jul 2006
    Posts
    71
    Plugin Contributions
    0

    Default Address not showing

    The addresses for users are being stored correctly, but not being displayed at all. Here's what I mean:

    (The name is blanked out)

    But if you click on Edit, it brings up the Fields correctly filled in with the address. Also when the item is purchased and the confirm email is sent, anything addresses are blank.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Address not showing

    Check your database via phpMyAdmin ...

    Do you have anything in the table: address_format
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jul 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: Address not showing

    I have:

    address_format_id
    address_format
    address_summary

    But nothing in them, it seems:
    MySQL returned an empty result set (i.e. zero rows). (Query took 0.0004 sec)
    Last edited by HDG; 14 Jul 2006 at 07:58 PM.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Address not showing

    That would tend to break things ...

    Backup you datebase before doing this:
    PHP Code:
    DROP TABLE IF EXISTS address_format;
    CREATE TABLE address_format (
      
    address_format_id int(11NOT NULL auto_increment,
      
    address_format varchar(128NOT NULL default '',
      
    address_summary varchar(48NOT NULL default '',
      
    PRIMARY KEY  (address_format_id)
    TYPE=MyISAM
    That will remove and re-create the table ...

    Then run this to re-load the settings:
    PHP Code:
    # 1 - Default, 2 - USA, 3 - Spain, 4 - Singapore, 5 - Germany
    INSERT INTO address_format VALUES (1'$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country','$city / $country');
    INSERT INTO address_format VALUES (2'$firstname $lastname$cr$streets$cr$city, $state    $postcode$cr$country','$city, $state / $country');
    INSERT INTO address_format VALUES (3'$firstname $lastname$cr$streets$cr$city$cr$postcode - $statecomma$country','$state / $country');
    INSERT INTO address_format VALUES (4'$firstname $lastname$cr$streets$cr$city ($postcode)$cr$country''$postcode / $country');
    INSERT INTO address_format VALUES (5'$firstname $lastname$cr$streets$cr$postcode $city$cr$country','$city / $country'); 
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jun 2010
    Posts
    48
    Plugin Contributions
    0

    Default Re: Address not showing

    Ajeh, I have the same problem as HDG. Tried your fix but although that went through ok still have problem. Have 1.3.9f installed. Any other things I can try?

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Address not showing

    In phpMyAdmin, find the records in the:
    address_book

    table, based on the:
    customers_id

    are they valid?

    Next, check the record in the:
    orders

    table and check the fields:
    customers_address_format_id
    delivery_address_format_id
    billing_address_format_id

    and make sure that those are valid as well ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Jun 2010
    Posts
    48
    Plugin Contributions
    0

    Default Re: Address not showing

    Thanks Ajeh. I've looked at all that and everything is fine except the orders table "customers_address_format_id" and similar fields appear as value 6 (rather than 1). I have manually changed the value and the billing/shipping address appears where it should, but new orders still come in as value 6. I have looked at the table construction and the parameters also appear to be correct.

    In addition to that, the primary address does not display although the data is there and your database fix now appears to be working. Is this to do with html ouput perhaps? I am in version 1.3.9f (hosting php version would not support 1.3.9h) and despite rolling back code and removing overrides, the primary address still doesn't display on the address_book page. Is this part of the same problem? Or should I be looking at html special characters? I am using php 5.2.13.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Address not showing

    What isn't supported in v1.3.9h by using your current php version?

    The only thing that might not be supported is related to the htmlspecialcharacters on post #6 of:
    http://www.zen-cart.com/forum/showthread.php?t=153143

    and that can easily be fixed with the posted solution ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Jun 2010
    Posts
    48
    Plugin Contributions
    0

    Default Re: Address not showing

    I had some correspondence with Dr. Byte because the documentation said that 1.3.9h would not work properly with php 5.3.13 and I had explained the misssing address details to the venerable doctor. I tried his workarounds but got no joy. (see http://www.zen-cart.com/forum/showth...display&page=2)

    If you think that the only thing that isn't supported is special characters then I will revert, however, that will still leave me with the problem of these missing addresses and the value that is '6' that should be'1'.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Address not showing

    Let's step back for a moment ...

    You are saying the:
    value that is 6 should be 1 ...

    "what" value is 6 that should be 1 right now, when you are using v1.3.9h ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Customer Address Not Showing Up in Admin
    By machinerye in forum Managing Customers and Orders
    Replies: 1
    Last Post: 16 Aug 2011, 11:41 AM
  2. ship to address not showing up on invoices
    By mgorenko in forum General Questions
    Replies: 1
    Last Post: 15 Feb 2011, 02:13 AM
  3. Customer address not showing in Paypal
    By annav in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 13 Oct 2008, 12:11 AM
  4. Address not showing on previous orders
    By francocauter in forum Managing Customers and Orders
    Replies: 0
    Last Post: 29 Aug 2007, 11:38 AM
  5. Billing address not showing in orders
    By dbrewster in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 30 Apr 2007, 09:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg