MozillaZine

Failed to read the configuration file XP HELP!

User Help for Mozilla Firefox
d3moralizer needs help
Guest
 

Post Posted November 10th, 2008, 3:47 pm

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

dickvl

User avatar
 
Posts: 51411
Joined: July 18th, 2005, 3:25 am

Post Posted November 10th, 2008, 5:35 pm

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
 

Post Posted November 25th, 2008, 5:47 pm

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.

Return to Firefox Support


Who is online

Users browsing this forum: No registered users and 14 guests