TinyPortal

Development => Support => Topic started by: Skb on September 13, 2017, 10:15:49 AM

Title: Error with Downloads
Post by: Skb on September 13, 2017, 10:15:49 AM
Using SMF 2.0.14/TP 1.2R3
We use the Downloads block in our Right Panel. When any member downloads an Article the following error is generated, (The download works fine for the user).

https://www.diabetic.pub/forum/index.php?action=tpmod;dl=item37
8: Undefined index: global_tag
File:/home/diabesv6/public_html/forum/Sources/TPdlmanager.php
Line: 1360

Please help in resolving this. Thanks.
Title: Re: Error with Downloads
Post by: lurkalot on September 13, 2017, 06:50:06 PM
Sorry skb, Looks like I missed a bit of code that should have been removed. In TPdlmanager.php (Please make a backup of this file first)and remove this piece of code.


'global_tag' => $row['global_tag'],


And then check to see if that cures the problem.
Title: Re: Error with Downloads
Post by: Skb on September 14, 2017, 11:01:02 AM
Yes Mick.
It did solve the issue.  O0
Thanks.