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,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 844
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 170
  • Total: 170

TP 0.8.6 (Updated files) and SMF 1.1RC2 Errors from log.

Started by Gargoyle, February 12, 2006, 03:12:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

netcorner

TP 0.8.6 (Updated files) and SMF 1.1RC2 Errors from log:

QuoteUndefined index: boardnews
File:
D:\usr\www\html\Themes\default\TPortal.template.php (eval?)
Line: 61;

Undefined index: boardnews
æâ€"‡ä»¶: D:\usr\www\html\Themes\default\TPortal.template.php (eval?)
è¡Å': 163

bloc


RoarinRow

I have the similar issues.  I have been using TP. 086 for about a week or so now and only seen these problems today.  I came from SMF 1.0.5 with TP. 075

2: usort(): The argument should be an array
File: /forum/Sources/TPdlmanager.php
Line: 603

2: usort(): The argument should be an array
File: /forum/Sources/TPdlmanager.php
Line: 601

8: Undefined index: topitems
File: /forum/Sources/TPdlmanager.php
Line: 600

2: usort(): The argument should be an array
File: /forum/Sources/TPdlmanager.php
Line: 598

8: Undefined index: topitems
File: /forum/Sources/TPdlmanager.php
Line: 597

2: in_array(): Wrong datatype for second argument
File: /forum/Sources/TPdlmanager.php
Line: 586

8: Undefined index: viewcats
File: /forum/Sources/TPdlmanager.php
Line: 586

2: usort(): The argument should be an array
File: /forum/Sources/TPdlmanager.php
Line: 578

Thanks.

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

crip

I've saw this for a while now.. it's no biggie concern to me.. just clear your error log and keep-on-keeping on..Mr. Bloc is on it. :)

Later, crip

RoarinRow

Quote from: ÂÃ,»cripÂÃ,« on March 05, 2006, 05:42:04 PM
I've saw this for a while now.. it's no biggie concern to me.. just clear your error log and keep-on-keeping on..Mr. Bloc is on it. :)

Later, crip

Gotcha, thanks!   ;)

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

Netgull

Any news on this issue?
I get similar errors, and the problem is that i get approximately 300 errors of that kind with one action! Some samples:

h**p://www.*****.gr/smf/index.php?action=tpmod;dl=stats
2: in_array(): Wrong datatype for second argument
File: /home/******/public_html/smf/Sources/TPdlmanager.php
Line: 586

h**p://www.*****.gr/smf/index.php?action=tpmod;dl=stats
8: Undefined index: viewcats
File: /home/******/public_html/smf/Sources/TPdlmanager.php
Line: 586

All in TPdlmanager.php.

The above errors come up when a guest tries to visit the download section. But I have set the guest membergroup not to have any permission to visit the download section, so they see an empty catalogs and stats page.

G6Cad

Original posted by Feline

QuoteThis error gives only a Guest access the Download, because ID_MEMBER is not defined. I think, it's better to supress downloads for Guests.

Open TPortalBlocks.template.php, search for
// Otherwise they're a guest - so politely ask them to register or login.
        else
        {
                echo '
                                                        ', $txt['welcome_guest'], '<br />
                                                        ', $context['current_time'], '<br />

                                                        <form action="', $scripturl, '?action=login2" method="post" >
                                                                <input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
                                                                <select name="cookielength">
                                                                        <option value="60">', $txt['smf53'], '</option>
                                                                        <option value="1440">', $txt['smf47'], '</option>
                                                                        <option value="10080">', $txt['smf48'], '</option>
                                                                        <option value="302400">', $txt['smf49'], '</option>
                                                                        <option value="-1" selected="selected">', $txt['smf50'], '</option>
                                                                </select>
                                                                <input type="submit" value="', $txt[34], '" /><br />
                                                                ', $txt['smf52'], '
                                                        </form>';
// module links
echo '<hr /><p style="margin: 4px 0 5px 0;"><img src="'.$settings['images_url'].'/tpmodule.gif" style="margin: 0;" align="absbottom" alt="" />
      <b>'.$txt['tp-admin4'].'</b></p>';
if($context['TPortal']['show_download']=='1')
echo $bullet2.'<a href="'.$scripturl.'?action=tpmod;dl=0">'.$txt['tp-dldownloads'].'</a><br />';
        }


Quoteand remove (or comment out) the module links part.

bloc


AbsoluteBreeze

Hi Bloc,

Is v0.9 going to fix the issue in the first post?  as I have that issue too :( - or are you talking about the second problem posted by RoarinRow?

Thanks for your hard work on TP.

Tony




G6Cad

He replyes for the topic, so the answer is for the first post :)

This website is proudly hosted on Crocweb Cloud Website Hosting.