I have gone through and clicked on everything that I could to see what has changed and if any errors would appear. This is the list of errors my log compiled during my testing..
I hope this helps in the quest.. ^-^
Quote
8: Undefined index: submissions
File: e:\blablabla.com\wwwroot\sssc\Sources\TPortalAdmin.php
Line: 1056
8: Undefined variable: now
File: e:\blablabla.com\wwwroot\sssc\Sources\TPortalAdmin.php
Line: 382
8: Undefined variable: title
File: e:\blablabla.com\wwwroot\sssc\Sources\TPortalAdmin.php
Line: 382
8: Undefined index: tp-approve
File: e:\blablabla.com\wwwroot\sssc\Themes\default\languages\TPortal.english.php (eval?)
Line: 231
8: Undefined index: filesize
File: e:\blablabla.com\wwwroot\sssc\Themes\default\languages\TPortal.english.php (eval?)
Line: 290
2: usort(): The argument should be an array
File: e:\blablabla.com\wwwroot\sssc\Sources\TPdlmanager.php
Line: 603
2: usort(): The argument should be an array
File: e:\blablabla.com\wwwroot\sssc\Sources\TPdlmanager.php
Line: 601
8: Undefined index: topitems
File: e:\blablabla.com\wwwroot\sssc\Sources\TPdlmanager.php
Line: 600
2: usort(): The argument should be an array
File: e:\blablabla.com\wwwroot\sssc\Sources\TPdlmanager.php
Line: 598
8: Undefined index: topitems
File: e:\blablabla.com\wwwroot\sssc\Sources\TPdlmanager.php
Line: 597
2: in_array(): Wrong datatype for second argument
File: e:\blablabla.com\wwwroot\sssc\Sources\TPdlmanager.php
Line: 586
8: Undefined index: viewcats
File: e:\blablabla.com\wwwroot\sssc\Sources\TPdlmanager.php
Line: 586
2: usort(): The argument should be an array
File: e:\blablabla.com\wwwroot\sssc\Sources\TPdlmanager.php
Line: 578
What SMF version you're use before upgrage ?
What TPversion you're using, remind that the TinyPortal v.0.8.6 UPDATE only just for upgrade for full version of TP 0.86 !
Are you sure for that ? ;)
SMF 1.1RC2 and TP version 0.8.6 updated files
What theme?
Your issue may be related to this:
http://www.tinyportal.net/smf/index.php?topic=2482.0
Everything is stock on my test site and it gives the same errors...
SMF 1.1RC2 and TP v 0.8.6. with the updated files.
Errors come and they go...
This looks like the previous DL manager stats bug..it should be better now witht he updated TP0.8.6 files?.
Have they been updated since the 12th ?
No. I haven't had the errors myself..but I think it may be related to having no items in the stats page of dl manager. I will check this further.
I'd appreciate that.. ;D
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
netcorner, looking into it. Thanks for reporting.
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.
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
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! ;)
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.
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.
This should be resolved in v0.9.
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
He replyes for the topic, so the answer is for the first post :)
Not to hijack this thread, but it kind of goes along with my question...
Can someone point me in the direction of what changed I would have to make in order to send a guess to the standard "login/register" screen when they go to access the downloads?
Right now, with them just getting blank screens, it looks like there is nothing to download...
That should have been fixed in the update pack of TP V.086 i think.
If you havent got that, visit the downloads here and take the update and simply uplod the files in it and overwrite the old ones. Always make backup of the old ones first just in case :)
Or maybe you can have a button saying downloads which when clicked will go to the login or register page.
Make that button visible only for guests.
Nope... when I come in as a guest and go to the downloads section, I still just empty Main and blank stats... :(
Darkman - I could do that, but I'd rather keep things consistent, ya know? Like the Arcade, or when user tries to go to a board they're not spozed to access...
Oh well.. I'll figger something out... :)
But its really "nothing" to download for guests..if you do not allow them to view the folder.
The whole concept of this is to prevent anyone without access to actually view the folder, hiding the folders physically. I could redirect guests..but if you have only certain membergroups allowed in that folder, it will be wrong again.
Right now I would rather recommend you create a main folder, put in a dummy file there, and a text saying to order to see more, you need to be logged in.
I guess what I would like is to have the contents display to guests, but if they try to download they get re-directed to the login/register page... I've got it set up that way in the "members only" section of the forum; just trying to keep things consistent. This way, also, guests can see that there is actually stuff there to download, where with the blank sections they see nothing, and come away thinking there's nothing to download (less incentive to register)..
I understand what you're saying, tho, and that makes perfect sense, too... Set up kind of a "samples" area that guests can access. Hmm.... let me ponder on this. It could work.
Thanks!