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,217
  • Total Topics: 21,351
  • Online today: 556
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

More tpadmin error?

Started by superQ, January 03, 2006, 05:02:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

superQ

I searched for and found that yesterday.I tried to fix it yesterday The same guy that installed tp added that line yesterday. [I gave him a link to that thread]. let me go look. I'll probably be back. I can't access the site right now. :( >:(

superQ

Ok done that. I need to give myself a little while before I check the error log.  :-\

superQ

#12
the mere act of clicking on the tpadmin button still produces this error.

8: Undefined index: tp-pathtothumbs2
File: /home/xxxxx/public_html/Themes/amber11rc1/TPortalBlocks.template.php (eval?)
Line: 341

The line I was told add to was put in the default/language/english.php. Path looks like this.


and here it is. It was there 6 hrs ago.

<?php
// Version: 0.75 ; TPortal
$txt['tp-pathtothumbs2']='';
$txt['tp-by'] = 'by';
$txt['tp-readmore'] = 'Read more...';
$txt['tp-comments'] = 'Comments';
$txt['tp-nonews'] = 'No news found';
$txt['tp-changetheme'] = 'Change';
$txt['shout!'] = 'Shout!';
$txt['no_articles'] = 'There are no articles in this section yet.';
$txt['tp-submitarticle']='Submit an article!';
$txt['tp-submissions_available']=' submissions';
$txt['tp-guest']='guest';

// for userbox block
$txt['tp-pm']='PM: ';
$txt['tp-pm2']='New: ';
$txt['tp-unread']='Show unread';
$txt['tp-replies']='Show replies';
$txt['tp_unapproved_members']='Unapproved: ';
$txt['tp_maintenace'] = 'Maintenace Mode';
$txt['tp-loggedintime'] = 'Total Logged In:';
$txt['tp-writearticle']= 'Submit an article!';
$txt['tp-editarticles']= 'Edit articles';
$txt['tp-editarticle']= 'Edit article';



?>


The error  still happens. Did I put it in the right place. I saw the thread where it was discussed and it said put it anywhere. So I put it at the top like the picture in the thread.


superQ

If I look in the cpanel file manager [which is where I added the line to english.php]. I see it there. That is the one I showed you in the previous post.

  If I look in admin>installed packages [just tp is installed]

Files in archive 1135109891Tinyportal0_75.zip:

and then in the list files and view---- english.php---  it is not there.

<?php// Version: 0.75 ; TPortal$txt['tp-by'] = 'by';$txt['tp-readmore'] = 'Read more...';$txt['tp-comments'] = 'Comments';$txt['tp-nonews'] = 'No news found';$txt['tp-changetheme'] = 'Change';$txt['shout!'] = 'Shout!';$txt['no_articles'] = 'There are no articles in this section yet.';$txt['tp-submitarticle']='Submit an article!';$txt['tp-submissions_available']=' submissions';$txt['tp-guest']='guest';// for userbox block$txt['tp-pm']='PM: ';$txt['tp-pm2']='New: ';$txt['tp-unread']='Show unread';$txt['tp-replies']='Show replies';$txt['tp_unapproved_members']='Unapproved: ';$txt['tp_maintenace'] = 'Maintenace Mode';$txt['tp-loggedintime'] = 'Total Logged In:';$txt['tp-writearticle']= 'Submit an article!';$txt['tp-editarticles']= 'Edit articles';$txt['tp-editarticle']= 'Edit article';?>
[ List Files ]

Don't know why that came out like that?


Seems like it should be There. I also still have the discrepency in the number of files 119 and 125 I previously noted.Maybe that is as it should be. I did ftp the files only and overwrote all.




superQ

Does anybody know how to replace, add to, modify  the tportal.english.php file that I have in the package manager which is 823 bits and does not include the "missing line"[that is causing the errors] with the one that is in the cpanel which does   have the "missing line" and is 851 bits.. Thanks for any help.

IchBin

Can you login via FTP and edit files? If the one on your FTP has the line in it, you may have something else going on.

superQ

#16
 The file on the ftp is good and i can edit it,but I don't have to since it is right. it is the other one that is bad.I can't edit that just view. I got a feeling the guy did not set the permissions to 777 before installing or he didn't check the error logs for smf or tp before proceding. I get that feeling. I think I may have to remove it anf reinstall. It will be easier.

  I appreciate your time and believe it or not i am better off for having this problem. I have learned a lot about tp that will help me hen i get it right.

  I have no members at the forum so nothing to lose.

  I wonder if the smf install went ok. the error log in the cpanel shows this repeating all the time. I assume it is from smf. But what do i know

Wed Jan  4 02:21:01 2006] [error] [client xxxxxxxxxxxx] File does not exist: /home/xxxx/public_html/404.shtml
[Wed Jan  4 02:21:01 2006] [error] [client xxxxxxxxxxxxx] File does not exist: /home/xxxx/public_html/favicon.ico

superQ

#17
Let me ask this. The file that is in the cpanel file manager that has the line should be coppied over once it has been modified to the one in the installed tp package I guess. If so what permissions have to be set
to let this happen. I am just guessing  this could be the problem. I have no real clue. Thanks.

  EDIT: I think it has the right permissions.So I guess that is not it.

IchBin

You don't need to worry about what is in the archive. Only thing that gets touched when SMF loads is the files in the forum, not what is in the packages in the archive.

PowerPyx

#19
I also have these errors : Undefined index: TPortal

Meanwhile I found the error, i think.

If a guest watch a post with an attachment which he - cause of the permissions of smf - is not allowed to see then this error appears. Also when a guest whants to follow a link in a post, and this link sends him to a board which is set notvisible to guests.

The permissions where set long before installing TP, so it seems to me a bug ?! Normal behavior of TP should be to show the guest the login screen. Not an Error Message.

Link to the forum klick on my sig. Using TP0.75 on 1.1rc1 with amber TP.

If you whant to know the complete errormessage just tell me your ip then i will post the complete errrormessage you "produced".

edit : Oh and one not so good sideeffect... the errorhandler seems to produce lagtime ... when a guest is whatching the forum / boards the loading time rises up to 30 seconds. Don't now if this of TP or SMF


PowerPyx

This website is proudly hosted on Crocweb Cloud Website Hosting.