Corrupt localstore.rdf: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(SUMO links)
Line 5: Line 5:
* "Add Bookmark" dialog not working  [http://forums.mozillazine.org/viewtopic.php?t=373873]
* "Add Bookmark" dialog not working  [http://forums.mozillazine.org/viewtopic.php?t=373873]
* Back/forward toolbar buttons missing after Firefox upgrade and unable to restore using "View -> Toolbars -> Customize"  [https://bugzilla.mozilla.org/show_bug.cgi?id=426026#c13]
* Back/forward toolbar buttons missing after Firefox upgrade and unable to restore using "View -> Toolbars -> Customize"  [https://bugzilla.mozilla.org/show_bug.cgi?id=426026#c13]
* Navigation Toolbar (a.k.a Location bar, address bar) or Bookmarks Toolbar is  empty, even though selected in "View -> Toolbars" (or in Firefox 4 Options sub-menu).  [http://support.mozilla.com/forums/knowledge-base-articles/705020?last=35851#post-35851]
* Navigation Toolbar (a.k.a Location bar, address bar) or Bookmarks Toolbar is  empty, even though selected in "View -> Toolbars" (or in Firefox 4 Options sub-menu).  [https://support.mozilla.org/forums/knowledge-base-articles/705020?last=35851#post-35851]
* [[Unable to save or download files]] because the dialog box prompting you to open or save a file does not appear.   [http://support.mozilla.com/tiki-view_forum_thread.php?comments_parentId=367707&forumId=1]
* [[Unable to save or download files]] because the dialog box prompting you to open or save a file does not appear.


==Solution==
==Solution==
Line 33: Line 33:


==External links==
==External links==
*[http://support.mozilla.com/kb/Back%20and%20forward%20or%20other%20toolbar%20items%20are%20missing Back and forward or other toolbar items are missing] at support.mozilla.org
*[https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing Back and forward or other toolbar items are missing] at support.mozilla.org


===Related bug reports===
===Related bug reports===

Revision as of 23:57, 29 December 2011

This article will help you fix problems caused by a corrupt localstore.rdf file, which include:

  • Changes to the toolbar reset themselves after you close Firefox and start it up again
  • Window size or position not remembered at startup
  • Bookmarks appear in the Bookmarks Manager but not in the main menu and can't be edited [1]
  • "Add Bookmark" dialog not working [2]
  • Back/forward toolbar buttons missing after Firefox upgrade and unable to restore using "View -> Toolbars -> Customize" [3]
  • Navigation Toolbar (a.k.a Location bar, address bar) or Bookmarks Toolbar is empty, even though selected in "View -> Toolbars" (or in Firefox 4 Options sub-menu). [4]
  • Unable to save or download files because the dialog box prompting you to open or save a file does not appear.

Solution

If you have a backup copy of the localstore.rdf file from a working Firefox profile, a quick remedy is closing Firefox and overwriting the localstore.rdf file in the Firefox profile folder with your backup copy. [5] If you have no backup, you need to remove the localstore.rdf file and let Firefox generate a new copy. Your toolbar customizations will be gone when you next restart Firefox but future changes will be retained.

Before continuing you may wish to save a screenshot of your Firefox toolbar customizations, to help you restore them later.

Note: You can restore the default set of toolbar items from within Firefox by opening the Customize Toolbar dialog ("View -> Toolbars -> Customize") and selecting "Restore Default Set" but this does not restore the default content of the localstore.rdf file and is not a solution if the localstore.rdf file is indeed corrupt.

Use either of the two methods given below, to regenerate the localstore.rdf file.

Safe Mode method

Restart in Firefox Safe Mode using the instructions in the Safe Mode article. After restarting, a window called Firefox Safe Mode with some troubleshooting options will appear:

Select the option "Reset toolbars and controls" and click "Make Changes and Restart".

Manual method

Exit Firefox completely, open the Firefox profile folder (Windows users, read this for help finding it) and delete the file localstore.rdf.

Caution: Do not delete the localstore.rdf file in the Firefox program installation folder by mistake [6].

See also

External links

Related bug reports