TinyPortal

Development => Support => Topic started by: ontap on September 11, 2005, 10:42:25 AM

Title: SMF Arcade 1.2 error
Post by: ontap on September 11, 2005, 10:42:25 AM
one of the mods installed on my forums is smf arcade, when lookin at the "Statistics" page,
an error is created in the error log.

smf/index.php?action=arcade;sa=top
8: Undefined index: 376
File: smf\Themes\default\TPortalBlocks.template.php (eval?)
Line: 1085

does something need changin in the TPortalBlocks.template.php?
or is this error to do with the arcade itself, any ideas how to get rid of it?

Title: Re: SMF Arcade 1.2 error
Post by: Nokonium on September 11, 2005, 11:09:39 AM
With Arcade if it works let it. Error messages are a 'feature'  ;)
Title: Re: SMF Arcade 1.2 error
Post by: bloc on September 11, 2005, 03:18:23 PM
The error manifests itself in TPortalBlocks..thats the "eval?" value is meant for. Check if any arcade specific  langauge strings is missing... presumably something with "376" in it.
Title: Re: SMF Arcade 1.2 error
Post by: ontap on September 11, 2005, 03:34:15 PM

soo it would be something in the language file missing?, was lookin threw them eariler nd theres noting that starts with "376", so i added $txt['arcade_376'] = ""; still the error!
Title: Re: SMF Arcade 1.2 error
Post by: bloc on September 11, 2005, 05:47:47 PM
no, more like $txt[376] = ''; or $txt['376'] = '';.

But it may be something else - that use an array. Its just that missing language strings often throw these kind of errors.