Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009
    Location
    Jaipur, India
    Posts
    12
    Plugin Contributions
    0

    Default htmlspecialchars() expects at most 3 parameters, 4 given

    Hello,
    Just noticed when i click on EDIT tab for any order it show this error:


    Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /home/content/j/e/w/jewelsexports/html/admin/includes/functions/general.php on line 39

    Please help me how to fix this

    thanks in advance!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: htmlspecialchars() expects at most 3 parameters, 4 given

    What version of Zen Cart do you have? What PHP version is your server running? Has the edit function worked before? What customizations do you have?

    From php.net:
    htmlspecialchars — Convert special characters to HTML entities

    Changelog

    Version Description
    5.2.3 The double_encode parameter was added.
    4.1.0 The charset parameter was added.
    Last edited by gjh42; 10 Mar 2011 at 08:13 AM.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: htmlspecialchars() expects at most 3 parameters, 4 given

    Check post #6 on:
    http://www.zen-cart.com/forum/showthread.php?t=153143

    and see if that applies to you ...
    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!

 

 

Similar Threads

  1. v154 functions_general.php: htmlspecialchars missing parameters?
    By lat9 in forum General Questions
    Replies: 1
    Last Post: 11 Jan 2015, 12:44 AM
  2. Replies: 9
    Last Post: 20 Jan 2014, 09:21 PM
  3. Replies: 2
    Last Post: 20 Jan 2014, 07:21 PM
  4. v150 PHP Warning: explode() expects at most 3 parameters
    By ray-the-otter in forum General Questions
    Replies: 6
    Last Post: 8 Oct 2012, 02:54 PM
  5. PHP Warning: str_repeat() expects exactly 2 parameters,
    By lala rock in forum General Questions
    Replies: 4
    Last Post: 28 Feb 2012, 02:44 AM

Posting Permissions

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