Forums / Upgrading from 1.3.x to 1.3.9 / New Customers section of admin - names missing

New Customers section of admin - names missing

Views: 1,034

Results 1 to 3 of 3
24 Mar 2011, 4:40 PM
#1
largomike1 avatar

largomike1

New Zenner

Join Date:
Apr 2009
Posts:
25
Plugin Contributions:
0

New Customers section of admin - names missing

I'm in the process of upgrading from 1.3.8a to 1.3.9h. I am developing on Windows XP with apache and php v5.2.1. My customer names are missing in the Admin main page in the New Customers: section. I tracked it down to this call in /admin/includes/functions/general.php:

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

The zen_output_string_protected function in turn does this...

return htmlspecialchars($string, ENT_COMPAT, CHARSET, FALSE);

For some reason the htmlspecialchars function is wiping out the contents of the $string value. I outputted the value of $string before it calls the function and the value is there.

Is this something wrong with my setup? Any help is appreciated. Thanks.

24 Mar 2011, 5:04 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: New Customers section of admin - names missing

See post #6 and if that applies to you:
http://www.zen-cart.com/forum/showthread.php?t=153143

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!

24 Mar 2011, 5:09 PM
#3
largomike1 avatar

largomike1

New Zenner

Join Date:
Apr 2009
Posts:
25
Plugin Contributions:
0

Re: New Customers section of admin - names missing

Never mind. I just found your post on this subject. It was located in post #6 of this thread:

http://www.zen-cart.com/forum/showthread.php?t=153143

Thanks. - I'll upgrade php to more recent version.