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,231
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 429
  • Total: 429

Getting error messages on TPortal.template.php

Started by rockyrails, May 09, 2010, 12:42:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rockyrails

I am getting the following error messages (every time someone views site)
I am assuming its a TP related error as the file is TPortal.template
Using smf2.0 RC3  - only mods istalled. (error shows up even with just TP installed and nothing else)
mods installed : SMF Gallery Pro  - SMF Links  - bookmarks  - google member maps - Download system - and country  flags - all are the latest release.

error shows up regardless of theme used - at moment only theme is the default

8: Undefined offset: 111File: /../.../public_html/Themes/default/TPortal.template.php (main sub template - eval?)
Line: 24

2: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resourceFile: /home1/...../public_html/Themes/default/TPortal.template.php (main sub template - eval?)
Line: 202

bloc

That number is not used in the TP file, so it must come from something else. By the sound of it, its an old language entry not used in SMF 2.0 anymore:

$txt[111] = 'Last post';

Check you template files for [111] and change it to ['last_post']

This website is proudly hosted on Crocweb Cloud Website Hosting.