搜尋 Mozilla 技術支援網站

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

了解更多

Sync Unknown Error: forms failed: ReferenceError: dbConnection is not defined

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 guigs

more options

I have never had success with Firefox sync and it's getting really frustrating. The sync log appears to fail at this line:

Sync.ErrorHandler DEBUG forms failed: ReferenceError: dbConnection is not defined (resource://gre/modules/FormHistory.jsm:407:4) JS Stack trace: dbCreateAsyncStatement@FormHistory.jsm:407:5 < makeSearchStatement@FormHistory.jsm:274:10 < formHistorySearch@FormHistory.jsm:781:16 < FormWrapper._searchSpinningly@forms.js:51:5 < FormStore.prototype.getAllIDs@forms.js:149:19 < SyncEngine.prototype._syncStartup@engines.js:919:22 < SyncEngine.prototype._sync@engines.js:1518:7 < WrappedNotify@util.js:148:21 < Engine.prototype.sync@engines.js:668:5 < _syncEngine@enginesync.js:199:7 < sync@enginesync.js:149:15 < onNotify@service.js:1295:7 < WrappedNotify@util.js:148:21 < WrappedLock@util.js:103:16 < _lockedSync@service.js:1285:12 < sync/<@service.js:1277:14 < WrappedCatch@util.js:77:16 < sync@service.js:1265:5

any ideas how to fix?

Thanks.

I have never had success with Firefox sync and it's getting really frustrating. The sync log appears to fail at this line: Sync.ErrorHandler DEBUG forms failed: ReferenceError: dbConnection is not defined (resource://gre/modules/FormHistory.jsm:407:4) JS Stack trace: dbCreateAsyncStatement@FormHistory.jsm:407:5 < makeSearchStatement@FormHistory.jsm:274:10 < formHistorySearch@FormHistory.jsm:781:16 < FormWrapper._searchSpinningly@forms.js:51:5 < FormStore.prototype.getAllIDs@forms.js:149:19 < SyncEngine.prototype._syncStartup@engines.js:919:22 < SyncEngine.prototype._sync@engines.js:1518:7 < WrappedNotify@util.js:148:21 < Engine.prototype.sync@engines.js:668:5 < _syncEngine@enginesync.js:199:7 < sync@enginesync.js:149:15 < onNotify@service.js:1295:7 < WrappedNotify@util.js:148:21 < WrappedLock@util.js:103:16 < _lockedSync@service.js:1285:12 < sync/<@service.js:1277:14 < WrappedCatch@util.js:77:16 < sync@service.js:1265:5 any ideas how to fix? Thanks.

被選擇的解決方法

Hi deeptii, Thank you for reporting this issue. This is an issue that we saw in a Nightly version and has been fixed. What the error means is that the database is not accessible on the local computer's Firefox profile folder.

In order to check the permissions on the Firefox profile folder you can go to:

  1. Open a new window in Firefox and click on the Firefox Menu.
  2. Click on the question mark at the bottom of the menu
  3. Next click on the 'Troubleshooting' information and a new tab should load called about:support
  4. From here there is a button next to "Profile Folder", this will open up the directory where the profile folder is. If its not showing: Profiles - Where Firefox stores your bookmarks, passwords and other user data
  5. Right click on the folder and click "Properties". From this menu make sure that it is not set to "Read Only" (This may be a bit different in Windows 10 please search the Microsoft help if this is no longer in this menu)
  6. Restart Firefox, does the error come up again?

The other work around is to delete this folder in the profile: formhistory.sqlite (This file contains form filled content, simply removing it from the directory will create a new profile as well when you restart Firefox, if there is a concern for dataloss )

Please also post back with these results as well as please copy the information that appears in the about:support page.

Thank you!

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

Hi deeptii, Thank you for reporting this issue. This is an issue that we saw in a Nightly version and has been fixed. What the error means is that the database is not accessible on the local computer's Firefox profile folder.

In order to check the permissions on the Firefox profile folder you can go to:

  1. Open a new window in Firefox and click on the Firefox Menu.
  2. Click on the question mark at the bottom of the menu
  3. Next click on the 'Troubleshooting' information and a new tab should load called about:support
  4. From here there is a button next to "Profile Folder", this will open up the directory where the profile folder is. If its not showing: Profiles - Where Firefox stores your bookmarks, passwords and other user data
  5. Right click on the folder and click "Properties". From this menu make sure that it is not set to "Read Only" (This may be a bit different in Windows 10 please search the Microsoft help if this is no longer in this menu)
  6. Restart Firefox, does the error come up again?

The other work around is to delete this folder in the profile: formhistory.sqlite (This file contains form filled content, simply removing it from the directory will create a new profile as well when you restart Firefox, if there is a concern for dataloss )

Please also post back with these results as well as please copy the information that appears in the about:support page.

Thank you!