[Duplicate] Unsupported call to htmlspecialchars()
I finally got around to updating to 1.3.9h, and noticed that the list of customer fields on the admin/index.php page contained dates but no names. Upon further investigation, I found that 1.3.9h modified the zen_output_string() function (admin/includes/functions/general.php:38).
The call to htmlspecialchars contains a 4th parameter that is not available until PHP 5.2.3 (see http://php.net/manual/en/function.htmlspecialchars.php). I simply removed the parameter in my installation (the call is on line 40), but a cleaner way would probably be to test the version of PHP and call the htmlspecialchars() with the appropriate parameters.
Other than that, it has been smooth upgrade! Thanks and great work!
Generations Crafting (Our Zen-Cart storefront)
And that's just it, Doc - my mind has always been my Achilles' heel!" -- The Tick
By jewelsexports in forum General Questions
Last Post: 10 Mar 2011, 04:00 PM
By PatF in forum Addon Templates
Last Post: 13 Jul 2010, 03:29 PM
By Peace Freak in forum Built-in Shipping and Payment Modules
Last Post: 28 Sep 2006, 05:15 PM
By virtualahmad in forum Addon Shipping Modules
Last Post: 26 May 2006, 01:24 AM
By virtualahmad in forum Built-in Shipping and Payment Modules
Last Post: 25 May 2006, 09:17 PM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC