TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: Maxâ„¢ on April 28, 2010, 01:06:23 AM

Title: [bugtracker] Missing language string.
Post by: Maxâ„¢ on April 28, 2010, 01:06:23 AM
For members who click on "My articles" but have not submitted or written any.

missing txt string $txt['tp-noarticlesfound'].

index.php?action=tpmod;sa=myarticles
8: Undefined index: tp-noarticlesfound

TPortal.english.php:
$txt['tp-noarticlesfound'] = 'You have not written any articles yet, thus creating the error that made the error.';  ;D

Edit: SMF 2 RC3 - TP beta 5-1
Title: Re: [bugtracker] Missing language string.
Post by: ZarPrime on April 28, 2010, 12:23:18 PM
Could this be the cause of the error? ...
Quote
All the articles the member has written. Note that articles currently not active will give an error when viewed and are also marked in italic style. Articles not approved yet are likewise marked with surrounding parentheses.

ZarPrime
Title: Re: [bugtracker] Missing language string.
Post by: bloc on April 28, 2010, 04:15:25 PM
No, it was simply a missing txt entry. :)

Fixed for beta 5.2.