while ($row = convert_fetch_assoc($special_result))
{
if ($special_code !== null)
eval($special_code);
// Here we have various bits of custom code for some known problems global to all converters.
if ($special_table == $to_prefix . 'members')
{
// Let's ensure there are no illegal characters.
$row['member_name'] = preg_replace('/[<>&"\'=\\\]/is', '', $row['member_name']);
$row['real_name'] = trim($row['real_name'], " \t\n\r\x0B\0\xA0");
if (strpos($row['real_name'], '<') !== false || strpos($row['real_name'], '>') !== false || strpos($row['real_name'], '& ') !== false)
$row['real_name'] = htmlspecialchars($row['real_name'], ENT_QUOTES);
else
$row['real_name'] = strtr($row['real_name'], array('\'' => '''));
// Okay, the hardest is ADO (Windows only, by the way.)
if (!is_resource($result) && is_object($result))
{
//if ($result->EOF)
// return false;
$row = array();
$fields = $result->Fields;
for ($i = 0, $n = $fields->Count; $i < $n; $i++)
{
$field = $fields[$i];
$row[$field->Name] = $field->Value;
}
$result->MoveNext();
return $row;
}
t.id_topic, t.id_board, t.approved, t.id_first_msg,
t.id_topic, t.id_board, t.approved, t.id_first_msg, t.description,
'subject' => $row['subject'],
'subject' => $row['subject'],
'description' => $row['description'] ?? '',
<a href="' . $scripturl . '?topic=' . $topic_info['id_topic'] . '.0">' . $topic_info['subject'] . '</a>
<a href="' . $scripturl . '?topic=' . $topic_info['id_topic'] . '.0">' . $topic_info['subject'] . '</a><span class="smalltext" style="flex-grow:1;width:100%;padding-inline:1.75rem 0.5rem;">' . $topic_info['description'] . '</span>
Quote from: Darkness7148 on June 28, 2025, 05:39:50 AMJust been greeted with this fatal error on my forum on every page.
Fatal error: Uncaught Error: Call to undefined function idna_maps_not_std3()
You cannot view this attachment.
I've had to comment out the call to the function in Class-Punycode.php, Lines 536/537.
SMF 2.1.6.