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

[Solved] log of errors in 1.0.5 beta 1

Started by ntfrance, August 09, 2008, 10:27:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ntfrance

Hello,

sorry for my bad english

I have an error in the log of errors, always on the same file :

Undefined index: shortname
Fichier: >>>>>>>>>>>>>>>>>>>>>>>>> /Sources/TPortal.php
Ligne: 1308


Here this lign :


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



SMF 1.1.5
TP : 1.0.5 beta 1
Gallery Pro
Theme : Outline by DzinerStudio
http://www.ntfrance.org

Thanks for your help

OvermindDL1

#1
I've noticed I have the same thing for note.  Have a ton of them, need to clean them out of the log every few days or it overwhelms everything.

EDIT1:  I also have a lot of these:
8: Undefined index: indent
File: /*snip*/forum/Themes/default/TPdlmanager.template.php (main sub template - eval?)
Line: 31


and these:
8: Undefined index: topic_subject
File: /*snip*/forum/Themes/default/TPortal.template.php (tp_print_above sub template - eval?)
Line: 14


and these (this one is related to the uploaded modules page for tinyportal):
8: Undefined index: installed
File: /home2/overmind/public_html/bzcommand/forum/Themes/default/Admin.template.php (main sub template - eval?)
Line: 252


and ones like these:
2: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for /*snip*/forum/tp-downloads/somefile.gif
File: /home2/overmind/public_html/bzcommand/forum/Sources/TPdlmanager.php
Line: 1040


and a couple of these:
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: /home2/overmind/public_html/bzcommand/forum/Sources/TPdlmanager.php
Line: 308


and these:
8: Undefined variable: request
File: /home2/overmind/public_html/bzcommand/forum/Sources/TPdlmanager.php
Line: 308


Those are all the errors in my log sans the usual bad password tries...

EDIT2:  And yes, this is just a straight install of TinyPortal on the Latest SMF1 (1.1.4?), no mods, nothing else installed, just straight as.  Default built-in theme, etc...

MkC

#2
Bonjour,

@ntfrance:
Il s'agit en faite d'un soucis lié à ce qui est recupéré dans la table, pour corriger:
Editer le fichier Sources/TPortal.php et chercher:
Quote'shortname' => $context['TPortal']['article_categories'][$ca]['shortname'],

Remplacer par
Quote'shortname' => isset($context['TPortal']['article_categories'][$ca]['shortname']) ? $context['TPortal']['article_categories'][$ca]['shortname'] : $txt['tp-noname'],




Hello

@ntfrance:
It is a question made of one concerns bound to the contents in the table there, to correct:
Edit the file Sources/TPortal.php and search:
Quote'shortname' => $context['TPortal']['article_categories'][$ca]['shortname'],

Replace by
Quote'shortname' => isset($context['TPortal']['article_categories'][$ca]['shortname']) ? $context['TPortal']['article_categories'][$ca]['shortname'] : $txt['tp-noname'],

ntfrance

Je viens juste d editer mais le probleme perciste malheureusement

MkC

Quote from: ntfrance on August 11, 2008, 07:03:42 PM
Je viens juste d editer mais le probleme perciste malheureusement
J'ai refait une modification, par contre je suis étonné que tu n'es pas le même soucis avec l'index name.




I redid a modification, on the other hand I am amazed whom you are not same concerns with the index name.

G6Cad

Can we please keep the support board to english language only, French has it's own board for support.
I know one is posting both languages , but please, the open forum for support has to be in english only.

Thank you.

ntfrance

sorry I just retest the problem perciste

MkC

Quote from: ntfrance on August 12, 2008, 11:03:52 AM
sorry I just retest the problem perciste

You are on to make correctly your upload of file and that this is taken into account at once?

ntfrance

#8
Yes ,

Here is my file Tportal.php in attachement and screen error

G6Cad

That error is generated from the quick reply modification, not TP

This website is proudly hosted on Crocweb Cloud Website Hosting.