Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2016
    Location
    Orem Utah
    Posts
    8
    Plugin Contributions
    0

    Default Stray text in Addresses

    While attempting to upgrade my zen cart on my local computer I have run into an issue. I upgraded my database from 1.5.5a to 1.5.7c and I now have some stray text in the address field when checking out. It is also on all address fields in "my account" for past orders.

    Here is the what I am getting:

    Palmer Wholesale
    Aaron Leavitt
    1804 Sandhill Road
    Orem, UT 84058

    $telephone
    $email_address

    Notice the $telephone and $email_address at the end of the address. I can't figure out where this is coming from.
    Attached Images Attached Images  

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Stray text in Addresses

    Did you perhaps add those to the records in your database's address_format table, but not update PHP code functions to substitute them when generating addresses?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2016
    Location
    Orem Utah
    Posts
    8
    Plugin Contributions
    0

    Default Re: Stray text in Addresses

    Thanks for pointing me in the right direction. The address_format table is indeed the culprit. I did not make the original site so I did not know they added something to that table. Now I just need to figure out why they added it by scrutinizing the code a bit.

    Thanks again for your help!

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Stray text in Addresses

    I have seen stores that create address labels that have every possible means of getting in touch - perhaps this is the case with yours?
    If you don't desire this information, you can always reset the address_format table using the original data from zc_install/sql/install/mysql_zencart.sql for your version of Zen Cart.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Stray text in Addresses

    It's possible that prior to the upgrade one or more of the original functions were altered to accommodate those additional variables, but in your upgrade process you didn't merge the updates but instead wiped them out by replacing the files without reviewing alterations first.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v156 Stray html tags in paypalwpp_admin_notification.php
    By Dave224 in forum Bug Reports
    Replies: 0
    Last Post: 9 Mar 2019, 02:29 AM
  2. stray ?> on account_edit page?
    By jdm719 in forum General Questions
    Replies: 3
    Last Post: 29 Apr 2011, 08:19 PM
  3. Paypal problem - Fault in module? (stray text in my file)
    By Lazze in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 5 Dec 2006, 03:04 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR