News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

SMF Shoutbox

Started by Deep, March 15, 2006, 08:09:52 AM

Previous topic - Next topic

DarkAngel612

Have you possibly tried to remove the shoutbox package?

Can you get to the server where your files are stored?
for the shoutbox on your computer...this way you can open the file>find which files were edited when installed>find the file on server>remove the edit and reupload to overwrite the file

this will remove the shoutbox then you can see if your site returns to normal

OR

you may have been possibly hacked by someone, this happened to another site I go to and that was their trouble....a hacker. You may need to reupload the files for your SMF software to overwrite the files you have....

you might also check your Settings_bak.php and Settings.php files to make sure the information there is still correct...any changes to the first section may be a problem too.





Quote from: rtyug on April 30, 2008, 04:45:28 PM
possibly that was a forum broken up from this chat?
I described a theme here

http://www.simplemachines.org/community/index.php?topic=236698.0
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

rtyug

excuse me

works already!

I do not know that it was, but works already

thefix24

i just installed SMF Shoutbox 1.20 on the SMF 1.1.5

everything works fine expect for this message on the top of the shoutbox.

Notice: Undefined offset: 1 in /home/tf24/public_html/tfv4/Sources/Load.php(1741) : eval()'d code on line 72

Notice: Undefined offset: 2 in /home/tf24/public_html/tfv4/Sources/Load.php(1741) : eval()'d code on line 72


My members can still post messages and everything like this, its just this message I cant seem to fix.

DarkAngel612

have you opened that file>look at the line it mentions to see what that says, sometimes it tells you which file to attack

or get a new file, compare the two load.php files codes and see what the dif may be...could be it is missing some code or the code got split

sometimes just replacing the naughty file will fix trouble
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

thefix24

yea here is line 72 in load.php

Quotevoid loadTemplate(string template_name, bool fatal = true)
      - loads a template file with the name template_name from the current,
        default, or base theme.
      - uses the template_include() function to include the file.
      - detects a wrong default theme directory and tries to work around it.
      - if fatal is true, dies with an error message if the template cannot
        be found. <--this is line 72

thats it, I had check an over copy i had of my site and its the same thing. (I keep backups of everything)




DarkAngel612

I am so proud of you for keeping those backups **pats back**

have you tried replacing the file with a new one either from your backups or by opening the current smf version and using a pritine file to overwrite the one on your server?
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

thefix24

Thank you,

I tried what you suggested, with 3 back up copies and a new one I downloaded. Same Error.

DarkAngel612

is this with the default theme or with another theme?

check your Settings_bak.php and Settings.php

make sure the paths written in there are correct

makesure the path to the sources directory are actually the ones written there  in the ########## Directories/Files ########## section of the files I mentioned and in the admin section of your forum, check paths
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

thefix24

#1589
I looked at all the paths and settings and everything is pointing where it should, however when I have my theme set to default those two errors go away. I looked over everything twice and everything was set correctly.

DarkAngel612

in the index.template.php or the boardindex.template.php file of any additional theme you have installed need to be looked at to ensure the code for the sbox is in them. Look at the default one to find out which file it got installedinto by the package installer then just put it in the same fila nd same place as the other templates you have installed.

open to compare like you did--work off duplicate file (if you already knew this sorry tis foroce of habit with me)--add the coding then upload and overwrite the file...refresh and see if that helped.

what you look for is:

// display shoutbox
  if (function_exists('sbox'));
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

thefix24

#1591
I did everything you said and yea still nothing.

The theme I have (blueskies) doesn't have a boardindex.template.php file but it did have a index.template so I put it in there. I got the shoutbox twice (i knew that was going to happen).

I comment out

// display shoutbox
  if (function_exists('sbox')); 

on the default theme (which made skyblue theme now only have one shoutbox) but same error.


Ill send you the link to my site in PM if you want to look at it.

DarkAngel612

sure
cause my onlyother suggestion is to delete it then reinstall it
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal


DarkAngel612

not that i know of but then of course it may just be your theme if not the default one. some themes govern the inside of the shoutbox background color and title bar
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

omsharma

there is an option for sound in smf shoutbox, but it doesnt seems to work in my forum..can anyone tell me the solution to make it work...please, it wil be of great help to me. im using smf shoutbox 1.16b on smf v1.1.4

picos

Does this work with smf beta 2 3.1?

boompagirl

Hey folks:

We are running SMF 1.1.5 and I am attempting to use SMF Shoutbox 1.16b.  The mod appears to have installed just fine.  However, when you look at the shoutbox, the error "the page cannot be displayed" shows where the sent messages should be.

I checked the sboxDB.php file and ensured the permissions are 777. 

What else am I missing? 

Thanks for reading!

Nicole

DarkAngel612

boompagirl: if using a different theme tan the default make sure the same shoutbox files are in that theme too and that the index.template.php file also has the sbox coding for the shoutbox.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

picos

Does anyone know how to make the posts in the shoutbox stop the horizontal scroll bar appearing?  Some kind of text wrap so all posts are within a set parameter?  thanks

Advertisement: