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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 73
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 140
  • Total: 140

Undefined Index Fehler

Started by maobe, May 25, 2006, 01:10:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

maobe

moinsen :)

im errorlog meines boards hÃÆ'Ã,¤ufen sich folgende fehler:

Quote8: Undefined index: TPortal
File: /home/httpd/vhosts/grofafo.org/httpdocs/Themes/default/Errors.template.php (eval?)

das ganze geht im zusammen hang mit folgender meldung:

QuoteAn Error Has Occurred!
The topic or board you are looking for appears to be either missing or off limits to you. 

verursacht wird das ganze dann, wenn die user auf ein thema klicken, das im index angezeigt wird, obwohl es nicht zu sehen sein dürfte, aber das ist eine andere geschichte...

jedenfalls erzeugt dies den obigen hinweis (zugriff nicht erlaubt) und den eintrag in den errorlogs... da die user ziemlich neugierig sind, wird oft dort hin geklickt, was mir dann die errorlogs zu müllt... ::)

es hat irgendwas mit den sprachdateien zu tun, ich hab aber keinen schimmer wo ich da ansetzen könnte, taucht unabhÃÆ'Ã,¤ngig von der eingestellten sprache auf. ... ::)

any ideas?

feline

Dafür gibts ein Fix ...

In der Datei Errors.php suche nach
// Display the error message - wireless?
if (WIRELESS)
$context['sub_template'] = WIRELESS_PROTOCOL . '_error';
// Load the template and set the sub template.
else
{
loadTemplate('Errors');
$context['sub_template'] = 'fatal_error';
}


und dannach einfügen:

// TinyPortal
TPortal_init();


Fel

waremock

Can someone please post the answer in english? I am also having the same problem. Thanks.

G6Cad

The first frame with code feline says SEARCH FOR

In the second frame with code she say insert

And the file to edit is Errors.php in the source directory

Add the tportal code in after the first code in the big box

feline

Dafür gibts ein Fix ...
-> it given a fix for that ...

In der Datei Errors.php suche nach
-> in the file Errors.php search for

und dannach einfügen:
-> and insert after:

multy language on TP.... :2funny:

Fel

G6Cad

We have to help where we can :)
Good morning Feline  8)

waremock

Quote from: feline on June 16, 2006, 08:26:52 AM
Dafür gibts ein Fix ...
-> it given a fix for that ...

In der Datei Errors.php suche nach
-> in the file Errors.php search for

und dannach einfügen:
-> and insert after:

multy language on TP.... :2funny:

Fel

Thanks for the lesson, very much appreciated, expecially from someone so beutiful.

This website is proudly hosted on Crocweb Cloud Website Hosting.