為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Corrupt History File

  • 1 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 cor-el

more options

I saw this problem addressed, but not sure how to proceed. Apparently I have a corrupt History file? Going to History, Clear Recent History doesn't work. I can go to Settings, Privacy and then Manage my Data to delete the recent pages (I usually delete all but 2 or 3).

But clearing my history is much faster than individually selecting each one. How do I get the History option to work? I'm using Firefox 97.

I saw this problem addressed, but not sure how to proceed. Apparently I have a corrupt History file? Going to History, Clear Recent History doesn't work. I can go to Settings, Privacy and then Manage my Data to delete the recent pages (I usually delete all but 2 or 3). But clearing my history is much faster than individually selecting each one. How do I get the History option to work? I'm using Firefox 97.

所有回覆 (1)

more options

Make sure you do not run Firefox in permanent Private Browsing mode (Always use Private Browsing mode; Never Remember History).

  • Settings -> Privacy & Security
    Firefox will: "Use custom settings for history"
  • remove checkmark: [ ] "Always use Private Browsing mode"

If you use Sync then best is to disconnect Sync temporarily during troubleshooting.

This could be a problem with the places.sqlite and favicons.sqlite files in the Firefox profile folder.

  • use the "Places Database" -> "Verify Integrity" button on the "Help -> More Troubleshooting Information" (about:support) page

If errors are reported with "Verify Integrity", close and restart Firefox or reboot and retry.

If "Verify Integrity" cannot repair places.sqlite, rename/remove all places.sqlite and favicons.sqlite files in the Firefox profile folder with Firefox closed. Firefox will rebuild places.sqlite and restore the bookmarks from the most recent JSON backup in the bookmarkbackups folder.

  • keep a backup copy of places.sqlite in case a new places.sqlite database has to be created
  • you lose the history when a new places.sqlite is created

You may have to restore an older bookmarks backup in the bookmarkbackups folder via the Bookmarks Manager (Library).

See also:

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).