TinyPortal

General => Chit chat => Topic started by: Amay_Zing on December 16, 2005, 09:00:55 AM

Title: Forum Error Log
Post 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
Title: Re: Forum Error Log
Post by: bloc on December 16, 2005, 10:52:14 AM
Thats a language string missing. Just add:

  $txt['tp-pathtothumbs2']='';

..in TPortal.english.php
Title: Re: Forum Error Log
Post by: Amay_Zing on December 16, 2005, 01:13:24 PM
Thanks Bloc  ;D
Title: Re: Forum Error Log
Post by: Amay_Zing on December 17, 2005, 10:59:38 PM
Ermmm sorry Bloc .... I cannot find that file.
Title: Re: Forum Error Log
Post by: IchBin on December 17, 2005, 11:13:39 PM
It's in the Themes/default/languages folder.
Title: Re: Forum Error Log
Post by: Amay_Zing on December 18, 2005, 03:41:38 PM
got that thx.  but the text i just added shows on web page ???
Title: Re: Forum Error Log
Post by: Amay_Zing on December 18, 2005, 03:44:44 PM
<?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
Title: Re: Forum Error Log
Post by: IchBin on December 18, 2005, 03:47:06 PM
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