You are here:  » htmlentities error messages

Support Forum



htmlentities error messages

Submitted by pauly on Thu, 2007-10-04 20:07 in

The following error messages have begun appearing before the content of each page loading as a result of search or product selection from home page:

Warning: htmlentities(): charset `ANSI_X3.4-1968' not supported, assuming iso-8859-1 in /home/clikshop/web/products.php on line 10

Warning: htmlentities(): charset `ANSI_X3.4-1968' not supported, assuming iso-8859-1 in /home/clikshop/web/search.php on line 95

Any idea what would cause this error?

Submitted by support on Thu, 2007-10-04 20:21

Hi Paul,

I notice that you have been using Price Tapestry for over a year, so I'm not sure what level of the distribution you are running. In the most recent version, the character set as defined in config.php is used by htmlentities().

Can you check your $config_charset value in your config.php? In early distributions this setting didn't have a default value, but it now defaults to utf-8. If this setting is empty, or doesn't exist, either modify or add the following line in config.php:

  $config_charset = "utf-8";

If that doesn't make any difference, if you could email me your products.php and search.php I will add the character set override code so that you don't get this warning - but I think the above should fix it...

Cheers,
David.

Submitted by pauly on Thu, 2007-10-04 20:52

Hi David,

Had a look at the config.php and this line already exists. I'm not sure if an OSX upgrade (I'm an apple user) could have caused a browser error or an attempt at updating the comet file from affiliate window, which had an older Affiliatewindow format. Can you give me your email address and I will send you across the requested search.php and product.php files.

regards
Paul.

Submitted by support on Fri, 2007-10-05 07:20

Hi Paul,

Use the email address on this page....

http://www.pricetapestry.com/node/215

Cheers,
David.