News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

help - error log - htmlspecialchars() - Invalid multibyte sequence in argument

Started by italo_anonimo, December 12, 2008, 05:32:39 AM

Previous topic - Next topic

italo_anonimo

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


ascaland


Rumbaar

Is your guest language (ie base server settings) language different to those of registered users?

When did this start happening?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: