TinyPortal

General => Chit chat => Topic started by: Axel on December 29, 2005, 11:43:41 PM

Title: Undefined index: tp-pathtothumbs2
Post by: Axel on December 29, 2005, 11:43:41 PM
what would have to contain $txt['tp-pathtothumbs2']?

From forum logs I receive this error every time I access on TPadmin panel:
Quote8: Undefined index: tp-pathtothumbs2
File: /membri2/mp4/Themes/default/TPortalBlocks.template.php (eval?)
Line: 352

Bye,
Axel
Title: Re: Undefined index: tp-pathtothumbs2
Post by: Ray on December 30, 2005, 01:53:27 AM
Fix can be found here
http://www.tinyportal.net/smf/index.php?topic=1714.0
Found it by doing a search

Thats a language string missing. Just add:

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

..in TPortal.english.php
Title: Re: Undefined index: tp-pathtothumbs2
Post by: Axel on December 30, 2005, 04:06:10 PM
doh! i'm sorry!
maybe i've make an error on search string  :'(

Thanks Ray and happy new year!