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,966
  • Latest: safir45
Stats
  • Total Posts: 195,992
  • Total Topics: 21,323
  • Online today: 894
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 409
  • Total: 409

Undefined index: tp_panels

Started by Kike_GL, December 10, 2012, 03:19:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kike_GL

Link to my site: http://www.perut.org
SMF version: SMF ver. 2.0.2
TP version: TP ver. 1.107
Default Forum Language: Spanish_latin_utf8
Theme name and version: Default
Browser Name and Version: iExplorea and Chome.
Mods installed: Aeva Media, Adk Blog, httpBL, Users Online Today ,FAQ Mod and Tapatalk
Related Error messages: Undefined index: tp_panels

http://perut.org/index.php?action=tpmod;shout=admin

File: ***/Themes/default/languages/TPortal.spanish_latin-utf8.php (tp_below sub template - eval?)
Línes: 28, 40, 41, 59, 71, 81, 82, 101

Saludos, Kike_GL

IchBin

Does $txt['tp_panels'] appear in your TPortal.spanish_latin-utf8.php file?

Kike_GL

There was "tp_panels" and added it, but continuous defect.

Now I have:
$txt['tp-panels'] = 'Paneles';
$txt['tp_panels'] = 'Paneles';


I just saw that there is another error related to the Shout Box:
in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
Saludos, Kike_GL

IchBin

Well I need the full errors you are seeing. That doesn't give me a line number or filename that I can lookup for the errors you are seeing.

Kike_GL

The same lines: 28, 40, 41, 59, 71, 81, 82 and 101.

The error only occurs after I asked to revalidate administrator password to see all shouts. Appears also double the administration menu on the left side.
Saludos, Kike_GL

IchBin

Did you turn off template eval in the server settings? After doing that, it should hopefully show a proper file where the error occurs. The error shouldn't occur in the language file since the only thing in the file should be the language strings themselves.  Just to make sure, please attach your file here so I can look.

Kike_GL

"Disable evaluation of templates" is not checket.
Saludos, Kike_GL

IchBin

Yes, that is what I asked. You need to check the box and save. then see what the errors are saying after that option is changed.

Why are you attaching your TPBlockLayout.template.php file? You said the error was in your TPortal.spanish_latin-uft8.php file right?

Kike_GL

#8
"Disable evaluation of templates" is checket now.

http://perut.org/index.php?action=tpmod;shout=admin
8: Undefined index: tp_panels
Archivo: .../Themes/default/TPBlockLayout.template.php

Lines: 28, 40, 41, 59, 71, 81, 82 and 101.
Saludos, Kike_GL

IchBin

Is the error only appearing for your user?
Is it appearing for anyone else?
Do you get the error(s) every time you visit this URL?
http://perut.org/index.php?action=tpmod;shout=admin

From your picture, it looks to me like your forum is pretty screwed up. Maybe the mod or mods have been installed twice or some code is duplicated or something. Hard to say....

As a last resort you can do a fresh update of your SMF files and install your mods again to see if it clears things up.

This website is proudly hosted on Crocweb Cloud Website Hosting.