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

Recent

Welcome to TinyPortal. Please login or sign up.

April 28, 2024, 10:21:03 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,173
  • Total Topics: 21,219
  • Online today: 130
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 92
  • Total: 92

log errors

Started by ontap, June 18, 2005, 01:38:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ontap

bloc.. came arcoss a small error in the error log when editin a article in the tp admin secrtion.

index.php?action=tpadmin;sub=editarticle3
8: Undefined index: tp-editarticle
File: forums\Themes\default\TPortalBlocks.template.php (eval?)
Line: 531

im usin the lastest version "TinyPortal v.0.6.5 beta"

Edit:
theres a post allready about this just couldnt find anything about fixin it....
(http://www.tinyportal.net/smf/index.php?topic=301.msg2749#msg2749)

Bjørn

its a language error...try to check if $txt['tp-editarticle'] exists in TPadmin.xxx.php where xx is your language. If not, put it in:

$txt['tp-editarticle']='Edit article';

ontap

#2
thanks bloc..

line 20 of TPortalAdmin.english is

$txt['tp-editarticles'] = 'Edit Articles';

so i just added without the (s)

$txt['tp-editarticle'] = 'Edit Article';

fixed the error with this.

ontap

#3
would you know how to fix these errors also bloc?...

index.php?topic=2989.0
8: Undefined index: TPortal
File: forums\Themes\default\Errors.template.php (eval?)
Line: 262

index.php?topic=2989.0
8: Undefined index: TPortal
File: forums\Themes\default\Errors.template.php (eval?)
Line: 388

index.php?topic=2989.0
8: Undefined index: TPortal
File: forums\Themes\default\Errors.template.php (eval?)
Line: 399

index.php?topic=2989.0
8: Undefined index: TPortal
File: forums\Themes\default\Errors.template.php (eval?)
Line: 410

the only thing i can think of that are causing these errors is because i dont have guests allowed to access this forum??... would that be right?

Bjørn

It might be something in the template..what theme are you using now?

ontap


im using the Oxygen Tinyportal as my default theme, with the lastest beta version.

Bjørn



ontap

this has nothin to do with an log error, just want to know how to change something small

on the main page under posts where is says "Write Comment( 10 comments)"

how can i change this to say "Write Comment (10 comments)"

not sure where to put in the space... any news on how to fix the errors above?

[attachment deleted by admin]

Bjørn

look in your TPortal.template.php file for this: 
'.$news['new_comment'].'( '.$news['replies'].' '

and just put in an extra space there before the first (.

- as for the error log, its most likely a missing entry in either the languae files or in the portal template, I am not sure. Does adding this to Tportal.php (underneath the global $.... etc. ) help any?

$txt['TPortal'] = '';
$context['TPortal'] = '';