Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: italo_anonimo on December 12, 2008, 05:32:39 AM

Title: help - error log - htmlspecialchars() - Invalid multibyte sequence in argument
Post by: italo_anonimo on December 12, 2008, 05:32:39 AM
hi

this is a error from error log .. (only guest generate this error)

2: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: Invalid multibyte sequence in argument
Archivo: /var/www/html/foro/Sources/Load.php(225) : runtime-created function
LĂ­nea: 3


in my load.php line 225 ==>          return ' . strtr($ent_check[0], array('&' => '&amp;'))  . 'htmlspecialchars($string, $quote_style, ' . ($utf8 ? '\'UTF-8\'' : '$charset') . ')' . $ent_check[1] . ';'),

code 'htmlspecialchars'
'htmlspecialchars' => create_function('$string, $quote_style = ENT_COMPAT, $charset = \'ISO-8859-1\'', '
global $func;
return ' . strtr($ent_check[0], array('&' => '&amp;'))  . 'htmlspecialchars($string, $quote_style, ' . ($utf8 ? '\'UTF-8\'' : '$charset') . ')' . $ent_check[1] . ';'),


help please... my version smf is 1.1.7
Title: Re: help - error log - htmlspecialchars() - Invalid multibyte sequence in argument
Post by: italo_anonimo on December 18, 2008, 02:44:00 PM
bump!!

thanks
Title: Re: help - error log - htmlspecialchars() - Invalid multibyte sequence in argument
Post by: ascaland on December 18, 2008, 05:09:56 PM
Is there anymore htmlspecialchars variables?
Title: Re: help - error log - htmlspecialchars() - Invalid multibyte sequence in argument
Post by: Rumbaar on January 14, 2009, 09:41:39 PM
Is your guest language (ie base server settings) language different to those of registered users?

When did this start happening?