TinyPortal

Development => Support => Topic started by: sburke930 on June 01, 2009, 03:30:16 AM

Title: Error Log
Post by: sburke930 on June 01, 2009, 03:30:16 AM
There are some errors in my logs that I do not know how to fix.  I tried to search for tp-newtag but there is nothing.

8: Undefined index: tp-newtag
File: /mnt/w0903/d45/s17/b02eea8f/www/xxxxxxxxxx/Sources/TPSubs.php
Line: 1044


Here is what I have for line 1044:
<br style="clear: both;" /><br />' . $txt['tp-newtag'] .' <input type="input" value="" name="xyzx_'.$prefix.'_'.$itemid.'"  />
Title: Re: Error Log
Post by: Renegd98 on June 01, 2009, 03:36:19 AM
sburke,

We are going to need some more info to help you.
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581) and provide the requested info so we can have a starting point to try and help.
Title: Re: Error Log
Post by: sburke930 on June 01, 2009, 04:15:47 AM
Sorry - I knew that and still did not post it...blonde moment!


Mods installed are:

1. SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update 1.0     
2. Add Domaintools to TrackIP 1.0   
3. Admin Notepad 1.0   
4. User Email System 1.3   
5. Global Headers Footers 1.4.1     
6. User Control Panel By Alan S 2.0   
7. Activate account redirection 0.1     
8. delete inactive users 1.0.3     
9. TinyPortal 1.083     
10. Posting_Announcement 1.1.3.2   
11. Enhanced Dropdown 1.1   
12. Hide Tag Special 1.8.1   
Title: Re: Error Log
Post by: IchBin on June 01, 2009, 04:49:03 AM
Perhaps you can debug a little bit. Remove the errors in your log. Browse your pages in your forum, and see WHEN this error is appearing. Also, take note WHAT is displaying when you see the error on a certain page. I have a feeling this has something to do with the tags part of TP, but am not 100% sure right now.
Title: Re: Error Log
Post by: sburke930 on June 01, 2009, 03:28:45 PM
I deleted all the errors and put the forum into maintenance mode and  every time I go to a board or visit an article that error comes up.  How do I fix this without ruining the 9 articles that I have already made?  (I dread removing TP because I don't want to lose the articles.)

Title: Re: Error Log
Post by: IchBin on June 01, 2009, 04:46:03 PM
What language are you using on your board or on your profile? You should see this line in TPortal.english.php in your default/languages folder.

$txt['tp-newtag'] = 'Create new tag:';
Title: Re: Error Log
Post by: sburke930 on June 02, 2009, 04:13:48 AM
The line is there for the default folder but was not there for the theme folder.  I moved it there and now that error has disappeared.

Thank you!

Solved!
Title: Re: Error Log
Post by: IchBin on June 02, 2009, 03:38:46 PM
You do not need the language files in all themes. They only need to be in the default theme. If were getting the error, its probably something to do with your language that is set.
Title: Re: Error Log
Post by: sburke930 on June 02, 2009, 05:19:39 PM
For some reason this theme (default based) was changed to read from it's own theme.  Not sure why or how but it's fixed now.  Thank you for your help!
Title: Re: Error Log
Post by: than on June 24, 2009, 11:37:28 AM
The problem is "another missed code" in english-utf8.

The TPortal.english.php have this code. But itÃ,´s missed in TPortal.english-utf8

Regards.

P.D.: I found more missed code in TPortal.english-utf8:
$txt['tp-from'] = 'From ';
$txt['tp-newtag'] = 'Create new tag:';
$txt['tp-rates'] = 'rates';
$txt['tp-haverated'] = 'You have rated.';
$txt['tp-admin'] = 'TP Admin';