TinyPortal
General => Chit chat => Topic started by: Amay_Zing on December 16, 2005, 09:00:55 AM
I am getting lots of these error logs and for diff members. The one I get all of the time is this one:
8: Undefined index: tp-pathtothumbs2
File: /home/showno/public_html/forum/Themes/default/TPortalBlocks.template.php (eval?)
Line: 341
Whats wrong. Everything seems to work fine but the error logs say something else
Thanks
Thats a language string missing. Just add:
$txt['tp-pathtothumbs2']='';
..in TPortal.english.php
Thanks Bloc ;D
Ermmm sorry Bloc .... I cannot find that file.
It's in the Themes/default/languages folder.
got that thx. but the text i just added shows on web page ???
<?php
// Version: 0.75 ; TPortal
$txt['tp-by'] = 'by';
$txt['tp-readmore'] = 'Read more...';
$txt['tp-comments'] = 'Comments';
$txt['tp-nonews'] = 'No news found';
$txt['tp-changetheme'] = 'Change';
$txt['shout!'] = 'Shout!';
$txt['no_articles'] = 'There are no articles in this section yet.';
$txt['tp-submitarticle']='Submit an article!';
$txt['tp-submissions_available']=' submissions';
$txt['tp-guest']='guest';
// for userbox block
$txt['tp-pm']='PM: ';
$txt['tp-pm2']='New: ';
$txt['tp-unread']='Show unread';
$txt['tp-replies']='Show replies';
$txt['tp_unapproved_members']='Unapproved: ';
$txt['tp_maintenace'] = 'Maintenace Mode';
$txt['tp-loggedintime'] = 'Total Logged In:';
$txt['tp-writearticle']= 'Submit an article!';
$txt['tp-editarticles']= 'Edit articles';
$txt['tp-editarticle']= 'Edit article';
?>
Ok where do I put it in here ::)
thanks
It really doesn't matter.
Quote from: Amay_Zing on December 18, 2005, 03:44:44 PM
<?php
// Version: 0.75 ; TPortal
$txt['tp-pathtothumbs2']='';
$txt['tp-by'] = 'by';
$txt['tp-readmore'] = 'Read more...';
$txt['tp-comments'] = 'Comments';
$txt['tp-nonews'] = 'No news found';
$txt['tp-changetheme'] = 'Change';
$txt['shout!'] = 'Shout!';
$txt['no_articles'] = 'There are no articles in this section yet.';
$txt['tp-submitarticle']='Submit an article!';
$txt['tp-submissions_available']=' submissions';
$txt['tp-guest']='guest';
// for userbox block
$txt['tp-pm']='PM: ';
$txt['tp-pm2']='New: ';
$txt['tp-unread']='Show unread';
$txt['tp-replies']='Show replies';
$txt['tp_unapproved_members']='Unapproved: ';
$txt['tp_maintenace'] = 'Maintenace Mode';
$txt['tp-loggedintime'] = 'Total Logged In:';
$txt['tp-writearticle']= 'Submit an article!';
$txt['tp-editarticles']= 'Edit articles';
$txt['tp-editarticle']= 'Edit article';
?>
Ok where do I put it in here ::)
thanks