Failed to read the configuration file XP HELP!

User Help for Mozilla Firefox
Post Reply
d3moralizer needs help
Guest

Failed to read the configuration file XP HELP!

Post by d3moralizer needs help »

Hi there,
I am having a lot of trouble configuring Firefox 3.0.3 with lockPref.... :oops:
I followed the instructions that are all over the net...
I made the mozilla.txt file like this:

//
lockPref("app.update.auto",false);
lockPref("app.update.enabled",false);
lockPref("browser.search.update",false);
lockPref("extensions.update.enabled",false);
lockPref("browser.startup.homepage",http://website.com/);
lockPref("startup.homepage_override_url",http://website.com/);
lockPref("startup.homepage_welcome_url",http://website.com/)

and then I encoded it with the online 13-bit shifter and renamed it to mozilla.cfg and put it in the Firefox folder and changed the all.js file and added this line:

pref("general.config.filename", mozilla.cfg);

I tried it like this too:
pref("general.config.filename", "mozilla.cfg");

I tried it with the 13 shift and without it by changing this value to zero:
pref("general.config.obscure_value",0);

Only two things ever happen... either nothing, or I get the "Failed to read the configuration file" error.... :evil: ](*,)

Any thoughts? Please help.
I am running Firefox 3.0.3 under WinXP SP2
Thanks!! :D
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: Failed to read the configuration file XP HELP!

Post by dickvl »

You can also use this method to avoid problem with updating Firefox: http://kb.mozillazine.org/Locking_prefe ... _lock_file

Did you forget the quotes or is that a typo?
lockPref("browser.startup.homepage",http://website.com/);
lockPref("startup.homepage_override_url",http://website.com/);
lockPref("startup.homepage_welcome_url",http://website.com/);

String values always should have quotes (booleans and integers not)
lockPref("browser.startup.homepage","http://website.com/");

Do not forget to end each line with a semicolon and a line break (incl. the last line).
Guest
Guest

Re: Failed to read the configuration file XP HELP!

Post by Guest »

You need to save the txt file with Unix line endings (UL) before encoding. I do not think Notepad has this capablity, so you will need a more powerful text editor. I use Notepad2.
Post Reply