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

Hello, po TinyPortal installed and I like it, but there was a problem and need h

Started by tectonny, March 19, 2011, 12:46:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tectonny

Link to my site: http://www.tectonny.com/forum/
SMF version: SMF 2.0RC5
TP version: TP 1.0RC1
Default Forum Language: Portuguese UTF8
Theme name and version: Curve
Browser Name and Version: Firefox
Mods installed: RedirecPage
Related Error messages:
Notice: Undefined index: show_download in /home/database/public_html/forum/Sources/TPSubs.php on line 201



Hello, po TinyPortal installed and I like it, but there was a problem and need help to solve.

Use the redirectPage and every time I enter this page the following appears:
http://www.tectonny.com/forum/acesso.php?url=aHR0cDovL2J1c2Nhc2hhcmUuaW4vc2VhcmNoLnBocD9jeD1wYXJ0bmVyLXB1Yi00ODM3MDc2MDAyMjU2MTk1JTNBNHd2ZTgxLW1kdnEmYW1wO2NvZj1GT1JJRCUzQTEwJmFtcDtpZT1VVEYtOCZhbXA7cT1QQU5BU09OSUMrU0EtUFQxNjAmYW1wO3NhPVBlc3F1aXNhK1NoYXJl

How to solve?

tectonny

Solved using the tip of his colleague on this link:
http://www.tinyportal.net/index.php?topic=33507.msg268778#msg268778

Disabling the following code:
// if($context['TPortal']['show_download']==1)
//
// $buts['downloads'] = array(
//
// 'title' => $txt['tp-downloads'],
//
// 'href' => $scripturl . '?action=tpmod;dl',
//
// 'show' => true,
//
// 'active_button' => false,
//
// 'sub_buttons' => array(
//
// ),
//
// );


What problem can I have disabling these lines?

IchBin

That disables the download button in the menu. Nothing to worry about. The reason the error was appearing is because when certain types of conditions exist, the variable didn't exist. This will be fixed in the next version.

This website is proudly hosted on Crocweb Cloud Website Hosting.