TinyPortal

Development => Support => Installation => Topic started by: sona67 on March 28, 2011, 09:11:35 AM

Title: TPprofile.template.php undefined errors, cannot find the language files
Post by: sona67 on March 28, 2011, 09:11:35 AM
SMF version: SMF ver. 1.1.13
TP version: TP ver. 1.102
Default Forum Language: English UTF8
Theme name and version: SMF default
Browser Name and Version: tried on IE8/Firefox, and Chrome
Mods installed:
1.   Avatar Verification    1.4.2     
2.   TinyPortal    1.102     
3.   Pretty URLs    1.0RC5     
4.   Aeva Media    1.4c     

Quote8: Undefined index: views
File: /host/Themes/default/TPprofile.template.php
Line: 49

8: Undefined index: date
File: /host/Themes/default/TPprofile.template.php
Line: 48

8: Undefined index: subject
File: /host/Themes/default/TPprofile.template.php
Line: 47

Another set of undefined errors, I checked my languages file, but cannot find the source of the problem. I'm using the default SMF theme ,really surprised to have all this missing strings :(

Please let me know if you need more information. Thank you.

Title: Re: TPprofile.template.php undefined errors, cannot find the language files
Post by: IchBin on March 28, 2011, 07:38:25 PM
Add this to index.english.php (or other language files).
Code (add) Select

$txt['subject'] = 'Subject';
$txt['date'] = 'Date';
$txt['views'] = 'Views';


These are SMF2 strings, and should probably be changed in the install for SMF1.x. :) If you wouldn't mind adding something to bugtracker I would appreciate it.
Title: Re: TPprofile.template.php undefined errors, cannot find the language files
Post by: sona67 on March 29, 2011, 11:18:06 AM
So far so good, no errors :)

Added to bugtracker
http://www.tinyportal.net/index.php?issue=75.0 (http://www.tinyportal.net/index.php?issue=75.0)