Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

In great need of help!


pure-dvd.com

Recommended Posts

While processing a test order on my site, this error appears as the billing address during checkout

?

Can ANYBODY help me with this? It's really annoying me.........

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/virtual/site162/fst/var/www/html/store/includes/functions/general.php on line 42

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/virtual/site162/fst/var/www/html/store/includes/functions/general.php on line 42

 

The program states:

 

//// Parse the data used in the html tags to ensure the tags will not break

function tep_parse_input_field_data($data, $parse) {

return strtr(trim($data), $parse);

}

 

function tep_output_string($string, $translate = false, $protected = false) {

if ($protected == true) {

return htmlspecialchars($string);

} else {

if ($translate == false) {

return tep_parse_input_field_data($string, array('"' => '"'));

} else {

return tep_parse_input_field_data($string, $translate);

}

}

}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...