Forums / Upgrading from 1.3.x to 1.3.9 / Customer Box (on Admin Home Page) missing details

Customer Box (on Admin Home Page) missing details

Locked

Views: 1,471

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
28 Oct 2010, 3:07 PM
#1
mattclements avatar

mattclements

New Zenner

Join Date:
Aug 2009
Location:
Milton Keynes
Posts:
102
Plugin Contributions:
0

Customer Box (on Admin Home Page) missing details

Hello all,
After Upgrading to 1.3.9h from 1.3.9g (and im pretty sure the same thing happened from 1.3.9f to 1.3.9g) the customers box on the Admin Homepage has the customers name missing (any new customers will show up, just those before the upgrade do not).

I am aware you can view these details by going to the customers panel, however this is obviously an issue.

This is the same on a list of sites that I have upgraded, none of which have the same addons etc

Any ideas?

Regards,
Matt

Matt Clements
Freelance Web Developer & Designer | Wholesale Party Supplies | Party Supplies
Please note that the forum is free, but PMs and emails are treated as quote requests.

28 Oct 2010, 3:21 PM
#2
mattclements avatar

mattclements

New Zenner

Join Date:
Aug 2009
Location:
Milton Keynes
Posts:
102
Plugin Contributions:
0

Re: Customer Box (on Admin Home Page) missing details

I have fixed this quickly by commenting out line 124 and 125 in /admin/index.php

//$customers->fields['customers_firstname'] = zen_output_string_protected($customers->fields['customers_firstname']);
    //$customers->fields['customers_lastname'] = zen_output_string_protected($customers->fields['customers_lastname']);
    

This obviously removes the protection from XSS but why does this function stop this from working?

Regards,
Matt

Matt Clements
Freelance Web Developer & Designer | Wholesale Party Supplies | Party Supplies
Please note that the forum is free, but PMs and emails are treated as quote requests.

28 Oct 2010, 4:13 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Box (on Admin Home Page) missing details

Put the code back and check that your file, on the server, for:
/admin/includes/functions/general.php

is current ...

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!

28 Oct 2010, 7:56 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Customer Box (on Admin Home Page) missing details

NOTE: Patch instructions issued for those of you using old versions of PHP, which is causing that problem:

http://www.zen-cart.com/forum/showpost.php?p=953964&postcount=6

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

2 Nov 2010, 9:55 PM
#5
myth3_16 avatar

myth3_16

New Zenner

Join Date:
Jun 2010
Location:
United Kingdom
Posts:
24
Plugin Contributions:
0

Re: Customer Box (on Admin Home Page) missing details

I too am having the same problem when upgrading from 1.3.9g > 1.3.9h. Was working in 1.3.9g but have updated to 1.3.9h and now no new customer data is appearing.

Any new news on this? I've checked my admin/includes/functions/general.php file and it is the one that is included in the 1.3.9h full file set.

Kindest Regards,

Brett

2 Nov 2010, 10:19 PM
#6
myth3_16 avatar

myth3_16

New Zenner

Join Date:
Jun 2010
Location:
United Kingdom
Posts:
24
Plugin Contributions:
0

Re: Customer Box (on Admin Home Page) missing details

myth3_16:

I too am having the same problem when upgrading from 1.3.9g > 1.3.9h. Was working in 1.3.9g but have updated to 1.3.9h and now no new customer data is appearing.

Any new news on this? I've checked my admin/includes/functions/general.php file and it is the one that is included in the 1.3.9h full file set.

Kindest Regards,

Brett

Hi,

Try looking at this, this has been raised and tells you how you can rectify the problem http://www.zen-cart.com/forum/showthread.php?t=153143

Hope this helps.