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

continuos Guest error in TPortal.php

Started by patalete, November 17, 2008, 02:07:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

patalete

Hi

I'm receiving this error from Guest reading forum pages...

smf 1.1.7 & TP 0.9.8

Quote
Undefined index: 2
File:/Sources/TPortal.php
Line: 914

Undefined index: 13
File:/Sources/TPortal.php
Line: 914

Undefined index: 14
File: /Sources/TPortal.php
Line: 914

Undefined index: 2
File: /Sources/TPortal.php
Line: 915

Undefined index: 13
File: /Sources/TPortal.php
Line: 915

Undefined index: 2
File:/Sources/TPortal.php
Line: 917

Undefined index: 13
File: /Sources/TPortal.php
Line: 917

my tportal.php issue lines.. from 905 to 925. Marked exact lines into code..

// add linktre for articles

if($mypage!='' && $context['TPortal']['action']=='')

{

TPstrip_linktree();

// do the category have any parents?

$parents=array();

if($row['category']>0)

$parents[]=array(

'id' => $row['category'],

== 914 ===> 'name' => $context['TPortal']['categories'][$row['category']]['name'],

== 915 ===> 'shortname' => $context['TPortal']['categories'][$row['category']]['shortname'],

);

== 917 ===> if($row['category']>0 && $context['TPortal']['categories'][$row['category']]['parent']>0){

$ca=$row['category'];

$parents=array();

while($ca>0){

$parents[]=array(

'id' => $ca,

'name' => $context['TPortal']['categories'][$ca]['name'],

'shortname' => $context['TPortal']['categories'][$ca]['shortname'],

);

$parent=$context['TPortal']['categories'][$ca]['parent'];

$ca=$parent;

}

}


any idea where to start?



IchBin

Nope, these are errors that Bloc fixes for each beta release.

patalete

so must update to latest TP and see waht happens?

How reliable and secure for the database and overall forum structure would be ?

Its a big one and cant mess it :)

G6Cad

have a look in the bugtracker, it's not safe to run the latest beta on a live site

This website is proudly hosted on Crocweb Cloud Website Hosting.