Zen Cart Logo
Forums / General Questions / htmlspecialchars() expects at most 3 parameters, 4 given

htmlspecialchars() expects at most 3 parameters, 4 given

Views: 3,740

Results 1 to 3 of 3
10 Mar 2011, 6:44 AM
#1
jewelsexports avatar

jewelsexports

New Zenner

Join Date:
Jul 2009
Location:
Jaipur, India
Posts:
12
Plugin Contributions:
0

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!

10 Mar 2011, 7:08 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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.

10 Mar 2011, 3:00 PM
#3
ajeh avatar

ajeh

Oba-san

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

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