PDA

View Full Version : error message on latest CVS version


tshawkins
26-08-04, 09:20 PM
On the latest CVS version Im getting the following warning printed all over the pages

Warning: htmlspecialchars(): charset `US-ASCII' not supported, assuming iso-8859-1 in /usr/local/www/data-dist/dotprojectcvs/includes/main_functions.php on line 390

Its non fatal as setting ini_set('display_errors', 0); in index.php makes it go away.

I persume this is the apache setup, that is causing it, any ideas?

henkfikkert
01-12-04, 07:24 PM
Obviously has to do with a PHP setting. Errors do not show with a M$ setup, but show up with linux. In my case this was due to a missing default_charset setting in /etc/php.ini. Adding the line
default_charset= "iso-8859-1"
made the error disappear . (also did make a similar change to my httpd.conf, but don't know if that has influenced this: changed AddDefaultCharset from UTF8 to ISO-8859-1)
cheers,Henk