Forums / Managing Customers and Orders / "Array()" line on "Update Address Book" page

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

Locked

Views: 4,489

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
19 May 2006, 2:25 AM
#1
vera avatar

vera

New Zenner

Join Date:
Dec 2005
Location:
Wylie, Texas
Posts:
77
Plugin Contributions:
0

"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.

My Portfolio

Life is a game. The plot sucks but the graphics are awesome.

19 May 2006, 2:32 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

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.

19 May 2006, 2:48 AM
#3
vera avatar

vera

New Zenner

Join Date:
Dec 2005
Location:
Wylie, Texas
Posts:
77
Plugin Contributions:
0

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

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

My Portfolio

Life is a game. The plot sucks but the graphics are awesome.

19 May 2006, 6:02 AM
#4
vera avatar

vera

New Zenner

Join Date:
Dec 2005
Location:
Wylie, Texas
Posts:
77
Plugin Contributions:
0

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...

My Portfolio

Life is a game. The plot sucks but the graphics are awesome.

24 May 2006, 6:01 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

24 May 2006, 1:12 PM
#6
drstuey avatar

drstuey

New Zenner

Join Date:
Sep 2005
Location:
Aotearoa New Zealand
Posts:
70
Plugin Contributions:
0

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?

19 Jun 2006, 8:55 PM
#7
vera avatar

vera

New Zenner

Join Date:
Dec 2005
Location:
Wylie, Texas
Posts:
77
Plugin Contributions:
0

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

Same here. Just installed a completely fresh version, haven't edited any files and the Array() is still there.

My Portfolio

Life is a game. The plot sucks but the graphics are awesome.

11 Jul 2006, 1:08 PM
#8
gustafr avatar

gustafr

New Zenner

Join Date:
May 2006
Posts:
26
Plugin Contributions:
0

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

Is it possible just to replace the tpl_address_book_process_default.php from version 1.3.0 with the one from 1.3.0.1?
/Gustaf

7 Aug 2006, 12:39 AM
#9
etoile03 avatar

etoile03

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

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

any quick fixes to this for thos that haven't upgraded?

7 Aug 2006, 1:12 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

etoile03:

any quick fixes to this for thos that haven't upgraded?
Just one: Upgrade. There are MANY other fixes in the upgrade that you will want on your site.

.
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.

22 Sep 2006, 2:06 AM
#11
duplex avatar

duplex

New Zenner

Join Date:
Sep 2006
Posts:
6
Plugin Contributions:
0

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

quick fix found...

the stray print_r is on line 13 of tpl_modules_address_book_details.php

full path:
includes/templates/template_default/templates/tpl_modules_address_book_details.php

just comment it out or delete.