TinyPortal

Development => Support => Topic started by: insanemustang on September 11, 2007, 09:22:56 PM

Title: Trying to clean up the forum error log
Post by: insanemustang on September 11, 2007, 09:22:56 PM
In checking the error log, I am trying to get rid of some of the errors people create (unknowingly)

It says this
8: Undefined offset: 99999
File: /homepages/28/d156825445/htdocs/bn/Themes/default/TPortal.template.php (eval?)
Line: 159


In looking at Tportal.template.php I am see this line of text around line 159.
echo '
<div' , ($story['is_boardnews'] || $story['frame']=='theme') ? ' class="tborder"' : '' , ' style="margin-bottom: 2px; ">';
if($story['is_boardnews'] || isset($story['options']['title']) || $context['TPortal']['mycat']!=''){
if($story['frame']=='theme' || $story['frame']=='title')


Does anyone see anything that is incorrect here?
Title: Re: Trying to clean up the forum error log
Post by: Lesmond on September 11, 2007, 11:04:14 PM
It would seem you have had this problem before http://www.tinyportal.net/index.php?topic=17393.0
Title: Re: Trying to clean up the forum error log
Post by: insanemustang on September 12, 2007, 04:26:34 PM
This is true, but I never really got a good solution.  Uninstalling mods doesn't make sense since I need the mod's.
Title: Re: Trying to clean up the forum error log
Post by: G6Cad on September 12, 2007, 06:09:24 PM
Even if you need them, you need to verify what mod that causes your error so you can go to the correct place and get the best support.
We are sure it's not TP errors as nothing in TP have calles like your error.
So it have to be one of the other mods causing it.
Also, when a topic is created with an issue, please keep the questions for that issue in that topic, even if it's old and the answers not there. The solution will not change just cause a new topic with the same question is created.
Title: Re: Trying to clean up the forum error log
Post by: insanemustang on September 18, 2007, 05:09:57 AM
I'm trying to uninstall some of the things I have installed, but it seems like each thing I try to uninstall fails in the uninstall test.  I don't want to risk messing up my forums or doing something I don't know how to undo, but right now I have to delete the forum error log every other day or else the database size grows over 100MB so quickly it overloads the MYSql Server.

Any ideas on what I should do now?
Title: Re: Trying to clean up the forum error log
Post by: IchBin on September 18, 2007, 05:33:44 AM
If it worries you that much you can just turn off the error logging all together. Features and options > basic features > Enable Error logging: uncheck.

Otherwise, you need to remember what order you installed the mods. After doing so, you uninstall the mods in reverse order. If it doesn't bother you to lose all mods, you can always just upload a fresh set of SMF files from the large upgrade package, and then you're forum files will be as new. And of course, all of your data like members/posts etc are still saved because they are in the database and not the files.
Title: Re: Trying to clean up the forum error log
Post by: insanemustang on September 18, 2007, 05:39:59 AM
What is the big disadvantage to turning off the error logging...besides the obvious.
Title: Re: Trying to clean up the forum error log
Post by: IchBin on September 18, 2007, 06:24:35 AM
Well, it shows you bad login attempts and some times database errors. But other than that, its for the sanity of the anal in mind that their forum is error free. ;)
Title: Re: Trying to clean up the forum error log
Post by: Zetan on September 18, 2007, 06:40:09 AM
Quote from: IchBinâ,,¢ on September 18, 2007, 06:24:35 AM
But other than that, its for the sanity of the anal in mind that their forum is error free. ;)

::)

Title: Re: Trying to clean up the forum error log
Post by: insanemustang on September 18, 2007, 07:13:00 PM
Sweet, since I am not having any anal website problems I will turn it off.

Thanks lol
Title: Re: Trying to clean up the forum error log
Post by: Patchouli on January 02, 2008, 10:45:00 AM
"Turn it off...", yay, sounds like a great solution to me ^-^... In less than two weeks I got about 129 + 56 pages full of error logs that don't make any sense to me :o ??? (php-TP-n00b)! My forums are both doing fine and i'm not going to fix what ain't broken! But this overload of errors scares me a lot serverwise.. so off it goes ::) ;D.

Patchouli. :)