TinyPortal

Development => Support => Topic started by: Heardy on February 12, 2012, 08:19:18 PM

Title: Errors
Post by: Heardy on February 12, 2012, 08:19:18 PM
Link to my site: http://www.mindlessjunk.com
SMF version: SMF 2.0.2
TP version: TP 1.0 RC3
Default Forum Language: English
Related Error messages:
http://www.mindlessjunk.com/index.php?http://www.mindlessjunk.com/
8: Undefined index: blockarticle_titles
File: /home/mindless/public_html/Sources/TPortal.php
Line: 1950

Also on the Stats module, it shows:

Users: 1
Guests: 3
Total: 5

Even I know that's not right o.o
Title: Re: Errors
Post by: IchBin on February 12, 2012, 08:39:18 PM
Find in TPortal.php

if (!$context['TPortal']['blockarticle_titles']){
$context['TPortal']['blockarticle_titles'] = array();
}


Replace with:

$context['TPortal']['blockarticle_titles'] = array();
Title: Re: Errors
Post by: Heardy on February 12, 2012, 08:53:46 PM
Thanks IchBin!

I'll edit it now and hopefully it works. It should do cause it's you who wrote it xD

What about the wrong counting of the users and guests online in the Stats module?

Users: 2
Guests: 3
Total: 7

That's what it is at the moment...
Title: Re: Errors
Post by: ZarPrime on February 18, 2012, 05:19:39 PM
The additional entries in the total are likely spiders that are crawling your site.  You can check the settings for this under Admin --> Members --> Search Engines.

ZarPrime