TinyPortal

Development => Support => Topic started by: malcomxar on March 31, 2009, 12:07:21 AM

Title: Some errors in my Errors Log
Post by: malcomxar on March 31, 2009, 12:07:21 AM
Hi!
I am getting some errors in my log that are rally anoying because they generate about 2k of errors per day :S Can anyone help me?
Link to my site: http://www.gptlatino.net/foro
SMF version: 1.1.8
TP version: 1.0.5
Theme name and version: Outline for TP ver 1.0
Mods installed:
1.     Pretty URLs      0.9.1      
2.    Ad Managment    2.3    
3.    Treasury    2.34    
4.    Display Signatures Only Once Per Page    1.2    
5.    Separate Sticky and Normal Topic    1.0    
6.    AJAX Instant Quick Reply    1.0.2
7.    Referrals Mod    2.0.1
8.    SMF Sitemap    1.2.2
Related Error messages:

8: Undefined index: lower-tp-upshrink_description
Archivo: /home/gptlatin/public_html/foro/Sources/TPortal.php
Línea: 2016


8: Undefined index: left-tp-upshrink_description
Archivo: /home/gptlatin/public_html/foro/Sources/TPortal.php
Línea: 2016


8: Undefined index: tp-showcomments
Archivo: /home/gptlatin/public_html/foro/Themes/default/languages/Treasury.spanish.php (tp_above sub template - eval?)
Línea: 624


Many thanks!
Title: Re: Some errors in my Errors Log
Post by: IchBin on March 31, 2009, 02:18:05 AM
Are you able to figure out when they happen? Do you see them only generated when you visit a certain page? Do you see them only on a certain language? What kind of troubleshooting have you done to figure things out? Any more details?
Title: Re: Some errors in my Errors Log
Post by: malcomxar on March 31, 2009, 04:57:54 AM
From what I have researched this is the line from TPortal.php that is causing the first and second error

$context['TPortal']['upshrinkpanel'] .= '<a href="javascript:void(0);" onclick="tpshrinkHeader'.$pan.'bar(!tpcurrent_'.strtolower($pan).'bar); return false;"><img id="tpupshrink'.$pan.'bar" src="'. $settings['tp_images_url']. (empty($options['collapse_'.strtolower($pan).'bar']) ? '/TPselect_'.strtolower($pan).'.gif' : '/TPselect_'.strtolower($pan).'2.gif') . '" alt="*" title="'. $txt[strtolower($pan).'-tp-upshrink_description']. '" border="0" /></a><img id="tpupshrinkTemp'.$pan.'bar" src="'. $settings['images_url']. '/blank.gif" alt="" /> ';

I can see the error both in Spanish and in English and happens in any part of the forum you visit.
But i don't know much of php so that is as far as I can get.
Any ideas ?
Title: Re: Some errors in my Errors Log
Post by: ZarPrime on March 31, 2009, 08:05:09 AM
Please temporarily switch your Forum back to the SMF default theme, clear out your error log, and check to see if the errors are still generated.  At least one of these errors may be caused because 1 or more of your Mods hasn't been edited to work with your custom theme.  The likely candidate is the treasury mod but other Mods could be causing this as well.  Please verify that you installed your Mods, including TinyPortal, while your Forum was set to the SMF default theme.  You will most likely be able to get help with making your Mods work with the Outline theme at http://www.dzinerstudio.com/index.php

ZarPrime