Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Phoenix, AZ
    Posts
    69
    Plugin Contributions
    0

    Default [Duplicate] Unsupported call to htmlspecialchars()

    Hello,

    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

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,875
    Plugin Contributions
    6

    Default Re: Unsupported call to htmlspecialchars()

    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Jun 2007
    Location
    Phoenix, AZ
    Posts
    69
    Plugin Contributions
    0

    Default Re: Unsupported call to htmlspecialchars()

    Du-oh! I scanned through the bug reports and didn't see it. Like a typical user I did not RTFM (or release notes thread in this case).

    Thanks!
    Generations Crafting (Our Zen-Cart storefront)
    "
    And that's just it, Doc - my mind has always been my Achilles' heel!" -- The Tick

 

 

Similar Threads

  1. htmlspecialchars() expects at most 3 parameters, 4 given
    By jewelsexports in forum General Questions
    Replies: 2
    Last Post: 10 Mar 2011, 04:00 PM
  2. Invalid or unsupported form of compression.
    By PatF in forum Addon Templates
    Replies: 1
    Last Post: 13 Jul 2010, 03:29 PM
  3. PayPal ...unsupported characters for this field.
    By Peace Freak in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 28 Sep 2006, 05:15 PM
  4. UPS - Unsupported country specified
    By virtualahmad in forum Addon Shipping Modules
    Replies: 1
    Last Post: 26 May 2006, 01:24 AM
  5. UPS - Unsupported country specified
    By virtualahmad in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 25 May 2006, 09:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •