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: 1
  • Guests: 383
  • Total: 384
  • @rjen

[SOLVED] Shoutbox Error

Started by sburke930, September 07, 2009, 06:42:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sburke930

I have been getting a persistent error that I have not been able to resolve.

I am running SMF 1.1.10
TP 1.0 Beta 4

Mods installed:

1. Admin Notepad 1.0  
2. Custom_Greeting_Depending_on_Time 1.1
3. Aeva ~ Auto-Embed Video & Audio 6.9.101  
4. Force Topic Read On Login Mod 2.1    
5. SMF Arcade 2.0.18  
6. User Control Panel By Alan S 2.0    
7. Users Online Today Mod 1.4.0    
8. Global Headers Footers 1.4.1    
9. Post_and_Change_as_Alternate_User 1.0  
10. Internal_Links_Use_Same_Window 1.2    
11. Treasury 2.36    
12. Reply Button in All Posts 1.1    
13. Aligned and Bilateral Child Boards 1.4  
14. Show Number of Errors at Top of Forum 1.0  
15. Add Domaintools to TrackIP 1.0    
16. Download Quota 1.1    
17. modVersion 1.0.0    
18. Custom Copyright 1.1    
19. Signature Settings Mod 1.1  
20. SMF Arcade Category Select Mod 1.0.2    
21. User Email System 1.3    
22. TinyPortal 1.083  


Here is the error

Warning: Illegal offset type in isset or empty in /home/XXXXXXX/public_html/Sources/TPmodules.php on line 1994

Here is line 1994
if($context['TPortal']['action']=='tpmod' && isset($_GET[$body]))

What do I need to change in order to get this error to go away?

Also, when I try to open the simple shout module, I get "unable to load 'main' template"

Thank you in advance for your help!


G6Cad

What shoutbox is it that give you the error ? 
Advanced shoutbox is no longer supported and TP Shoutbox is the one you should install through the modules.

Please add a link to your site so we can look at it.

The other error you can copy and paste the error message in a search and you will have the answers on that one.

sburke930

I am using the simple shoutbox.  I have looked everywhere for an answer to this error which is why I posted.  The error does not show in the forum, it is in the error box itself. 

This is a new install with no previous versions.

G6Cad

Until you provide a link to your site, we will not be able to help you any further..

And did you search for "unable to load 'main' template"

sburke930

#4
Yes I did and there was no answer to the shoutbox module, only to articles.  And to previous versions of shoutbox/TO which I have neither.

G6Cad

How do I manually install TinyPortal

Modification Instructions

Got the link in PM and from the looks of it, tp didnt get installed properly.


Follow the guides i linked to and i think you will be good to go  :up:

sburke930

Well, there were some things that were missing but that did not help the shoutbox error.....grrrrr

sburke930

I fixed it!!!!!

Here is the original code on line 1994 of TPmodules.php
if($context['TPortal']['action']=='tpmod' && isset($_GET[$body]))

I changed it to this:
if($context['TPortal']['action']=='tpmod' && isset($_GET['tpmod'],$body))

This was NOT addressed in the instructions you gave me so it may need to be changed!

Thank god that is over.  I have 3 hairs left on my head!!

Thank you G6 for making me think harder!!  :laugh:

I am not thanking you for the loss of hair!!!   :knuppel2: :tickedoff: :knuppel2:

IchBin

The code you posted makes no sense. Your error may have gone away, but that does not mean some other error won't appear as the result of your change.

sburke930

#9
That error was specific to posting any shouts.  I am working on the unable to load the 'main' template error.

This website is proudly hosted on Crocweb Cloud Website Hosting.