Advertisement:

Author Topic: help - error log - htmlspecialchars() - Invalid multibyte sequence in argument  (Read 7290 times)

Offline italo_anonimo

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • perumoviles.net
hi

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

Code: [Select]
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'
Code: [Select]
'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

Offline italo_anonimo

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • perumoviles.net
bump!!

thanks

Offline Anthony`

  • Sophist Member
  • *****
  • Posts: 1,347
  • Gender: Male
  • Formerly Project Evolution
    • AnthonyCalandra on GitHub
Is there anymore htmlspecialchars variables?

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,802
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
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 ]