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,972
  • Latest: Lineo
Stats
  • Total Posts: 196,105
  • Total Topics: 21,345
  • Online today: 1,072
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 624
  • Total: 624

blank screen, have to hit refresh

Started by keith021773, October 04, 2006, 01:22:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

 :o  :o

Wow... Certainly one of those mods is causing it. And I don't think they are language errors. Look at the error G6. Undefined variable: modSettings

keith021773

Quote from: Mrs G6 on October 04, 2006, 03:44:52 PM
Wee you in a week when you are done  :D

Beleive me, I wish I could just delete some of them..   I try and most of them gives me an error with modifications.english.php.   Is that such a bad thing or can I go ahead and delete it?    Probably not, but I thought I would ask.

Ciinien

Keith, I feel Mrs. G6 is correct in what she's telling you. And I would further surmise that it might be Shoutbox that is the root of the problem (one error refers to sbox, another to Recent Posts, and others to one language file or the other).

If you have a code editor in which you can turn on line numbering, the offensive modSettings variable should be at, or within a line or so up or down, from line 540. Researching this in the langauge files, you can search for that variable setting and when found, it might at least show you the $txt[number] of the replacement string it can't find. You can then do another search on that specific $txt[number] and see if it's missing and that is why the mod cannont find it.

Language files are used primarily for being a simple and more elegant way to replace text easily and on a consistent basis without always having to change the codebase itself as you write; think of them kind of like very specialized *.dll files in a Windoze setting. Language files are kind of like using the "Fusebox" plug-in when writing Cold Fusion markup (did that just give away my ancientness? rofl). They just contain routines, in this case text replacements, that are called up as needed in a code temeplate.

Anyway, check out the mods, like Mrs. G6 advised, and see if you can insert a few text substitutions in the language files mentionedto make your mods happy again. I am willing to wager the this particular set of errors goes away if you can manage to do that. Hope I haven't confused the issue even more...   :knuppel2:

Cheers!
Ci

IchBin

Again I will say, it's not a missing text string. Its missing a VARIABLE! :)

The error is undefined variable modsettings

So in other words, the variable is being used somewhere, probably in the index.template.php file if you ask me. And it is not defined anywhere. So when PHP goes looking for $modsettings its not finding it.

Adding $modsettings to the global may fix it. Check all the functions and make sure if they are using $modsettings in them that they declare global $modsettings; in the top of the function. I hope I make sense here. lol

Xarcell

Quote from: keith021773 on October 04, 2006, 03:40:32 PM
I big long list.   I was gonna clear some out the other day and see if that was the cause but almost everyone of them that I tried to delete gave me error messages, so I just left them..  I don't want to have to start over.  :)    But you asked for the list..    Here goes.   :)

1.     Integrated Chat     2.6     [ Uninstall ]
2.    Googlebot & Spiders Mod    1.0.5    [ Uninstall ]
3.    Users Online Today Mod    1.3.1    [ Uninstall ]
4.    Streaming 4.2.1b    4.2.1b    [ Uninstall ]
5.    Ad Managment    2.0    [ Uninstall ]
6.    Ultimate Shoutbox    1.33    [ Uninstall ]
7.    SMF Shoutbox    1.04    [ Uninstall ]
8.    SMFShop    2.1    [ Uninstall ]
9.    Shop Item: Change Display Name CSS    0.1    [ Uninstall ]
10.    SMF Arcade    1.3.0-MOD    [ Uninstall ]
11.    Ignore user    1.2    [ Uninstall ]
12.    Reg Bar    1.0    [ Uninstall ]
13.    SMF 1.0.7 / 1.1 RC2 Update    1.0    [ Uninstall ]
14.    Contact Page    1.0    [ Uninstall ]
15.    SMF Staff Page    1.2    [ Uninstall ]
16.    SMF Links    1.1    [ Uninstall ]
17.    PM On Registration    1.0.2    [ Uninstall ]
18.    RSS Feed Icon    1.0    [ Uninstall ]
19.    MySpace Field    1.0    [ Uninstall ]
20.    YouTube BBCode by Yakuza    0.2    [ Uninstall ]
21.    Spoiler Tag    0.2.5    [ Uninstall ]
22.    SMFShop 2.1 to 2.2 Update    2.2    [ Uninstall ]
23.    SMF Archive    1.1    [ Uninstall ]
24.    Global Announcements    1.0    [ Uninstall ]
25.    Country Flags    1.0.1    [ Uninstall ]
26.    SMF 1.1 RC2 Security Patch - 2    1.1 RC2    [ Uninstall ]
27.    EmailFlash    1.0    [ Uninstall ]
28.    TinyPortal    0.95    [ Uninstall ]
29.    audiblepm 1    1.0    [ Uninstall ]
30.    SMF Gallery Lite    1.0    [ Uninstall ]
31.    SMF Radio    0.5.2

No offense, but geez.... have fun sorting that one out.  :up:

Xarcell

Possiable culprits that I knwo of that could be causing it.

1.| SMF shop. However uninstalling this may not be easy and may break your forum.

2.| Global annoucments

3.| Spolier Tag .

If you use TP, I recommend removing:

1.| online user's today.

2.| ultimate shoutbox

3.| SMF shoutbox

Questions:

What is audible PM? may be a culprit?

YOu can try uninstalling teh possiable culprits, but do not delete. Then see if you are still getting the errors. I guess this would be teh best way to track it down.

Backup everything first. and keep us posted.

keith021773

Quote from: Xarcell on October 05, 2006, 04:06:06 AM


What is audible PM? may be a culprit?
Backup everything first. and keep us posted.

Audible PM tells you voice that "You have mail" just like aol.  LOL   

And I will keep you guys posted.   I will have to work on it this weekend.

Thanks again.

keith021773

Ok.   I have uninstalled several mods and the errors are still there.   I am going to attempt to locate line 540 from those files and see what is happening.    Do all text editors have line numbering built-in or is there one that you guys like the best?

akulion

Personally I use this Editpad:
http://www.editpadpro.com/editpadlite.html

Its got Tabbed document browsing
line numbering
word wrapping
and a HELL of a lot of other cool eatures
plus the lite version is totaly free without limits :up:

keith021773

Thanks..  I'll try it out.    I did get the display.english.php file open (because I had to start somewhere and it seemed to be giving more error messages).  Anyway, I can't find anything wrong with it.  Of course I'm not PHP expert either, heck, I'm not even a novice.   LOL    The errors don't seem to be causing much of a problem.   I just originally wanted to get the white screens (maybe timeout screens) to quit popping up.   

This website is proudly hosted on Crocweb Cloud Website Hosting.