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,234
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 422
  • Total: 423
  • @rjen

TPortal creating errors in log (SOLVED)

Started by Henk, December 03, 2008, 06:28:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Henk

SMF: 1.1.7
TP: 0.9.8.

TPortal.php is creating errors in the log. It's always about three rows in the script:

http://www.tussendevaarten.nl/index.php?page=885 
8: Undefined index: 221
Bestand: .../Sources/TPortal.php
Regel: 917

http://www.tussendevaarten.nl/index.php?page=885 
8: Undefined index: 221
Bestand: .../Sources/TPortal.php
Regel: 915

http://www.tussendevaarten.nl/index.php?page=885 
8: Undefined index: 221
Bestand: .../Sources/TPortal.php
Regel: 914

The file is attached. Any suggestions about the course?

G6Cad

Can you try and investigate this a bit ?
Even if the error show TPortal.php it's not sertain the error actually generates from tp, it can be from a block code you use, or another mod, a RSS feed etc

Clear your error log and click the forum button, then back to the error log and look at it again, when you find what place in your site the error generates from, look at your content and describe what you have on that page to us, if you use blocks, what block ? if you have an article, what code do you have there etc.
Also, can you list up your mods you have installed ?

Henk

Last question is simple G6, there are no mods installed other then TP itself. I'll try to pinpoint the error.

G6Cad

Yhank you henk, i went to your site and the page the error generates from and the easiest way to pinpoint the error there is to close all blocks, and then start activate them one by one and for every block you activate, check the error log until you find the one that generate the error

Henk

OK G6, the next thing happens.
I have a lot 'visitors' from outher Europe lately trying to mess up the forum.
The article that created the error was NOT categorized. I just forgot to choose any categorie. After adding a categorie to the article the error was gone!!!

Question still remains, it should be possible to have articles without a categorie, shouldn't it?

G6Cad

Not from verion TPV1 as there are no reason in having articles outside any category as far as i know
Im glad you found the cause of the error though  :up:

Henk

Thnx for the quick support!!
And yet another problem solved. :)

This website is proudly hosted on Crocweb Cloud Website Hosting.