TinyPortal

General => Chit chat => Topic started by: damijen on December 31, 2005, 02:23:32 PM

Title: Need help with forum error log
Post by: damijen on December 31, 2005, 02:23:32 PM
I am getting lots of these error logs and for diff members.  The one I get all of the time is this one:


8: Undefined index: totalMembers
File: /hsphere/local/home/team/bf42.com/forums/Themes/default/TPortalBlocks.template.php (eval?)
Line: 361


Whats wrong.  Everything seems to work fine but the error logs say something else

Thanks
Title: Re: Need help with forum error log
Post by: bloc on December 31, 2005, 06:43:28 PM
Try to locate "totalMembers" in TportalBlocks.template and exchange it with "MemberCount"..does that help?
Title: Re: Need help with forum error log
Post by: whoesa on January 08, 2006, 02:38:56 AM
hallo,

Im having the same sort of problem. I installed today TP 0.75 with SMF 1.1RC1 and everything is working fine but when i look to my Forum Error Log, it is full (26 pages) with errors from just one day.
The errors i got is
   8: Undefined variable: scripturl

Is there something i should do about?

greetings, whoesa
Title: Re: Need help with forum error log
Post by: ontap on January 08, 2006, 03:23:40 AM
Quote from: whoesa on January 08, 2006, 02:38:56 AM
The errors i got is
   8: Undefined variable: scripturl

Is there something i should do about?

this might be caused by the calendar.. have you the calendar block?
Title: Re: Need help with forum error log
Post by: whoesa on January 08, 2006, 07:25:26 AM
hello,  do u mean the calender in php-block?


I have checked some things and this is what i get:

8; Undefined variable: scripturl
/home/forecadd/public_html/Themes/default/TPortalBlocks.template.php
(eval?)
Line: 58

I have allready 75 pages with errors and they go up fast. Anything i can do to fix that?

Greetings, whoesa
Title: Re: Need help with forum error log
Post by: whoesa on January 08, 2006, 07:55:06 AM
hello, i looked a bit on this forum and i found an intresting thing here:

http://www.tinyportal.net/smf/index.php?topic=700.0

i added global $scripturl; and it seems my problems is history

Greetings, whoesa
Title: Re: Need help with forum error log
Post by: whoesa on January 08, 2006, 09:14:35 AM
omg it seems i have other errors now, i found those errors:

-8: Undefined index: topbottomEnable
File: /home/forecadd/public_html/Themes/default/TPortalBlocks.template.php (eval?)
Line: 111

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

Is it normal that i still get some errors and can i just delete them or do i have a big problem?

Greetings, whoesa
Title: Re: Need help with forum error log
Post by: Porky on January 08, 2006, 10:14:40 AM
I am having the same error pretty much

8: Undefined variable: rblock
File: /home/capital/public_html/Themes/amber11rc1/TPortalBlocks.template.php (main sub template - eval?)
Line: 1132


8: Undefined variable: rblock
File: /home/capital/public_html/Themes/amber11rc1/TPortalBlocks.template.php (main sub template - eval?)
Line: 1226


8: Undefined index: 2
File: /home/capital/public_html/Sources/TPortal.php
Line: 285
Title: Re: Need help with forum error log
Post by: crip on January 08, 2006, 11:49:11 AM
I found lots of guest were causing these errors; trying to down or up-load things into or out of my Forum..
Title: Re: Need help with forum error log
Post by: Porky on January 08, 2006, 12:32:48 PM
See my board is not open yet These are from me just setting up stuff in the boards its self
Title: Re: Need help with forum error log
Post by: borgBOB on January 08, 2006, 05:42:09 PM
Quote from: whoesa on January 08, 2006, 09:14:35 AM
omg it seems i have other errors now, i found those errors:

-8: Undefined index: topbottomEnable
File: /home/forecadd/public_html/Themes/default/TPortalBlocks.template.php (eval?)
Line: 111

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

Is it normal that i still get some errors and can i just delete them or do i have a big problem?

Greetings, whoesa

-8: Undefined index: tp-pathtothumbs2
This is a language string file missing this:
In your TPortal.english.php
Add this:
$txt['tp-pathtothumbs2']='';

Title: Re: Need help with forum error log
Post by: whoesa on January 08, 2006, 07:52:59 PM
hello,

thank you for your reply borgBOB, i looked for the file u say but not sure i find the one u mean. I find 2 : index.english.php and Settings.english.php.
Is it one of those or am i wrong? And where exactly should i add that line?

greetings, whoesa
Title: Re: Need help with forum error log
Post by: Rasyr on January 08, 2006, 07:56:21 PM
Tportal.english.php should be in the language folder of the theme that was being used when you installed TP. Chances are that this will be the Default theme, not the theme that you are currently using.

Title: Re: Need help with forum error log
Post by: borgBOB on January 08, 2006, 08:21:40 PM
That's correct, in the Themes/default/languages/   folder.
Tportal.english.php
Title: Re: Need help with forum error log
Post by: whoesa on January 08, 2006, 09:01:22 PM
Thank you very much, that error is gone.  :)

Now i have only the same error a fiew times:
-8: Undefined index: topbottomEnable
File: /home/forecadd/public_html/Themes/default/TPortalBlocks.template.php (eval?)
Line: 111

Title: Re: Need help with forum error log
Post by: bloc on January 08, 2006, 11:57:59 PM
Quote from: whoesa on January 08, 2006, 09:01:22 PM
Thank you very much, that error is gone.  :)

Now i have only the same error a fiew times:
-8: Undefined index: topbottomEnable
File: /home/forecadd/public_html/Themes/default/TPortalBlocks.template.php (eval?)
Line: 111



Thats is most likely caused by an older theme. Themes between 1.0.5 and 1.1 needs an update on the "go to top/bottom" - they need to check the value... if not, you get that error.

Have you allowed "go top" button/link to be shown? (admin/featues and options). Doing so might remove the error - as long as you have that set.
Title: Re: Need help with forum error log
Post by: whoesa on January 09, 2006, 10:13:43 AM
hi Bloc,

thank you very much , all errors are gone in forum error log.

ps: great work that you are doiing, i love it !!!

whoesa