Bookmarks not saved: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(→‎Changes lost on restart: added Firefox 3 fix)
Line 12: Line 12:
# Press OK.
# Press OK.


Note: Starting in Firefox 3,  bookmarks are stored in the [[places.sqlite]] file.  It is not yet known whether the read-only file issue also affects Firefox 3.
Note: Starting in Firefox 3,  bookmarks are stored in the [[places.sqlite]] file.


===Corrupt bookmarks file===
===Corrupt bookmarks file===

Revision as of 00:33, 13 June 2008

This article deals with problems adding, deleting, and making changes to bookmarks. For bookmarks that were saved previously but are now gone, see lost bookmarks.

Changes lost on restart

Read-only bookmarks file

Mozilla Suite, SeaMonkey and Firefox 2 or below: Bookmarks are stored in the bookmarks.html file, located in the profile folder . This problem can be caused if the bookmarks.html or bookmarks.html.moztmp file is "read-only" (Windows) or "locked" (Mac). Deleting or modifying bookmarks will also have no effect and the profile folder will fill up with multiple "bookmarks-<n>.html files, where <n> is a number. See Multiple profile files created for additional information.

Removing the "read-only" attribute or unlocking the file will again allow the bookmarks to be updated (bug 157152). To do so on Windows systems:

  1. Navigate to the profile folder
  2. Find bookmarks.html and (if it exists) bookmarks.html.moztmp
  3. Right-click on the file, choose Properties
  4. On the General tab, make sure "Read only" is not checked.
  5. Press OK.

Note: Starting in Firefox 3, bookmarks are stored in the places.sqlite file.

Corrupt bookmarks file

Firefox 3: Starting in Firefox 3, bookmarks and browsing history are stored in the "places.sqlite" file. If there is a problem with this file, it can cause bookmark changes to be lost when restarting the browser. If restoring a bookmark backup from within Firefox 3 doesn't help, you can fix this problem as follows: [1]

  1. Export your bookmarks to an HTML file named "bookmarks.html" and place it in the Firefox profile folder.
    • To export your bookmarks in Firefox 3, go to "Bookmarks -> Organize Bookmarks -> Import and Backup -> Export HTML".
  2. Close Firefox completely
  3. Open the Firefox profile folder and delete the "places.sqlite" file
  4. It is probably also a good idea to delete localstore.rdf to remove the references to the old places file.
  5. Open the bookmarkbackups folder and move away all the .json backups to another location.

When you restart Firefox 3, it will import the bookmarks from "bookmarks.html" in the profile folder on the next start (If the bookmarks are not imported, use about:config to reset all of the browser.places preferences, then repeat the process.)

Mozilla Suite, SeaMonkey and Firefox 2 or below: In case your bookmarks file is corrupt, you can replace it with a backup copy. See Lost bookmarks - Replacing bookmarks with a backup file.

Add Bookmark dialog not working - Firefox

Corrupt localstore.rdf

A corrupt localstore.rdf file in your profile folder can cause this problem. To fix it, see this article.

Bookmark Duplicate Detector

The Bookmark Duplicate Detector extension may cause the Add Bookmark dialog to fail [2]. If updating the extension doesn't help you should uninstall it.

See also