You are here:  » htmlspecialchars(): Invalid multibyte sequence


htmlspecialchars(): Invalid multibyte sequence

Submitted by chrisst1 on Wed, 2013-07-10 13:39 in

Hi David

We have just noticed a lot of log warnings for this line (97) in voucher_feeds_register_step3.php

print "".htmlspecialchars($v,ENT_QUOTES,$config_charset)."";

[Wed Jul 10 13:59:55 2013] [error] [client ##.###.###.###] PHP Warning: htmlspecialchars(): Invalid multibyte sequence in argument in /var/www/vhosts/#####/httpdocs/#####/pt/#####/voucher_feeds_register_step3.php on line 96, referer: #####/#####/0000/#####/voucher_feeds_register_step2.php?filename=aw_network.csv&useFormat=formatDetected&formatDetected=csv%7C44%7C1%7C34&formatSelected=

The site is config_charset utf-8, the voucher feeds producing the warnings are AW and WG. I have tried removing $config_charset from above which did work, but i'm not sure whether it right to do or not.

Any ideas?

Chris

Submitted by support on Wed, 2013-07-10 14:12

Hi Chris,

Please could you email me (zipped if possible) the "aw_network.csv" file that is causing this warning and I'll check it out on my test server. I don't think it's feed related but something PHP internal but I can check that with a copy of the same data...

Thanks,
David.
--
PriceTapestry.com