Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Location
    Wylie, Texas
    Posts
    77
    Plugin Contributions
    0

    Default "Array()" line on "Update Address Book" page

    Right under the page header "Update Address Book Entry" (tpl_address_book_process_default.php) appears a line that says "Array()". I have no idea where it came from as I haven't even started editing that page. I searched for the string in Developer's Toolkit and in the document itself, but I can't find it anywhere.

    The page works, I mean I can update the address and it saves it, but that line just came out of nowhere.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: "Array()" line on "Update Address Book" page

    What version of Zen Cart? What template did you start with?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Dec 2005
    Location
    Wylie, Texas
    Posts
    77
    Plugin Contributions
    0

    Default Re: "Array()" line on "Update Address Book" page

    I have the newest version and I updated all the other tpl_account_* templates.

  4. #4
    Join Date
    Dec 2005
    Location
    Wylie, Texas
    Posts
    77
    Plugin Contributions
    0

    Default Re: "Array()" line on "Update Address Book" page

    Just wanted to add it does the same with "New Address Book Entry" page as well. I think it's the same page but I'm not sure. This is rather confusing...

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: "Array()" line on "Update Address Book" page

    There was a bug related to that in v1.3.0, which was fixed in v1.3.0.1.

    There was a stray print_r() function call in one of the files.
    .

    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.

  6. #6
    Join Date
    Sep 2005
    Location
    Aotearoa New Zealand
    Posts
    75
    Plugin Contributions
    0

    Default Re: "Array()" line on "Update Address Book" page

    I just updated using the changed files only zip file and I can still see Array () on those pages

    /index.php?main_page=address_book_process
    /index.php?main_page=address_book_process&edit=2

    did a change get missed out of that package? have I failed to spot an override file of mine?

 

 

Similar Threads

  1. Replies: 4
    Last Post: 16 Oct 2011, 12:58 AM
  2. "Multi-Language Support for EZ-Pages" prints "Array" in Sidebox
    By andreas.hennig in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 13 Jul 2010, 08:23 AM
  3. "Suburb" AKA "Address Line 2"
    By d0ugparker in forum Basic Configuration
    Replies: 1
    Last Post: 4 Jan 2010, 05:33 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