TinyPortal

Development => Support => Topic started by: leftezi on September 26, 2009, 03:56:18 PM

Title: Undefined index: left-tp-upshrink_description (error)
Post by: leftezi on September 26, 2009, 03:56:18 PM
TinyPortal v1.0 beta 4 Ã,© Bloc
Powered by SMF 1.1.10
Greek utf8 (default)

Mods:
1.     Global Headers Footers 1.4.1
2.    YouTube BBCode    2.5.1
3.    TinyPortal    1.083

Theme: Pegasus enhanced

-----------

I have the following errors in my error log.

8: Undefined index: left-tp-upshrink_description
file: .... /Sources/TPortal.php
line: 2062


There are many of them every day, grow up my database and i have to clean it frequently.

i don't know if the following error is related, i have posted in the premium theme support here (http://www.tinyportal.net/index.php/topic,30997.0.html):

8: Undefined index: block-upshrink_description
file: ..../Themes/pegasus11_enhanced/Display.template.php (eval?)
line: 20

And this maybe that i have posted here (http://www.tinyportal.net/index.php/topic,30998.0.html)

8: Undefined index: tp-noname
file: .... /Sources/TPSubs.php
line: 270


Any suggestions?
Title: Re: Undefined index: left-tp-upshrink_description (error)
Post by: IchBin on September 26, 2009, 08:22:45 PM
All of those text strings should be in your language files.
Themes/default/languages/TPortal.english.php:
$txt['left-tp-upshrink_description'] = 'Shrink or Expand the Left Panel';
$txt['block-upshrink_description'] = 'Collapse or Expand Block';
$txt['tp-noname'] = '-no name-';


If you are using a different language like spanish, then the file would be TPortal.spanish.php, and if you're using utf8 it would be TPortal.spanish-utf8.php

Please do not cross post the same issues.
Title: Re: Undefined index: left-tp-upshrink_description (error)
Post by: leftezi on September 27, 2009, 01:24:19 AM
IchBin, you are my angel.  :)
Thanks for 100d time my fiend.

i have cross posted because i thought that every error should have his own topic. Sorry.

I can not mark the other topics as solved. Should i better delete them?
Title: Re: Undefined index: left-tp-upshrink_description (error)
Post by: IchBin on September 27, 2009, 01:38:41 AM
If you are posting errors, then you can keep them all in the same topic. Otherwise, if it's a different issue just use separate topics. Don't worry about deleting them or marking them solved. Not every post needs to be marked. :)