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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 451
  • Total: 451

Undefined index

Started by P0RN5T4R, February 12, 2009, 09:47:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

P0RN5T4R

I'm getting this errors in the forum error log:

Link to my site: http://www.appleportugal.net
SMF version: SMF ver. 1.1.8
TP version: TP ver. 0.98
Theme name and version: FauxApple
Mods installed:
Member Color Link
SMF Poll Mod
TinyPortal
YouTube BBCode
SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update
Display Age and Location next to posts
SMF 1.0.14 / 1.1.6 Update
SMF 1.0.15 / 1.1.7 Update
SMF 1.0.16 / 1.1.8 Update
Favicon
Social Bookmarks

Related Error messages:

8: Undefined index: TPortal
Ficheiro: /home/content/p/0/r/p0rn5t4r/html/Themes/default/Login.template.php (main_above sub template - eval?)
Linha: 208

8: Undefined index: TPortal_front_type
Ficheiro: /home/content/p/0/r/p0rn5t4r/html/Themes/default/Login.template.php (main_above sub template - eval?)
Linha: 604

Any ideas how to solve this?

Thnkz


P0RN5T4R


G6Cad

The errors you have seem top be generated from missing language strings
When you install mods, you need to make sure you have the languages for them to as they only have English included in the packages.

Also, custom themes ( not default ) needs to have all the mods added manually to them.

P0RN5T4R

#4
Been checking and everything is OK, mod strings are added to Portuguese language files.

Does anybody knows how to solve it?

EDIT: I've realised that this happens when someone tries to access restricted topics like the ones created for mod's only.

IchBin

Restricted topics? Far as I know, you can't restrict topics in SMF. You can only restrict boards.

P0RN5T4R

Thank you for the helpfull answer.  :up:

I think that everyone understand what i meant, anyway if the board is restricted the topics will also be as well as the messages!  >:D

This website is proudly hosted on Crocweb Cloud Website Hosting.