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: Undefined index: character_set utf8 server Subs.php

Started by Kolya, January 23, 2020, 02:08:02 PM

Previous topic - Next topic

Kolya

The scheduled tasks ran for the first time since upgrading from 2.0.15 => 2.0.17 and apparently there were a few errors when sending out mails.
I'm running SMF 2.0.17 on British English UTF8.

Subs-Post.php

Undefined index: character_set
$charset = $custom_charset !== null ? $custom_charset : $context['character_set'];

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

Undefined index: utf8
if ($hotmail_fix && ($context['utf8'] || function_exists('iconv') || $context['character_set'] === 'ISO-8859-1'))

Undefined index: character_set
$charset = $custom_charset !== null ? $custom_charset : $context['character_set'];

Undefined index: server
$line_break = $context['server']['is_windows'] || !$use_sendmail ? "\r\n" : "\n";


Subs.php

Undefined index: server
if ($context['server']['is_windows'] && strpos($str, '%e') !== false)

I checked and all of these are original code (not changed by mods). Any ideas?

Illori


Kolya

Is there any place where I can follow development on this issue?


Kolya

Okay. How can I learn about any future fix?
Will you post about it here?

Illori


Kolya


Ulibka

Quote from: Kolya on January 23, 2020, 02:08:02 PM
there were a few errors

I'm have same problem.
Please, write in this topic if you can fix the problem.
(SMF 2.017)

Kolya


Advertisement: