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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 330
  • Total: 330

8: Undefined index: tp-shout-name

Started by FUBAR, October 09, 2008, 08:51:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FUBAR

Link to my site:
SMF version: SMF ver. 1.1.6 (Upgraded tonight from 1.1.5)
TP version: TP v1.0.5 beta 1
Theme name and version: Default + All Others
Mods installed:
1.     SMF Poll Mod      1.2     
2.    SMF 1.0.14 / 1.1.6 Update    1.0   
4.    Users Online Today Mod    1.4.0   
5.    Auto Embed Video/Audio Clips    3.1.2   
6.    PM Popup - Uses Active Window    1.3   
7.    TinyPortal    1.052   
8.    SMF Gallery Lite    1.8.3   
9.    Ultimate Profile    0.8.5   
10.    Custom Profile Field Mod

Related Error messages:

8: Undefined index: tp-shout-name
File: /home/website/public_html/forum/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 45



I tried to search for this error but couldn't find anything releated.  This error seems to be generated every time any member shouts in the shoutbox. 

Here is line 45 from the TPShout.php file.

   $shout_name=strip_tags($_POST['tp-shout-name']);

Any help would be appreciated, thanks!

G6Cad

Hm, seems like your updrage didnt go to well.
That error was fixed a long time ago.
Go through the TP install process (manuall ) and check so all the files and folder got replaced as they should and also the modinstrcuction with the codeedits

How do I manually install TinyPortal
Modification Instructions

FUBAR

When shouts are made on the shoutbox, everything seems to work fine but this error is still generated. 

I don't mind going through the files but any idea where to start or what to look for?

Thanks G6!  :)

IchBin


FUBAR

Yes, I've gone through the files and the edits manually as she suggested but everything seems to be correct. 

The only file that didn't seem to have the edits correct was in "$themedir/index.template.php" but that's because I have the gallery installed. 

As per Manual Install Instructions :

Find:
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))

Replace with:
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum', 'tpadmin')))

Here's what I have in this file..
if (in_array($context['current_action'], array('gallery','search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum', 'tpadmin')))

Everything else seems to be correct, so I'm not really sure what to look for. 



G6Cad

The TP package files, did they replace the old files correctly ?
Make sure you have all the new files updated and not skipped

FUBAR

Would it make a difference if I didn't upgrade TinyPortal from v0.9.8?  I ask this because I didn't upgrade Tinyportal, I installed the Beta version on a fresh forum. 

IchBin

No. What she's saying is that during the install its possible that not all the instructions for installing TinyPortal did not happen. Thats why she suggested you run through the manual install just to make sure the edits are done, and that the files weren't corrupted or something during the install.

This website is proudly hosted on Crocweb Cloud Website Hosting.