FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Another nntp issue with 3.0.0
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Another nntp issue with 3.0.0 [message #161379 is a reply to message #161147] Wed, 16 December 2009 23:05 Go to previous messageGo to previous message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma:
Senior Member
jm2morri wrote on Tue, 17 November 2009 12:31
I 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&amp;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&amp;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, '/'));
}

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: karma issue
Next Topic: Can't set up a number of topics per page higher than 5
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu May 16 11:02:12 GMT 2024

Total time taken to generate the page: 0.05133 seconds