TinyPortal

Development => International => German => Topic started by: maobe on May 25, 2006, 01:10:38 AM

Title: Undefined Index Fehler
Post by: maobe on May 25, 2006, 01:10:38 AM
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 (http://grofafo.org/index.php/topic,26657.msg523265.html#new), 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?
Title: Re: Undefined Index Fehler
Post by: feline on May 28, 2006, 12:16:28 PM
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
Title: Re: Undefined Index Fehler
Post by: waremock on June 15, 2006, 05:49:47 PM
Can someone please post the answer in english? I am also having the same problem. Thanks.
Title: Re: Undefined Index Fehler
Post by: G6Cad on June 15, 2006, 05:56:24 PM
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
Title: Re: Undefined Index Fehler
Post by: 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
Title: Re: Undefined Index Fehler
Post by: G6Cad on June 16, 2006, 08:51:32 AM
We have to help where we can :)
Good morning Feline  8)
Title: Re: Undefined Index Fehler
Post by: waremock on June 16, 2006, 12:57:05 PM
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.