Re: Another nntp issue with 3.0.0 [message #161379 is a reply to message #161147] |
Wed, 16 December 2009 23:05 |
jm2morri
Messages: 225 Registered: January 2009 Location: Stratford, Ontario, Canad...
Karma:
|
Senior Member |
|
|
jm2morri wrote on Tue, 17 November 2009 12:31I simply re-imported the group and it worked OK. So there's a bug there somewhere but re-importing was a workaround for me.
OK, this happened again on a forum that was imported with 3.0.0. Last time it was with a forum that was imported and used with 2.8.X so I figured the issue was with the importing. But that was not the case.
The exact message is
PHP Fatal error: Call to undefined function convertPlural() in /var/data/fudforum_data/include/theme/default/imsg_edt.inc on line 698.
The contents of that file with line 698 indicated below. So it looks like it can't find the function .convertPlural. Where should it be?
----
if ($obj->attach_cnt && $obj->attach_cache) {
$atch = unserialize($obj->attach_cache);
if (!empty($atch)) {
foreach ($atch as $v) {
$sz = $v[2] / 1024;
$sz = $sz < 1000 ? number_format($sz, 2).'KB' : number_format($sz/1024, 2).'MB';
$iemail_attach .= '<tr>
<td class="vm"><a href="index.php?t=getfile&id='.$v[0].'"><img alt="" src="'.$GLOBALS['WWW_ROOT'].'images/mime/'.$v[4].'" /></a></td>
<td><span class="GenText fb">Attachment:</span> <a href="index.php?t=getfile&id='.$v[0].'">'.$v[1].'</a><br />
***line 698 ***<span class="SmallText">(Size: '.$sz.', Downloaded '.convertPlural($v[3], array(''.$v[3].' time',''.$v[3].' times')).')</span></td></tr>';
}
$iemail_attach = '<p />
<table border="0" cellspacing="0" cellpadding="2">
'.$iemail_attach.'
</table>';
}
}
if ($GLOBALS['FUD_OPT_2'] & 32768 && defined('_rsid')) {
$pfx = str_repeat('/', substr_count(_rsid, '/'));
}
|
|
|