News:

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

Main Menu

Subs-Post.php errors

Started by searchgr, December 30, 2009, 06:33:43 PM

Previous topic - Next topic

searchgr

It seems that are related to a utf-8 character?

My forum is charset=ISO-8859-1

Can you help?



[30-Dec-2009 13:00:06] PHP Notice:  Undefined index:  server in /home/***/public_html/Sources/Subs-Post.php on line 631
[30-Dec-2009 13:00:06] PHP Notice:  Undefined index:  character_set in /home/****/public_html/Sources/Subs-Post.php on line 1219
[30-Dec-2009 13:00:06] PHP Notice:  Undefined index:  character_set in /home/****/public_html/Sources/Subs-Post.php on line 1219
[30-Dec-2009 13:00:06] PHP Notice:  Undefined index:  character_set in /home/***/public_html/Sources/Subs-Post.php on line 1219
[30-Dec-2009 13:00:06] PHP Notice:  Undefined index:  utf8 in /home/***/public_html/Sources/Subs-Post.php on line 1262
[30-Dec-2009 13:00:06] PHP Notice:  Undefined index:  utf8 in /home/***/public_html/Sources/Subs-Post.php on line 1264
[30-Dec-2009 13:00:07] PHP Notice:  Undefined index:  server in /home/***/public_html/Sources/Subs-Post.php on line 1284
[30-Dec-2009 13:00:07] PHP Warning:  preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Compilation failed: invalid UTF-8 string at offset 8 in /home/*****/public_html/Sources/Subs-Post.php on line 1284
[30-Dec-2009 13:00:07] PHP Notice:  Undefined index:  character_set in /home/***/public_html/Sources/Subs-Post.php on line 1219



631: $line_break = $context['server']['is_windows'] || !$use_sendmail ? "\r\n" : "\n";
1219: $charset = $custom_charset !== null ? $custom_charset : $context['character_set'];
1262: if ($hotmail_fix && ($context['utf8'] || function_exists('iconv') || $context['character_set'] === 'ISO-8859-1'))

1264:if (!$context['utf8'] && function_exists('iconv'))

1284: return array($charset, preg_replace('~([\x80-' . ($context['server']['complex_preg_chars'] ? '\x{10FFFF}' : "\xF7\xBF\xBF\xBF") . '])~eu', '$entityConvert(\'\1\')', $string), '7bit');



Advertisement: