Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

I can't get lockPref("plugin.state.java", 2); to work in ver 35.0.1. I'm trying to lock this for a school district to take the PARCC test

  • 3 відповіді
  • 2 мають цю проблему
  • 22 перегляди
  • Остання відповідь від Dg58

more options

I can't get the mozilla.cfg file to work in Firefox 35.0.1. I'm getting this error "Failed to read the configuration file. Please contact your system administrator"

mozilla.cfg // lockPref("plugin.state.java", 2);

local-settings.js pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

I can't get the mozilla.cfg file to work in Firefox 35.0.1. I'm getting this error "Failed to read the configuration file. Please contact your system administrator" mozilla.cfg // lockPref("plugin.state.java", 2); local-settings.js pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

Обране рішення

Thank you for the responses.

I got it working by placing the files in these directories. I’m using Mac OS X 10.7.5 and above.

/Applications/Firefox.app/Contents/Resources/mozilla.cfg /Applications/Firefox.app/Contents/Resources/defaults/pref/local-settings.js

Читати цю відповідь у контексті 👍 0

Усі відповіді (3)

more options

Hi Dg58,

if you have set the local-settings.js file with the order : pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

then try with the opposite order :

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

http://kb.mozillazine.org/Locking_preferences

thank you

more options

If you get ""Failed to read the configuration file" then that means that Firefox finds the local-settings.js, but doesn't find the mozilla.cfg file or that there is a problem with that file. Make sure that you have saved the mozilla.cfg file as a text file and that the file is in the Firefox application folder.

more options

Вибране рішення

Thank you for the responses.

I got it working by placing the files in these directories. I’m using Mac OS X 10.7.5 and above.

/Applications/Firefox.app/Contents/Resources/mozilla.cfg /Applications/Firefox.app/Contents/Resources/defaults/pref/local-settings.js