Closed Bug 139838 Opened 22 years ago Closed 22 years ago

Configuration Warnings during startup

Categories

(SeaMonkey :: General, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 193638

People

(Reporter: srbush, Assigned: Matti)

References

Details

With the most recent build that I downloaded (w32-talkback, build id:
2002042403), I receive two dialog boxes reporting configuration warnings during
the startup of the browser.  They both appear immediately after the splash
screen appears when attempting to execute mozilla.exe after extracting all the
files from the w32-talkback.zip file and overwriting my previous version (which
I believe was 20020401xx)

The first error reports:
An error occurred reading the startup configuration file.  Please contact your
administrator.  line 47: Reference Error: defaultPref is not defined

Second error is very similar:
An error occurred reading the startup configuration file.  Please contact your
administrator.  line 47: Reference Error: config is not defined

To my knowledge, I have not touched my configuration file in a very long time.
Reporter:
Can you please try this :
Uninstall mozilla, delete all files that are not deleted by the uninstaller in
c:\programs\mozilla.org (but save your plugins) and reinstall mozilla
Okay... I didn't reinstall, but I did the following and the warnings stopped:

1. Went into /defaults/pref
2. created a folder called "old"
3. moved the files "config.js" and "initpref.js" into that folder.

everything seems okay now...

"config.js" had the following information (after a lengthy license block):

config("startup.homepage_override_url","chrome://navigator-region/locale/region.properties");
config("autoadmin.append_emailaddr",false);
config("autoadmin.failover_to_cached",true);

config("browser.chromeURL","chrome://navigator/content/navigator.xul");


"initpref.js" had the following information that I believe was causing the
difficulty (there was other information as well:
// --- Preference initialization functions ---
//
//    Moved to native functions:
//    pref        -> pref_NativeDefaultPref
//    defaultPref -> ""
//    userPref    -> pref_NativeUserPref
//    lockPref    -> pref_NativeLockPref
//    unlockPref  -> pref_NativeUnlockPref
//    getPref     -> pref_NativeGetPref
//    config      -> pref_NativeDefaultPref   (?)

// stubs for compatibility
var default_pref = defaultPref;
var userPref = user_pref;

wfm -> corrupted prefs file
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---

*** This bug has been marked as a duplicate of 193638 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.