Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bad phoenix prefs.js file
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
nouse66
Apprentice
Apprentice


Joined: 09 Jan 2003
Posts: 194

PostPosted: Sat May 03, 2003 10:02 pm    Post subject: bad phoenix prefs.js file Reply with quote

my prefs.js file got messed up somehow and phoenix is giving me a syntax error and not loading my preferences.

i found this as my prefs.js:

Code:

screenX="-2"
                                screenY="7" />
  <RDF:Description about="chrome://navigator/content/pageInfo.xul#main-window"
                   width="425"
                   height="470"
                   sizemode="normal"
                   screenX="137"
                   screenY="137" />
  <RDF:Description about="chrome://browser/content/browser.xul#navigator-toolbox
"
                   mode="icons" />
  <RDF:Description about="chrome://browser/content/bookmarks/bookmarksManager.xu
l#bookmarks-view"
                   colinfo=" col:Name?width=&hidden=&ordinal=1 col:URL?w
idth=&hidden=&ordinal=3 col:ShortcutURL?width=&hidden=true&ordin
al=5 col:Description?width=&hidden=&ordinal=7 col:AddDate?width=&hid
den=true&ordinal=9 col:LastModDate?width=&hidden=true&ordinal=11 col
:LastVisitDate?width=&hidden=true&ordinal=13" />
  <RDF:Description about="find:datasource=history&match=AgeInDays&method
=is&text=0"
                   NC:open="true" />
  <RDF:Description about="chrome://browser/content/console/console.xul">
    <NC:persist resource="chrome://browser/content/console/console.xul#JSConsole
Window"/>
    <NC:persist resource="chrome://browser/content/console/console.xul#ConsoleBo
x"/>
  </RDF:Description>
</RDF:RDF>

user_pref("print.tmp.printerfeatures.PostScript/default.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.3.name", "Letter")
;
user_pref("print.tmp.printerfeatures.PostScript/default.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.4.height_mm", 355)
;
user_pref("print.tmp.printerfeatures.PostScript/default.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/default.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.5.height_mm", 253)
;
user_pref("print.tmp.printerfeatures.PostScript/default.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.5.name", "Executiv
e");
user_pref("print.tmp.printerfeatures.PostScript/default.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.count", 6);
user_pref("privacy.popups.firstTime", false);
user_pref("security.warn_entering_secure", false);
user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_submit_insecure", false);
user_pref("security.warn_viewing_mixed", false);
user_pref("signon.SignonFileName", "42528651.s");
user_pref("timebomb.first_launch_time", "1042528634309428");
user_pref("update_notifications.provider.0.last_checked", 1051841556);
user_pref("wallet.SchemaValueFileName", "43374030.w");
user_pref("wallet.caveat", true);



i looked at my prefs.bak file and tried to restore it by adding the top lines like this:

Code:


<?xml version="1.0"?>
<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <RDF:Description about="chrome://global/content/finddialog.xul#findDialog"
screenX="-2"
                                screenY="7" />
  <RDF:Description about="chrome://navigator/content/pageInfo.xul#main-window"
                   width="425"
                   height="470"
                   sizemode="normal"
                   screenX="137"
                   screenY="137" />
  <RDF:Description about="chrome://browser/content/browser.xul#navigator-toolbox
"
                   mode="icons" />
  <RDF:Description about="chrome://browser/content/bookmarks/bookmarksManager.xu
l#bookmarks-view"
                   colinfo=" col:Name?width=&hidden=&ordinal=1 col:URL?w
idth=&hidden=&ordinal=3 col:ShortcutURL?width=&hidden=true&ordin
al=5 col:Description?width=&hidden=&ordinal=7 col:AddDate?width=&hid
den=true&ordinal=9 col:LastModDate?width=&hidden=true&ordinal=11 col
:LastVisitDate?width=&hidden=true&ordinal=13" />
  <RDF:Description about="find:datasource=history&match=AgeInDays&method
=is&text=0"
                   NC:open="true" />
  <RDF:Description about="chrome://browser/content/console/console.xul">
    <NC:persist resource="chrome://browser/content/console/console.xul#JSConsole
Window"/>
    <NC:persist resource="chrome://browser/content/console/console.xul#ConsoleBo
x"/>
  </RDF:Description>
</RDF:RDF>

user_pref("print.tmp.printerfeatures.PostScript/default.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.3.name", "Letter")
;
user_pref("print.tmp.printerfeatures.PostScript/default.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.4.height_mm", 355)
;
user_pref("print.tmp.printerfeatures.PostScript/default.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/default.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.5.height_mm", 253)
;
user_pref("print.tmp.printerfeatures.PostScript/default.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.5.name", "Executiv
e");
user_pref("print.tmp.printerfeatures.PostScript/default.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.count", 6);
user_pref("privacy.popups.firstTime", false);
user_pref("security.warn_entering_secure", false);
user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_submit_insecure", false);
user_pref("security.warn_viewing_mixed", false);
user_pref("signon.SignonFileName", "42528651.s");
user_pref("timebomb.first_launch_time", "1042528634309428");
user_pref("update_notifications.provider.0.last_checked", 1051841556);
user_pref("wallet.SchemaValueFileName", "43374030.w");
user_pref("wallet.caveat", true);


thats obviously not quite right since i'm still getting an error:
Code:
bash-2.05b$ phoenix
An error occurred reading the startup configuration file.  Please contact your administrator.

SyntaxError: syntax error. RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"



does anyone have an idea as to what i'm missing here?
Back to top
View user's profile Send private message
Sarah
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2003
Posts: 82

PostPosted: Mon May 05, 2003 2:50 am    Post subject: Reply with quote

First make a backup copy of your prefs.js file. Then edit it and cut out all that crap before the user_pref(... lines. Then try to run phoenix. If that doesn't do it, remove your prefs.js file (cause you have a backup of it :wink:) and try to run phoenix. If that works and you want your old settings back you can try to copy the user_pref(... lines bit by bit back in.

What version of phoenix are you running btw?
_________________
Probably the last sound heard before the Universe folded up like a paper hat would be someone saying, "What happens if I do this?" - Terry Pratchett, Interesting Times
Back to top
View user's profile Send private message
nouse66
Apprentice
Apprentice


Joined: 09 Jan 2003
Posts: 194

PostPosted: Mon May 05, 2003 3:49 am    Post subject: Reply with quote

ok, i'll try that, thanks. its version 0.5.
Back to top
View user's profile Send private message
nouse66
Apprentice
Apprentice


Joined: 09 Jan 2003
Posts: 194

PostPosted: Mon May 05, 2003 4:42 am    Post subject: Reply with quote

that worked great!
thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum