TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 639
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

2 errors in error log

Started by darkangel, July 05, 2011, 04:15:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

weird... that shouldn't be there so I'm sure that is the problem. Would you mind zipping up all the TP files from your site from me? Please zip all the TP files from the Sources/ and Themes/default/ folders. I'll then compare them to a fresh install to see if there are problems. If not, I'll upload them to my test site and see if it happens on my site.

darkangel

well here they are...there may be some with a ~ at the end, I forgot to take those out before I zipped them up.

funny thing is that I went to the others that got updated and some of them--with less mods-- are getting the same errors in the error log.

thanks for looking into this

IchBin

Looks like in your edits or something that you removed a piece of code.

This section in TPsubs.template.php:
function template_subtab_above()
{
global $context, $txt, $settings;

if(sizeof($context['TPortal'])>1)
{


Should look like this:
function template_subtab_above()
{
global $context, $txt, $settings;

if(sizeof($context['TPortal']['subtabs'])>1)
{

darkangel

sorry about that --will fix it then get back to you. thanks

darkangel

worked like it should thank you so very much.

This website is proudly hosted on Crocweb Cloud Website Hosting.